/proc file systeem on AIX
<!--X-Subject-Header-End--><!--X-Head-of-Message-->
- To: hobbit (at) hswn.dk
- Subject: /proc file systeem on AIX
- From: Stef Coene <stef.coene (at) docum.org>
- Date: Sun, 5 Feb 2006 21:37:55 +0100
- User-agent: KMail/1.9.1
<!--X-Head-Body-Sep-End--><!--X-Body-of-Message-->
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
/////////////////////////////////////////////////////////////////////////////////////////////////////////////
http://www.unix-center.net/bbs/viewthread.php?tid=14834
http://www.ibm.com/developerworks/cn/aix/library/au-lsof.html
http://www.ibm.com/developerworks/eserver/articles/AIX5.2PerfTools.html
http://www.ibm.com/developerworks/cn/aix/aixfaq/5.html<!--X-Body-of-Message-End--><!--X-MsgBody-End--><!--X-Follow-Ups-->

380

被折叠的 条评论
为什么被折叠?



