Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
I'm using debian on my linuxcomputer. By executing 'w' I see that my load is too high. My question is: how can I check which process is causing this high load? 'Ps aux' doesn't help me much, not 'netstat -a' either.
Hmm, I wonder how the load is counted? I have followed 'top' for a while. The load is often around 0,50. But I can't see any process that should cause this. Sometimes I can see that for instance apache or spamassassin cause high CPU-% but that's only for a second. Everything else seem to be quiet, except for mysql with a mem-% of 3,6.
Top is a useful tool for checking loads. But unless you've got processes you can't identify, if you're getting a load of 0.50 don't worry about it, that's a very low load.
The load average is calculated as a function of processes waiting for the CPU. I've seen sendmail stop sending mail when it gets to around 12.0 (iirc) but when the load reduced it started sending again. I have no idea how high a load can go before the whole system grinds to a halt though...
Ya right , load average of around 0.50 should not be very high .We can check it with the 'top' command .But u need to identify the processes with the high CPU usage . Get their PIDS and run the command 'cat /proc/pid-number/cmdline' and you will see the name of the process that is consuming high CPU usage ...
How about system monitor in GNOME, will that not tell you the same thing; also allows you to kill apps that are hanging??? Just asking because I use that with "top".
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.