one user using all the server resources

champrock

New member
Joined
Feb 14, 2007
Messages
1
hi

i have a server running directadmin.. my problem is that one of my user is using up all the resources of the server

please tell me how can i track him and monitor the server load that is being used by him so that i can suspend his account..?? because i have had a lot of server crashes because of that

any help would be appreciated
 
please tell me how can i track him and monitor the server load that is being used by him so that i can suspend his account..??
You can use the simplest Linux command:
top -c
will show all the processes running on your server.

ps aux | head -1; ps aux | sort -rn +2 | head -10
will show top CPU consuming processes

ps aux | head -1; ps aux | sort -rn +3 | head
will show Memory consuming processes
 
i usually enable ExtendedStatus On on httpd.conf and do a print screen on http://ip-address/httpd-status. if the client use all the resources in http, then alot of his/her domain is show on the list. Just do a print screen and send to your client.
 
hi

i have a server running directadmin.. my problem is that one of my user is using up all the resources of the server

please tell me how can i track him and monitor the server load that is being used by him so that i can suspend his account..?? because i have had a lot of server crashes because of that

any help would be appreciated

This is why it pays not to use unlimited account features and to set reasonable limitations.

thanks dannygoh for posting about http-status, I will be doing this later :D

EDIT: just got the status stuff enabled mmm next question is how to add a bit of protection onto this so everyone cannot see this cause you dont even have to go to serverip.com/httpd-status you can go to domain.com/http-status too.

just wondered how to lock this kinda thing down a bit so only the company have access i guess .htaccess file some where?
 
Last edited:
Back
Top