What OS are you using? Depending on the OS, you may need to modify how
Hobbit calls "ps". Another way is to write an external Hobbit script (you
could even have it use the data Hobbit is already retrieving, if you make it
a server-side script).
On 3/15/07, Syrup Ari <arisyrup (at) gmail.com> wrote:
>
> Hello,
>
> I would like to know how to monitor a process is running and it is ran
> by a particular user .
>
> ex)
> For the following process I would like to check a) java is running and
> b) it is being ran by irsaprd user .
> irsaprd 8349 8314 0 07:22 ? 00:00:11
> /usr/java/j2sdk1.4.2_08/jre/bin/java -Dprocess=indexEngine
>
>
>
> It can be checked with the following set up with bigb .
>
> # grep indexEngine ~bigb/bb/etc/bb-proctab
> localhost : :"irsaprd .*java -Dprocess=indexEngine;=1"
> #
>
> Does anyone know how to do this with hobbit ?
>
>
>
>