how to check for the process owner using check_procs2

Masoud Tabrizi masoud.tabrizi at gmail.com
Tue Feb 27 16:02:36 CET 2007


I am trying to check for processes that run under a specific user account on
the server; Does anyone know how to do this?

What I want to do would be the equivalent of "ps -ef | grep username | grep
java | wc -l" in the UNIX world

Here is what I am using right now, but it is not enough to identify the user
which owns the process.

 

command[check_procs_test]=/... /check_procs2 java ge 2

 

Any help is greatly appreciated;

Masoud

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20070227/1b94c80a/attachment.html>
-------------- next part --------------
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list