bothunbr
2012-04-23 22:02:38 UTC
bothunbr [http://community.zenoss.org/people/bothunbr] created the discussion
"Monitor multiple occurrences of an OS process"
To view the discussion, visit: http://community.zenoss.org/message/66015#66015
--------------------------------------------------------------
Hello everyone,
Does anyone know how to monitor for multiple occurrences of an OS process? I have a java process run 20 instances of the same program. The output of #ps aux looks like:
| 1001 | 17635 0.2 0.6 1406780 314800 pts/3 Sl  12:25  0:43 /opt/jdk1.5.0_14-32/bin/java -cp /opt/java2330/libycprod.jar com.process.ManualUploadListProcessor |
| 1001 | 17639 0.2 0.6 1406780 314800 pts/3 Sl  12:25  0:43 /opt/jdk1.5.0_14-32/bin/java -cp /opt/java2330/libycprod.jar com.process.ManualUploadListProcessor |
| 1001 | 5018 0.0 0.7 1424648 379256 ? Sl  Apr20  3:25 /opt/jdk1.5.0_14-32/bin/java -cp /opt/java2330/libycprod.jar com.process.ManualUploadListProcessor |
|
I want to my check to not only check to see if its running but check to see if 20 of them are running.
Any ideas?
Thanks!
--Brad
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/66015#66015]
Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]
"Monitor multiple occurrences of an OS process"
To view the discussion, visit: http://community.zenoss.org/message/66015#66015
--------------------------------------------------------------
Hello everyone,
Does anyone know how to monitor for multiple occurrences of an OS process? I have a java process run 20 instances of the same program. The output of #ps aux looks like:
| 1001 | 17635 0.2 0.6 1406780 314800 pts/3 Sl  12:25  0:43 /opt/jdk1.5.0_14-32/bin/java -cp /opt/java2330/libycprod.jar com.process.ManualUploadListProcessor |
| 1001 | 17639 0.2 0.6 1406780 314800 pts/3 Sl  12:25  0:43 /opt/jdk1.5.0_14-32/bin/java -cp /opt/java2330/libycprod.jar com.process.ManualUploadListProcessor |
| 1001 | 5018 0.0 0.7 1424648 379256 ? Sl  Apr20  3:25 /opt/jdk1.5.0_14-32/bin/java -cp /opt/java2330/libycprod.jar com.process.ManualUploadListProcessor |
|
I want to my check to not only check to see if its running but check to see if 20 of them are running.
Any ideas?
Thanks!
--Brad
--------------------------------------------------------------
Reply to this message by replying to this email -or- go to the discussion on Zenoss Community
[http://community.zenoss.org/message/66015#66015]
Start a new discussion in zenoss-users by email
[discussions-community-forums-zenoss--***@community.zenoss.org] -or- at Zenoss Community
[http://community.zenoss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2003]