Is there any way to find out sometimes when the server load is high, what process and what activity cause that ? I have a shared webserver and mailserver (HTTP, DNS, SMTP, IMAP, POP, FTP,...) and sometimes the load is very high. 25-50 or more. How can I find out what cause that, and what can I do to give normal performance continuously ?

link|improve this question

60% accept rate
feedback

1 Answer

Use the command "top" or install htop to see what processes are eating the most of the system's capacity. I could also go into tools like sysstat (iostat / vmstat / etc.) but using top would be the first thing I'd try.
Since it is a shared server, are you able to control all processes of all users and applications?

link|improve this answer
Yes, I know that commands, but they can't provide information what cause the load, and why. I can's see the output of the top all day, systat seems better, but even if I know the load is high, they don't record which process cause the load at that time. A process based statistics could be help, but as I see, this utilities can't do that. – Jonnyuser Jun 24 '11 at 6:15
Answer with the wrong user. It was me. – Glendyr Jun 24 '11 at 6:23
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.