How do I find the PID of a daemon?
We have some third party software running as a daemon on some RedHat servers. I am trying to setup Zenoss alerts to monitor when the daemon is running. For those unfamiliar with Zenoss, I need to write a regular expression to identify the process. The problem is, for this daemon, even though it is running, there isn't a process that shows up in the ps list with the daemon's name.
For example, if my daemon is running at /etc/init.d/thisprocess, I do a 'ps aux | grep -i thisprocess', and I get nothing returned, even though the daemon is running. So my question is, how can I find the PID that the daemon is running under? From there, I can then write my regular expression based on the text next to the PID in the ps listing.
|