From 1b6df3593181566d5a404b186c446f4684ff1305 Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Thu, 1 Dec 2016 12:03:06 +0000 Subject: [PATCH] sys.sh --- etc/profile.d/sys.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/etc/profile.d/sys.sh b/etc/profile.d/sys.sh index c2955c4f..60afa532 100644 --- a/etc/profile.d/sys.sh +++ b/etc/profile.d/sys.sh @@ -13,7 +13,10 @@ sys_activity() { tmp="$tmp/$FUNCNAME.$$" netstat -autpn > $tmp.netstat - echo 'IOPS:' + echo 'Load:' + w + + echo 'IO:' iostat -c -m -d -x `df -hT -x tmpfs|perl -ane 'm:^/: and print $F[0]."\n"'` echo 'Top ip activity:' -- 2.47.3