DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Im sorta wondering about controling processes. After having my CPU running for a while and running a few programs, gkrellm tells me my processor is on a 99% load, when it should be at 10% tops. I want to know if there is a way to tell which process is abusing my poor CPU, so i can localize the problem and get my CPU power back. I can tell my computers lagging when it shouldn't.
Specs that might be of interest:
amd xp 2600+ running at 2ghz (barely an OC i know :P )
512 mb ram
500 mb swap
7200 rpm 120 gb hdd
i have started to notice this problem more or less after running aMule, though it might not be related...
In the first column of the 'top' screen you see a PID number (process id). You can kill a process by using the command "kill -9 [processid]. So if your proces has ID number 1012: "kill -9 1012".
Another nice command is 'ps' which lists the processes running on your system. I normally use the command "ps -Af" (which lists all the processes running on your system).
I forgot to tell you that if the proces is a daemon, you can stop it with the command "/etc/init.d/[daemon-name] stop". Actually this way you can start/stop/restart daemons.
I sometimes have problems with the FAM daemon (it eats 99% of my cpu), so I restart it with "/etc/init.d/fam restart".
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.