#top
#ps -aufx | grep nobody
#ps -aufx | grep pkgacct
#ps -aufx | grep mysql
====================
YOU CAN KILL NOBODY PROCESSESS
#kill -9 pid
#kill -9 $(pgrep -u nobody)
#kill -9 `ps -u nobody -o "pid="`
#/etc/init.d/restart httpd
======================
EXIM
to delete frozen mails
#exim -bpr | grep frozen | awk {'print $3'} | xargs exim -Mrm
=====================
MYSQL:
To kill mysql process found in mysqladmin processlist
#mysqladmin kill process id
====================
How to Monitor the services that is using up most of the cpu and memory on a server.
#ps auxfw|sort -nr|grep -v 0.0
Go_GrEen^ThiNk_GReeN~LoVE_GreEn - Pushkar
Go_GrEen^ThiNk_GReeN~LoVE_GreEn - Pushkar
No comments:
Post a Comment