Use below mentioned command to get top memory consuming processes" |
ps aux | head -1;ps aux --no-headers| sort -rn +3 | head |
Use below command to get top cpu consuming processes: |
ps aux | head -1;ps aux --no-headers | sort -rn +2 |more |
More Technical Help
Showing posts with label Linux Commands. Show all posts
Showing posts with label Linux Commands. Show all posts
Sunday, May 8, 2011
Track Top memory and CPU consuming process
Labels:
CPU,
Linux Commands,
Linux Tips,
Memory,
Server Tweaks
Thursday, February 3, 2011
How to check mass mailing with php script
With the help of below command you can check if anybody is doing mass mailing with php script on the exim mail server :
cd /var/spool/exim/input |
egrep "X-PHP-Script" * -R |
Labels:
cPanel-Exim,
Linux Commands
Monday, January 31, 2011
Apache connections
Below command will display the no of connections form a certain ip
netstat -ntu | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort –n
If the server is overloaded then its a very useful command to check if httpd causing the load.
Labels:
Linux Commands
Subscribe to:
Posts (Atom)