<br><font size=2 face="sans-serif">Hi Stef,</font>
<br>
<br><font size=2 face="sans-serif">On AIX, there is more than just excluding
NFS and /proc.</font>
<br>
<br><font size=2 face="sans-serif">In fact, you just want JFS and JFS2
vfs types.  All other (procfs, nfs, cifs, etc) should not be checked
with df at all for 2 reasons:</font>
<br>
<br><font size=2 face="sans-serif">- You will hang the df command if the
remote host is not responding</font>
<br><font size=2 face="sans-serif">- Only jfs/jfs2 are usefull.</font>
<br>
<br><font size=2 face="sans-serif">Personnaly, what I do is the following
(I'm sure there could be other/better methods):</font>
<br>
<br><font size=3><tt>In the file  /home/hobbit/client/bin/hobbitclient-aix.sh<br>
<br>
################################################################################<br>
# Change to remove NFS and CIFS filesystems<br>
#df -Ik | sed -e '/^[^  ][^     ]*$/{<br>
df -Ik `mount | awk '$3~/jfs/ {printf $2 " "}'` | sed -e '/^[^
 ][^ ]*$/{<br>
################################################################################</tt></font>
<br>
<br><font size=2 face="sans-serif">Pierre</font>
<br>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Stef Coene <stef.coene@docum.org></b>
</font>
<p><font size=1 face="sans-serif">2007-02-02 06:54</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Please respond to<br>
hobbit@hswn.dk</font></div></table>
<br>
<td width=59%>
<table width=100%>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">To</font></div>
<td valign=top><font size=1 face="sans-serif">hobbit@hswn.dk</font>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">cc</font></div>
<td valign=top>
<tr>
<td>
<div align=right><font size=1 face="sans-serif">Subject</font></div>
<td valign=top><font size=1 face="sans-serif">[hobbit] hobbit client on
AIX</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=2><tt>Hi,<br>
<br>
The df output on AIX includes also /proc and nfs mounted file systems.
 I <br>
exclude them with<br>
df -Ik | grep -v "/proc" | grep -v ":/"<br>
<br>
Excluding /proc is easy, but the only way I found to exclude nfs file systems
<br>
is excluding the lines with :/ in it ......<br>
<br>
Can someone else with an aix box confirm that this is ok ?<br>
<br>
<br>
Stef<br>
<br>
To unsubscribe from the hobbit list, send an e-mail to<br>
hobbit-unsubscribe@hswn.dk<br>
<br>
<br>
</tt></font>
<br>