BB Unix Network Monitor - Message

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

{bb} bb-disk.sh modified



Hi, 

I modified the bb-disk.sh (from bbclient 1.9e) so it works with long
device names : 
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/mapper/Volume00-LogVol00
                       1032088    759520    220140  78% /
/dev/hda1               253775      6447    234226   3% /boot
/dev/mapper/Volume01-LogVol02
                       3023760    220308   2649852   8% /data
none                    127916         0    127916   0% /dev/shm
/dev/mapper/Volume01-LogVol00
                       1032088    972320      7340 100% /home
/dev/mapper/Volume01-LogVol03
                       1935192    556144   1280744  31% /log
/dev/mapper/Volume00-LogVol03
                       2967320     45464   2771124   2% /tmp
/dev/mapper/Volume00-LogVol02
                       4031680   3183876    643004  84% /usr
/dev/mapper/Volume00-LogVol01
                       1032088    198864    780796  21% /usr/local
/dev/mapper/Volume01-LogVol01
                       2064208    250512   1708840  13% /var


The original bb-disk.sh greps only the /dev lines, so you don't have any
info 
on the /dev/mapper devices. 

If some are interested, I can post the modified script on deadcat.net. 

(I can also try to patch the bb-disk.sh.gz available at deadcat.net). 

Nicolas Figaro 



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