BB Unix Network Monitor - Message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: {bb} Check for number of procs



No need for an external script, that functionality is available in
BB. You only need to set-up a bb-proctab file.

Cheers, Phil.



On Tue, 2005-07-26 at 22:34, Kimberly McKinnis wrote:
> Has anyone written a script to check for *how many* of a particular proc
> is running? For instance, currently my proc check in bbdef-client.sh
> looks for vnc and vmware. It tells me there are 7 processes of vmware
> running. I want to make sure no less than 7 procs are running, because
> it means one of the vmx's failed. 
> 
> A normal person could check for the individual names of the vmx
> directories on each machine, but these machines are netbooted, and they
> share a Big Brother config from their mounted boot server, so I have to
> keep it generic. 
> 
> Deadcat only has a version for NT. I'm running Bb 1.9e-btf and bbgen 3.5
> on Linux.
> Thought I'd ask before I try to re-invent the wheel. 



-- 
Alliance, n.: In international politics, the union of two thieves who
have
their hands so deeply inserted in each other's pocket that they cannot
separately plunder a third. (Ambrose Bierce, "The Devil's Dictionary")

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.


Home | Main Index | Thread Index