how to check for the process owner using check_procs2

Hari Sekhon hpsekhon at googlemail.com
Tue Feb 27 16:33:24 CET 2007


what exactly do you want? To make sure there are only x number of 
processes running under that user account, or for all user accounts or what?

more details needed.

-h

Hari Sekhon



Masoud Tabrizi wrote:
>
> 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
>
>  
>
>  
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> 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
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20070227/7708d5b0/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