From: Nicolas Boisselier Date: Sat, 4 Feb 2017 23:01:18 +0000 (+0000) Subject: etc/profile.d/sys.sh X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=2680cd3c00c601dbe542faf4ec2fbb67ce1ef6bd;p=nb.git etc/profile.d/sys.sh --- diff --git a/etc/profile.d/sys.sh b/etc/profile.d/sys.sh index d7fa3521..f5f9149d 100644 --- a/etc/profile.d/sys.sh +++ b/etc/profile.d/sys.sh @@ -30,7 +30,8 @@ sys_activity() { case "$OSTYPE" in linux*) echo 'IO:' - iostat -c -m -d -x `df -hT -x tmpfs|perl -ane 'm:^/: and print $F[0]."\n"'` | tail -n +3 | grep -vFx ''| sed 's/^/ /' + #iostat -c -m -d -x `df -hT -x tmpfs|perl -ane 'm:^/: and print $F[0]."\n"'` | tail -n +3 | grep -vFx ''| sed 's/^/ /' + iostat -c -m -d -x | tail -n +3 | grep -vFx ''| sed 's/^/ /' echo ;; esac