BB Unix Network Monitor - Message
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: {bb} about bb-proctab, etc
- To: <bb@bb4.com>
- Subject: RE: {bb} about bb-proctab, etc
- From: "Wu, Hai" <hxwu@tribune.com>
- Date: Sat, 16 Dec 2006 08:02:43 -0600
- Content-class: urn:content-classes:message
- Content-transfer-encoding: 8bit
- Content-type: text/plain; charset="US-ASCII"
- Reply-to: bb@bb4.com
- Sender: owner-bb@bb4.com
- Thread-index: Accgr3FJt/iTs5AuRb+GA1QC2IuW5gAa138A
- Thread-topic: {bb} about bb-proctab, etc
Thanks Phil, this is working now.
Thanks,
Hai
-----Original Message-----
From: Philip Clark [mailto:bblist@cannae.uklinux.net]
Sent: Friday, December 15, 2006 6:59 PM
To: bb@bb4.com
Subject: Re: {bb} about bb-proctab, etc
On Fri, 2006-12-01 at 15:02 -0600, Wu, Hai wrote:
> Hi,
> I want to monitor a process named "WOE", but after putting
'bb-proctab'
> file the following line:
> : : WOE
>
> It counts another process line as one WOE process:
> That process line, its 'ps -ef' output has /WSM/WOEConfig pattern in
the
> outptut.
>
> How to exclude this process from being counted as one WOE process?
The client test for processes uses "grep" to identify the ones that
you are interested in. As a result, you can use regular expression
syntax in your rules to be more specific (with a few restrictions).
If, for example, the process WOE that you want to check always occurs
at the end of the line (as would be the case if it is not called with
other arguments), you could "tie" the match to the end of the line
using the dollar symbol. This needs to be preceded by a back-slash
"escape" character, to prevent the shell from trying to interpret it,
giving:
: : WOE\$
Cheers, Phil.
--
I've never wished a man to meet his maker before his time.
But, there are a few obituaries that I've read with approval.
(Leslie Nielsen)
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
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.
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
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