How to know which user/domain is using maximum resources

SoCal

Verified User
Joined
May 13, 2007
Messages
24
Hi,

I am watching a huge load spike on a server with shared hosting clients. It was good last month but some user is exploiting maximum resources this month, How can i catch that user, what are commands to see which user is using maximum resources or other resources, so i may kick it out.

Please letme know all the possibilities to judge this kind of exploiting user, as its affecting all other websites on server to go down for last one month now.
 
install htop and sort by RAM or CPU. If Apache get outs most of your resources then :

There is a tool (topvhost) which shows the real time access of the websites wich are located on your server

or/and

You have to install suphp as this will show you exact which user commits your resources.
 
massive is correct... You have right to suspend that client. You can't allow that a single user affects all users in a shared environment.
 
Back
Top