BB Unix Network Monitor - Message

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

{bb} Adding directive in bb-swap.sh for NetBSD users



Brothers,

Here you find some lines which you can add into the bb-swap.sh script for
the sake of NetBSD users.
To make it work, add these lines:
=========================== 8< SNIP==========================
  NetBSD) # For NetBSD
  avail=`/usr/sbin/pstat -s | cut -dk -f4 | awk '{ print $5 }'`
  SWAPPCT=`echo $avail | cut -c1`
  ;;
=========================== 8< SNAP==========================

below the ;; of the AIX lines and before the "esac"

And Voila: you find your swap percentage back again on the BBDISPLAY

Have fun!

Bas van Weelde
on-site-specialist
Getronics, The Netherlands

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