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.

My web server (Plesk on CentOS) is having a major spike today in CPU and RAM usage and I'm trying to figure out which of my sites is responsible (if any). I don't have realtime web analytics, and even if I did, I've found that they're useless for identifying hotlinked graphics and the like.

The only thing I can come up with is looking at the access and error logs to see which of them is getting the most writes-per-minute, but I've got over 40 sites and I don't want to have to open a 'tail -f' command in 40 different terminal windows.

Is there an application or shell script out there, or can someone suggest some simple code I can use, that monitors all the access and error logs across all my domains, and like the 'top' command, keeps a running, sorted list of those getting the most writes-per-minute?

Thanks.

share|improve this question
    
You can tail -f multiple files at once, on the same screen. –  Michael Hampton Dec 4 '12 at 20:45
    
Doesn't Plesk come with Webalizer? –  Mathias R. Jessen Nov 14 '13 at 0:23

1 Answer 1

To monitor domain usues Domain hunter,Domain Punch

To monitor sites

UptimeRobot,Pingdom ,Mon.itor.us ,BasicState ,100Pulse

share|improve this answer

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.