[foxboro] FBM information

Hi list,

I've put up a little shell script on the Cassandra site which can be 
used to query a CP for information about its FBMs. The output consists 
of all things one can read from the "Equip Info" page in the System 
Monitor, but without the thousands of mouse clicks.

The file is getfbm.sh

    http://www.thecassandraproject.org/archive/getfbm.sh

and it's pretty much self-explanatory. To run, log in to a shell 
session, su to root, cd to the directory where you keep your favorite 
tools and run:

    ./getfbm.sh <CPlbug>

To do a system-wide query, something like this might work (assuming 
root is running csh, and assuming you know what you're getting into):

    cp /dev/null /var/tmp/fbminfo
    foreach cp (`cat /etc/cplns`)
    ./getfbm.sh -n $cp >> /var/tmp/fbminfo
    sleep 5
    end

A sample output is included at the web site:

    http://www.thecassandraproject.org/archive/getfbm.output.txt

Disclaimer: This script works for my installed base (of over 1700 
FBMs), but there are scores and scores of FBMs in use that I know 
nothing about. There's no guarantee that it'll work for you. Revise the 
script as needed to make it work for you, and if you think others can 
benefit from your hack, please send your revision to me. Thanks!

Many thanks to my beta-testers. You know who you are. ;-)

Duc

 
 
_______________________________________________________________________
This mailing list is neither sponsored nor endorsed by Invensys Process
Systems (formerly The Foxboro Company). Use the info you obtain here at
your own risks. Read http://www.thecassandraproject.org/disclaimer.html
 
foxboro mailing list:             http://www.freelists.org/list/foxboro
to subscribe:         mailto:foxboro-request@xxxxxxxxxxxxx?subject=join
to unsubscribe:      mailto:foxboro-request@xxxxxxxxxxxxx?subject=leave
 

Other related posts: