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
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
Sekhon [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 27, 2007 10:33 AM
To: Masoud Tabrizi
Cc: Nagios Users mailinglist
Subject: Re: [Nagios-users] how to check for the process owner using
check_procs2
what exactly do you want? To make sure there are only x number of processes
running under
mailinglist
*Subject:* Re: [Nagios-users] how to check for the process owner using
check_procs2
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