Sunday, May 26, 2013

Are all services running that should be running?

For redhat variants of Linux (that user "service" scripts and the "chkconfig" program to activate/deactivate services per run-level)...

If you want to cross-check that all services which should be running actually are running... run the following:

for i in `chkconfig --list|grep 3:on|awk '{print $1}'`; do echo _________ $i _______; service $i status; done

No comments:

Post a Comment