BB Unix Network Monitor - Message

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

Re: {bb} who's writing to BB file ?



Thanks for the reply - I ended up finding it in the mkbb.bkg script,
which is called by (at least) mkbb.sh. For some reason, I was
thinking that it was created by an executable, not a script, but
I was mistaken -

John


Liddle, Tom wrote:
A 'find' (find / -name bb) resulted in the following:

/home/bbuser/bb1.9h-btf/bin.redhatES4.0/bb
/home/bbuser/bb1.9h-btf/bin/bb /home/bbuser/bb -> bb1.9h-btf/ /home/bbuser/bbc1.9h-btf/bin.redhatES4.0/bb
/home/bbuser/bbc1.9h-btf/bin/bb /home/bbuser/bb1.9h-btf/www/ /home/bbuser/bb1.9h-btf/www/


I put that in a file called foundbb.txt

Then I ran a: for name in `cat foundbb.txt` ; do ls -al $name ; done

And got this result


-rwxr-xr-x 1 bbuser apache 14388 Dec 7 2005
/home/bbuser/bb1.9h-btf/bin.redhatES4.0/bb
-rwxr-xr-x 1 bbuser apache 14388 Dec 7 2005
/home/bbuser/bb1.9h-btf/bin/bb lrwxrwxrwx 1 bbuser bbuser 11 Dec 7 2005 /home/bbuser/bb ->
bb1.9h-btf/ -rwxr-xr-x 1 root root 14388 Dec 7 2005
/home/bbuser/bbc1.9h-btf/bin.redhatES4.0/bb
-rwxr-xr-x 1 root root 14388 Dec 7 2005
/home/bbuser/bbc1.9h-btf/bin/bb lrwxrwxrwx 1 root root 28 Dec 7 2005 /var/www2/bb ->
/home/bbuser/bb1.9h-btf/www/ lrwxrwxrwx 1 bbuser bbuser 28 Dec 7 2005 /usr/local/apache2/htdocs/bb
-> /home/bbuser/bb1.9h-btf/www/


Hope this helps.
Tom

-----Original Message-----
From: owner-bb@bb4.com [mailto:owner-bb@bb4.com] On Behalf Of John Foley
Sent: Tuesday, January 16, 2007 11:42 AM
To: bb@bb4.com
Subject: {bb} who's writing to BB file ?


OK, I've been looking through the code, but I can't seem to find this....

does anyone know what piece of the server code writes to the file
$BBTMP/BB ? This is the file that lists all the active "alarms". It's
read by some of the web scripts (maybe other scripts, too), but I
can't seem to find who is writing it.

(The name of the file ("BB") makes it a little difficult to find
when grepping through the source files....  :(  )

BTW, I've running an older version of BB (v1.9c), which is before the
server/client split, if that makes a difference...

Thanks much,

John

--



------------------------------------------------------------------------------ John Foley < johnf@comm.mot.com > sent from Windows using Thunderbird

--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
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