<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Monitoring disk space usage in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-disk-space-usage/m-p/3736290#M255359</link>
    <description>here is a script we run via cron.&lt;BR /&gt;If the disk usage is above 89% I get paged.&lt;BR /&gt;Could easily be change to send email to me&lt;BR /&gt;just change techpgr@domain.com to mylogin@domain.com&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;#!/usr/bin/ksh&lt;BR /&gt;/usr/bin/bdf -l | grep -iv filesystem |&lt;BR /&gt;awk '{if (NF!=1){if (NF==5){print $4"\t" $5"\t"}&lt;BR /&gt;else{print $5"\t\t" $6"\t"}}}' |&lt;BR /&gt;sed 's/'%'/''/' &amp;gt; /tmp/bdf_info&lt;BR /&gt;#&lt;BR /&gt;function check {&lt;BR /&gt;while read percent dir&lt;BR /&gt;  do&lt;BR /&gt;    if [[ $percent -ge 89 ]] ; then&lt;BR /&gt;        echo "File system full-`hostname`:$dir is at $percent%" | /usr/bin/mailx -s "Server disks" t&lt;BR /&gt;echpgr@domain.com&lt;BR /&gt;    fi&lt;BR /&gt;done&lt;BR /&gt;} &amp;lt; /tmp/bdf_info&lt;BR /&gt;&lt;BR /&gt;check&lt;BR /&gt;rm /tmp/bdf_info</description>
    <pubDate>Tue, 21 Feb 2006 17:30:49 GMT</pubDate>
    <dc:creator>Paul Sperry</dc:creator>
    <dc:date>2006-02-21T17:30:49Z</dc:date>
    <item>
      <title>Monitoring disk space usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-disk-space-usage/m-p/3736281#M255350</link>
      <description>Hi, I am new to HP-UX.  Is there a way to monitor the disk usage.  When the free disk space is below certain level, send us an email alert. Thank you for answers.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 21 Feb 2006 13:48:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-disk-space-usage/m-p/3736281#M255350</guid>
      <dc:creator>B. Jen</dc:creator>
      <dc:date>2006-02-21T13:48:16Z</dc:date>
    </item>
    <item>
      <title>Re: Monitoring disk space usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-disk-space-usage/m-p/3736282#M255351</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;start with&lt;BR /&gt;&lt;BR /&gt;# bdf&lt;BR /&gt;&lt;BR /&gt;# du -akx | sort -n&lt;BR /&gt;</description>
      <pubDate>Tue, 21 Feb 2006 13:51:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-disk-space-usage/m-p/3736282#M255351</guid>
      <dc:creator>paolo barila</dc:creator>
      <dc:date>2006-02-21T13:51:58Z</dc:date>
    </item>
    <item>
      <title>Re: Monitoring disk space usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-disk-space-usage/m-p/3736283#M255352</link>
      <description>You can try this:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://directory.fsf.org/diskfree.html" target="_blank"&gt;http://directory.fsf.org/diskfree.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Or create a shell script based on bdf.</description>
      <pubDate>Tue, 21 Feb 2006 13:53:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-disk-space-usage/m-p/3736283#M255352</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2006-02-21T13:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: Monitoring disk space usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-disk-space-usage/m-p/3736284#M255353</link>
      <description>Bernard --&lt;BR /&gt;&lt;BR /&gt;There are several HP products that will do monitoring and send you email.&lt;BR /&gt;&lt;BR /&gt;EMS is one.&lt;BR /&gt;&lt;BR /&gt;You can find out more information about it here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B8678BA:B7612-90009" target="_blank"&gt;http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=B8678BA:B7612-90009&lt;/A&gt;</description>
      <pubDate>Tue, 21 Feb 2006 14:23:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-disk-space-usage/m-p/3736284#M255353</guid>
      <dc:creator>Kent Ostby</dc:creator>
      <dc:date>2006-02-21T14:23:50Z</dc:date>
    </item>
    <item>
      <title>Re: Monitoring disk space usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-disk-space-usage/m-p/3736285#M255354</link>
      <description>Run this:&lt;BR /&gt;&lt;BR /&gt;/etc/opt/resmon/lbin/monconfig&lt;BR /&gt;&lt;BR /&gt;and you can setup monitoring that will e-mail the results.  You can setup a mail alias in /etc/mail/aliases to point to an external mail address, provided you have sendmail or something similar running point to a pop3 mail server.&lt;BR /&gt;&lt;BR /&gt;mark</description>
      <pubDate>Tue, 21 Feb 2006 14:49:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-disk-space-usage/m-p/3736285#M255354</guid>
      <dc:creator>Mark Greene_1</dc:creator>
      <dc:date>2006-02-21T14:49:28Z</dc:date>
    </item>
    <item>
      <title>Re: Monitoring disk space usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-disk-space-usage/m-p/3736286#M255355</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;bdf, df, du are most of the commands which can help you to monitor the file stems manually. How ever you can make use of EMS to report the statistics. &lt;BR /&gt;&lt;BR /&gt;And also there are many freewares available in net like "Big Brother" which helps you to give graphical display alerts. Better try it, it's good tool&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Sunil&lt;BR /&gt;</description>
      <pubDate>Tue, 21 Feb 2006 16:13:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-disk-space-usage/m-p/3736286#M255355</guid>
      <dc:creator>Sยภเl Kย๓คг</dc:creator>
      <dc:date>2006-02-21T16:13:28Z</dc:date>
    </item>
    <item>
      <title>Re: Monitoring disk space usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-disk-space-usage/m-p/3736287#M255356</link>
      <description>If you can't afford OVO - then Big Brother may be for you (we use as a backup to OVO):&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.bb4.org/" target="_blank"&gt;http://www.bb4.org/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Tue, 21 Feb 2006 16:27:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-disk-space-usage/m-p/3736287#M255356</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2006-02-21T16:27:17Z</dc:date>
    </item>
    <item>
      <title>Re: Monitoring disk space usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-disk-space-usage/m-p/3736288#M255357</link>
      <description>I use the free version of bigbrother to monitor all of my servers disk usage (unix and windows).  It also monitors my oracle and sql servers and many other services.&lt;BR /&gt;you cand download it and check it out more here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://bb4.org" target="_blank"&gt;http://bb4.org&lt;/A&gt;</description>
      <pubDate>Tue, 21 Feb 2006 17:22:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-disk-space-usage/m-p/3736288#M255357</guid>
      <dc:creator>Paul Sperry</dc:creator>
      <dc:date>2006-02-21T17:22:49Z</dc:date>
    </item>
    <item>
      <title>Re: Monitoring disk space usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-disk-space-usage/m-p/3736289#M255358</link>
      <description>I use the free version of bigbrother to monitor all of my servers disk usage (unix and windows).  It also monitors my oracle and sql servers and many other services.&lt;BR /&gt;you can download it and check it out more here:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://bb4.org" target="_blank"&gt;http://bb4.org&lt;/A&gt;</description>
      <pubDate>Tue, 21 Feb 2006 17:24:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-disk-space-usage/m-p/3736289#M255358</guid>
      <dc:creator>Paul Sperry</dc:creator>
      <dc:date>2006-02-21T17:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: Monitoring disk space usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-disk-space-usage/m-p/3736290#M255359</link>
      <description>here is a script we run via cron.&lt;BR /&gt;If the disk usage is above 89% I get paged.&lt;BR /&gt;Could easily be change to send email to me&lt;BR /&gt;just change techpgr@domain.com to mylogin@domain.com&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;#!/usr/bin/ksh&lt;BR /&gt;/usr/bin/bdf -l | grep -iv filesystem |&lt;BR /&gt;awk '{if (NF!=1){if (NF==5){print $4"\t" $5"\t"}&lt;BR /&gt;else{print $5"\t\t" $6"\t"}}}' |&lt;BR /&gt;sed 's/'%'/''/' &amp;gt; /tmp/bdf_info&lt;BR /&gt;#&lt;BR /&gt;function check {&lt;BR /&gt;while read percent dir&lt;BR /&gt;  do&lt;BR /&gt;    if [[ $percent -ge 89 ]] ; then&lt;BR /&gt;        echo "File system full-`hostname`:$dir is at $percent%" | /usr/bin/mailx -s "Server disks" t&lt;BR /&gt;echpgr@domain.com&lt;BR /&gt;    fi&lt;BR /&gt;done&lt;BR /&gt;} &amp;lt; /tmp/bdf_info&lt;BR /&gt;&lt;BR /&gt;check&lt;BR /&gt;rm /tmp/bdf_info</description>
      <pubDate>Tue, 21 Feb 2006 17:30:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-disk-space-usage/m-p/3736290#M255359</guid>
      <dc:creator>Paul Sperry</dc:creator>
      <dc:date>2006-02-21T17:30:49Z</dc:date>
    </item>
    <item>
      <title>Re: Monitoring disk space usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-disk-space-usage/m-p/3736291#M255360</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;bdf|awk -v PCT=90 'NR==1||substr($5,1,index($5,"%")-1)+0&amp;gt;=PCT'|mailx -s "Mountpoint over PCT" yourmailaddress&lt;BR /&gt;&lt;BR /&gt;This will sent you by email all mount point over the PCT (in this case 90%).&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Art&lt;BR /&gt;</description>
      <pubDate>Thu, 23 Feb 2006 05:37:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-disk-space-usage/m-p/3736291#M255360</guid>
      <dc:creator>Arturo Galbiati</dc:creator>
      <dc:date>2006-02-23T05:37:49Z</dc:date>
    </item>
    <item>
      <title>Re: Monitoring disk space usage</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-disk-space-usage/m-p/3736292#M255361</link>
      <description>Hi ,&lt;BR /&gt;&lt;BR /&gt;Paul`s suggestion looks good,&lt;BR /&gt;&lt;BR /&gt;make use of bdf output and write a script which will mail you alerts.&lt;BR /&gt;&lt;BR /&gt;also you can monitor inides usage by bdf -i &lt;BR /&gt;&lt;BR /&gt;thanks&lt;BR /&gt;deepak</description>
      <pubDate>Thu, 23 Feb 2006 06:07:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/monitoring-disk-space-usage/m-p/3736292#M255361</guid>
      <dc:creator>Deepak.R</dc:creator>
      <dc:date>2006-02-23T06:07:01Z</dc:date>
    </item>
  </channel>
</rss>

