Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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 ?

share|improve this question
add comment

1 Answer 1

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?

share|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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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