BB Unix Network Monitor - Message
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: {bb} bbrm command format
In <cc9330a504110412375dc7ef2b@mail.gmail.com> Bill Matthews <bill.matthews@gmail.com> writes:
>Hello, time for my next newbie question.
>I just changed a test name (from conn to Conn). The old entries for
>conn are still showing up on my displays. I assume I need to use bbrm
>to remove the old entries.
>How do I run bbrm for all host for a particular service?
Some scripting will be needed. Since you have bbgen, I'd say
do this:
BBHOME=/usr/local/bb (or wherever BB is)
export BBHOME
. $BBHOME/etc/bbdef.sh
$BBHOME/bin/bbhostshow | grep "^[0-9]"|awk '{print $2}'|
while read HOSTNAME
do
$BBHOME/bin/bbrm $HOSTNAME conn
done
A more "brute-force" approach would go like this:
rm -f bbvar/logs/*.conn
rm -f bbvar/hist/*.conn
rm -rf bbvar/histlogs/*/conn/
Henrik
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
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