Xymon Mailing List Archive search

/proc file systeem on AIX

list Stef Coene
Sun, 5 Feb 2006 21:37:55 +0100
Message-Id: <user-19260fc6d81a@xymon.invalid>

Hi,

The command df on AIX (I think 5.2 and higher) includes /proc.  And it's 
useless to monitor this virtual file system.   So I changed my df command to:

# The sed stuff is to make sure lines are not split into two.
df -Ik | grep -v "^/proc" | sed -e '/^[^        ][^     ]*$/{
N
s/[     ]*\n[   ]*/ /
}'

This is a bug in the hobbitclient-aix.sh script.


Stef