From: Nicolas Boisselier Date: Thu, 1 Dec 2016 12:03:06 +0000 (+0000) Subject: sys.sh X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=1b6df3593181566d5a404b186c446f4684ff1305;p=nb.git sys.sh --- 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:'