<?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: excluding &amp;quot;/&amp;quot; from filesystem check script in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/excluding-quot-quot-from-filesystem-check-script/m-p/5109264#M91459</link>
    <description>or &lt;BR /&gt;&lt;BR /&gt;bdf|grep -v /dev/vg00/lvol3&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 16 May 2008 14:49:05 GMT</pubDate>
    <dc:creator>Tim Nelson</dc:creator>
    <dc:date>2008-05-16T14:49:05Z</dc:date>
    <item>
      <title>excluding "/" from filesystem check script</title>
      <link>https://community.hpe.com/t5/operating-system-linux/excluding-quot-quot-from-filesystem-check-script/m-p/5109261#M91456</link>
      <description>Hi -&lt;BR /&gt;&lt;BR /&gt;I'm using a shell script to monitor filesystems and alert via email when they reach a certain capacity.  I'm trying to exclude the root filesystem with a 'grep -v', but when I do it's exluding all filesystems and I don't get alerted on anything.  I was wondering if someone could check the syntax on this and maybe point me in the right direction.  Thanks in advance for your help.&lt;BR /&gt;&lt;BR /&gt;# Main body&lt;BR /&gt;#----------&lt;BR /&gt;&lt;BR /&gt;if [[ -n `bdf | grep -v -e / | grep -e "8[5-9]%" -e "9[0-9]%" -e "100%"` ]]&lt;BR /&gt;then&lt;BR /&gt;        bdf | grep -e "8[5-9]%" -e "9[0-9]%" -e "100%" | \&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 16 May 2008 14:29:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/excluding-quot-quot-from-filesystem-check-script/m-p/5109261#M91456</guid>
      <dc:creator>JLee_1</dc:creator>
      <dc:date>2008-05-16T14:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: excluding "/" from filesystem check script</title>
      <link>https://community.hpe.com/t5/operating-system-linux/excluding-quot-quot-from-filesystem-check-script/m-p/5109262#M91457</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;if you exclude '/', then you exclude everything under '/' - and ALL is under '/'!&lt;BR /&gt;Maybe this works like you want - eclude the logical volume of '/': bdf|grep -v -e lvol3&lt;BR /&gt;&lt;BR /&gt;(lvol3 is in my case the logical volume of '/' - but this is also the standard)&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;Volkmar&lt;BR /&gt;</description>
      <pubDate>Fri, 16 May 2008 14:38:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/excluding-quot-quot-from-filesystem-check-script/m-p/5109262#M91457</guid>
      <dc:creator>V. Nyga</dc:creator>
      <dc:date>2008-05-16T14:38:00Z</dc:date>
    </item>
    <item>
      <title>Re: excluding "/" from filesystem check script</title>
      <link>https://community.hpe.com/t5/operating-system-linux/excluding-quot-quot-from-filesystem-check-script/m-p/5109263#M91458</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;If you want to use 'grep' to exclude the '/' mountpoint, do:&lt;BR /&gt;&lt;BR /&gt;# bdf | grep -v "/$"&lt;BR /&gt;&lt;BR /&gt;...the '$' anchors to the end of the line.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 16 May 2008 14:38:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/excluding-quot-quot-from-filesystem-check-script/m-p/5109263#M91458</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2008-05-16T14:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: excluding "/" from filesystem check script</title>
      <link>https://community.hpe.com/t5/operating-system-linux/excluding-quot-quot-from-filesystem-check-script/m-p/5109264#M91459</link>
      <description>or &lt;BR /&gt;&lt;BR /&gt;bdf|grep -v /dev/vg00/lvol3&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 16 May 2008 14:49:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/excluding-quot-quot-from-filesystem-check-script/m-p/5109264#M91459</guid>
      <dc:creator>Tim Nelson</dc:creator>
      <dc:date>2008-05-16T14:49:05Z</dc:date>
    </item>
    <item>
      <title>Re: excluding "/" from filesystem check script</title>
      <link>https://community.hpe.com/t5/operating-system-linux/excluding-quot-quot-from-filesystem-check-script/m-p/5109265#M91460</link>
      <description>Thanks for quick replies everyone!  Working like a charm now..&lt;BR /&gt;&lt;BR /&gt;Thanks a lot</description>
      <pubDate>Fri, 16 May 2008 14:58:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/excluding-quot-quot-from-filesystem-check-script/m-p/5109265#M91460</guid>
      <dc:creator>JLee_1</dc:creator>
      <dc:date>2008-05-16T14:58:37Z</dc:date>
    </item>
    <item>
      <title>Re: excluding "/" from filesystem check script</title>
      <link>https://community.hpe.com/t5/operating-system-linux/excluding-quot-quot-from-filesystem-check-script/m-p/5109266#M91461</link>
      <description>thank you, all</description>
      <pubDate>Fri, 16 May 2008 15:00:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/excluding-quot-quot-from-filesystem-check-script/m-p/5109266#M91461</guid>
      <dc:creator>JLee_1</dc:creator>
      <dc:date>2008-05-16T15:00:55Z</dc:date>
    </item>
  </channel>
</rss>

