Operating System - HP-UX
1751712 Members
5539 Online
108781 Solutions
New Discussion

Re: Monitoring disk space usage

 
SOLVED
Go to solution
Arturo Galbiati
Esteemed Contributor

Re: Monitoring disk space usage

Hi


bdf|awk -v PCT=90 'NR==1||substr($5,1,index($5,"%")-1)+0>=PCT'|mailx -s "Mountpoint over PCT" yourmailaddress

This will sent you by email all mount point over the PCT (in this case 90%).

HTH,
Art
Deepak.R
Frequent Advisor

Re: Monitoring disk space usage

Hi ,

Paul`s suggestion looks good,

make use of bdf output and write a script which will mail you alerts.

also you can monitor inides usage by bdf -i

thanks
deepak