Running service check

If you need to find out if a certain process is running use the following command:


ps ax | grep process_name


E.g. you want to know if Nagios is running.

 

ps ax | grep nagios
30500 ? SNsl 0:11 /usr/sbin/nagios3 -d /etc/nagios3/nagios.cfg


As you can see, Nagios is running under PID (Proces ID) 30500.

 

CONTACT

NET service solution, s.r.o.
Žerotínova 3056/81a
787 01 Šumperk
Czech Republic