<?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: Automatic notification file system getting full... in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/automatic-notification-file-system-getting-full/m-p/2523425#M23916</link>
    <description>Hi, try this script:&lt;BR /&gt;#!/usr/bin/sh&lt;BR /&gt;&lt;BR /&gt;bdf | grep -iv filesystem | awk '{print $6 " "$5}' | while&lt;BR /&gt;read LINE; do&lt;BR /&gt;  PERC=`echo $LINE | cut -d "%" -f1 | awk '{ print $2 }'`&lt;BR /&gt;  if [[ $PERC -gt 90 ]]; then&lt;BR /&gt;   echo "${PERC}% ALERT!" | mailx -s "${LINE} on `hostname` is almost full" root&lt;BR /&gt;  fi&lt;BR /&gt;done &lt;BR /&gt;&lt;BR /&gt;exit&lt;BR /&gt;&lt;BR /&gt;Have cron fire it off every hour or so.  Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Rob&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 01 May 2001 17:24:58 GMT</pubDate>
    <dc:creator>Rob Smith</dc:creator>
    <dc:date>2001-05-01T17:24:58Z</dc:date>
    <item>
      <title>Automatic notification file system getting full...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automatic-notification-file-system-getting-full/m-p/2523424#M23915</link>
      <description>This is probably a no brainer, but I would like to setup a threshold level based on percent full that when reached causes the system to send out an email or a page.  It seems that I'm receiving a message that the file system is full - probably from dmesg, but the system used to send an email when the file system reached 90% used -- that is until a consultant touched it...&lt;BR /&gt;&lt;BR /&gt;TIA&lt;BR /&gt;Michael</description>
      <pubDate>Tue, 01 May 2001 17:20:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automatic-notification-file-system-getting-full/m-p/2523424#M23915</guid>
      <dc:creator>Michael Francisco</dc:creator>
      <dc:date>2001-05-01T17:20:42Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic notification file system getting full...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automatic-notification-file-system-getting-full/m-p/2523425#M23916</link>
      <description>Hi, try this script:&lt;BR /&gt;#!/usr/bin/sh&lt;BR /&gt;&lt;BR /&gt;bdf | grep -iv filesystem | awk '{print $6 " "$5}' | while&lt;BR /&gt;read LINE; do&lt;BR /&gt;  PERC=`echo $LINE | cut -d "%" -f1 | awk '{ print $2 }'`&lt;BR /&gt;  if [[ $PERC -gt 90 ]]; then&lt;BR /&gt;   echo "${PERC}% ALERT!" | mailx -s "${LINE} on `hostname` is almost full" root&lt;BR /&gt;  fi&lt;BR /&gt;done &lt;BR /&gt;&lt;BR /&gt;exit&lt;BR /&gt;&lt;BR /&gt;Have cron fire it off every hour or so.  Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Rob&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 01 May 2001 17:24:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automatic-notification-file-system-getting-full/m-p/2523425#M23916</guid>
      <dc:creator>Rob Smith</dc:creator>
      <dc:date>2001-05-01T17:24:58Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic notification file system getting full...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automatic-notification-file-system-getting-full/m-p/2523426#M23917</link>
      <description>Do the following&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;bdf | awk '{if ($5 &amp;gt; "90") print $NF,$5 }' &amp;gt; /tmp/test&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;This will create a file test in /tmp with the files sytems and the values of the usage. You can be creative in using this file as a form of mail , message etc . Run this as a part of script .&lt;BR /&gt;&lt;BR /&gt;Manoj Srivastava</description>
      <pubDate>Tue, 01 May 2001 17:49:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automatic-notification-file-system-getting-full/m-p/2523426#M23917</guid>
      <dc:creator>MANOJ SRIVASTAVA</dc:creator>
      <dc:date>2001-05-01T17:49:07Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic notification file system getting full...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automatic-notification-file-system-getting-full/m-p/2523427#M23918</link>
      <description>I use this one.  It sends a page to a printer.</description>
      <pubDate>Tue, 01 May 2001 17:52:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automatic-notification-file-system-getting-full/m-p/2523427#M23918</guid>
      <dc:creator>Tom Gore</dc:creator>
      <dc:date>2001-05-01T17:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic notification file system getting full...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automatic-notification-file-system-getting-full/m-p/2523428#M23919</link>
      <description>Wow! Almost instant response!  I still haven't received response back from HP on our 24/7 4hr response time software contract...&lt;BR /&gt;&lt;BR /&gt;Many thanks to all who replied&lt;BR /&gt;Michael</description>
      <pubDate>Tue, 01 May 2001 18:05:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automatic-notification-file-system-getting-full/m-p/2523428#M23919</guid>
      <dc:creator>Michael Francisco</dc:creator>
      <dc:date>2001-05-01T18:05:02Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic notification file system getting full...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automatic-notification-file-system-getting-full/m-p/2523429#M23920</link>
      <description>hi,&lt;BR /&gt;there's a very big difference in having 10% free on a 100MB filesystem or an a 100GB filesystem!!  I think it would be a little bit more ideal to check on percentage combined with a check on effective free space.&lt;BR /&gt;just my 2 cents,&lt;BR /&gt;Thierry.</description>
      <pubDate>Tue, 01 May 2001 18:09:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automatic-notification-file-system-getting-full/m-p/2523429#M23920</guid>
      <dc:creator>Thierry Poels_1</dc:creator>
      <dc:date>2001-05-01T18:09:12Z</dc:date>
    </item>
    <item>
      <title>Re: Automatic notification file system getting full...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/automatic-notification-file-system-getting-full/m-p/2523430#M23921</link>
      <description>Here's another one that might help.  We run it in the cron every fifteen minutes, but it will only e-mail you once an hour.  Also, it checks off of the percentage and the value to exceed can easily be changed from 90 to 85 to 95, etc.&lt;BR /&gt;&lt;BR /&gt;Good Luck.&lt;BR /&gt;&lt;BR /&gt;-Rob</description>
      <pubDate>Wed, 02 May 2001 14:22:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/automatic-notification-file-system-getting-full/m-p/2523430#M23921</guid>
      <dc:creator>Robert Hoey</dc:creator>
      <dc:date>2001-05-02T14:22:46Z</dc:date>
    </item>
  </channel>
</rss>

