disk graphs on Solaris 8/9/10
Hi,
On Solaris 10, the pseudo file systems /system/contract /devices /system/object /etc/svc/volatile and /var/run should not be reported.
On Solaris 8/9 /var/run should not be reported.
Example on Solaris 10:
Fri Jun 16 07:52:44 CEST 2006 - Filesystems OK
Filesystem kbytes used avail capacity Mounted on ctfs 0 0 0 0% /system/contract /devices 0 0 0 0% /devices objfs 0 0 0 0% /system/object swap 23644256 1040 23643216 1% /etc/svc/volatile swap 5242880 11240 5231640 1% /tmp swap 23643272 72 23643200 1% /var/run /dev/md/dsk/d0 35308580 11939445 23016050 35% / /dev/md/dsk/d2 25206312 1727618 23226631 7% /var /dev/md/dsk/d3 7282373 7185 7202365 1% /tmp1 /dev/md/dsk/d4 14565203 14353 14405198 1% /tmp2 /dev/md/dsk/d7 36413253 7090506 28958615 20% /sib /dev/md/dsk/d6 145653503 107681408 36515560 75% /chuv /dev/md/dsk/d5 29130423 28689 28810430 1% /tmp3 /dev/md/dsk/d8 78028482 46767155 30481043 61% /users
The [df] command in hobbitclient-sunos.sh could be replaced by:
df -kl | egrep "^Filesystem|^/dev/|^swap" | egrep -v "/var/run|volatile|cdrom"
This has been tested on Solaris 8/9/10.
Dominique UNIL - University of Lausanne
participants (1)
-
Dominique.Friseļ¼ unil.ch