I desperatley need to monitor free space on my filesystems. Aside from an external app does anyone know any quick way (a script etc...) that I can use to do so??
Try the good old bdf with a little bit of awk and then add some mail stuff, put in cron and it's done.<br>If you want have more have a look at <A HREF="
i have been attempting this myself and <br><br>my awk statement does not see the 90 as a 90.<br><br>90 > 95 is true ?????<br><br>do i need to convert the 90 to an interger or something?<br><br>mikeb
try this, hp-ux 11.00<br><br>#! /bin/sh<br><br># audit of disk space and mail to sys admins if over 90% full<br>bdf ¦ grep -iv filesystem ¦ awk '{ print $6
This is a ksh which we run every 15 minutes, it uses a control file, making it more flexible. It runs out of a nfs mounted file and keeps an eye on 9 HP_UX boxes.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.