You are here: LifeKeeper > User Guide > Using LifeKeeper > Viewing LifeKeeper Processes

Viewing LifeKeeper Processes

To see a list of all LifeKeeper core daemon processes currently running, type the following command:

ps -ef | grep LifeKeeper | grep -w bin | grep -v lklogmsg

An example of the output is provided below:

root 11663 11662 0 14:03 pts/0 00:00:00 /bin/bash /etc/redhat-lsb/lsb_start_daemon /opt/LifeKeeper/sbin/runsvdir -P /opt/LifeKeeper/etc/service log: runit just started....................................................................................................................................................................

root 11666 11663 0 14:03 pts/0 00:00:00 /bin/bash -c ulimit -S -c 0 >/dev/null 2> &1 ; /opt/LifeKeeper/sbin/runsvdir -P /opt/LifeKeeper/etc/service log: runit just started.................................................................................................................................................................

root 11880 11873 0 14:03 ? 00:00:00 /opt/LifeKeeper/bin/lk_logmgr -l/opt/LifeKeeper/out -d/etc/default/LifeKeeper

root 12240 11877 0 14:04 ? 00:00:00 /opt/LifeKeeper/bin/lcm

root 12247 11879 0 14:04 ? 00:00:00 /opt/LifeKeeper/bin/ttymonlcm

root 12250 11876 0 14:04 ? 00:00:00 /opt/LifeKeeper/bin/lcd

root 12307 11874 0 14:04 ? 00:00:00 /opt/LifeKeeper/bin/lkcheck

root 12311 11875 0 14:04 ? 00:00:00 /opt/LifeKeeper/bin/lkscsid

root 12325 11871 0 14:04 ? 00:00:00 /opt/LifeKeeper/bin/lkvmhad

root 12335 12330 0 14:04 ? 00:00:00 /opt/LifeKeeper/bin/perl /opt/LifeKeeper/htdoc/cgi-bin/DoRequest.fcgi

The run state of LifeKeeper can be determined via the following command:

/opt/LifeKeeper/bin/lktest

If LifeKeeper is running it will output something similar to the following:

F S UID PID PPID C CLS PRI NI SZ STIME TIME CMD

4 S root 12240 11877 0 TS 39 -20 6209 14:04 00:00:00 lcm

4 S root 12247 11879 0 TS 39 -20 30643 14:04 00:00:00 ttymonlcm

4 S root 12250 11876 0 TS 29 -10 9575 14:04 00:00:00 lcd

If LifeKeeper is not running, then nothing is output and the command exists with a 1.

Note: There are additional LifeKeeper processes running that start, stop, and monitor the LifeKeeper core daemon processed along with those required for the Graphical User Interface (GUI). See Viewing LifeKeeper Controlling Processes and Viewing LifeKeeper GUI Server Processes for a list of the processes. Additionally, most LifeKeeper processes have a child lklogmsg to capture and log any unexpected output.

of

© 2017 SIOS Technology Corp., the industry's leading provider of business continuity solutions, data replication for continuous data protection.