From 99d090dda91703236389456be2e164b31bbade79 Mon Sep 17 00:00:00 2001 From: Ville Rantanen Date: Mon, 13 Jul 2015 14:54:00 +0300 Subject: [PATCH] add hdd stats --- nando-stats | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nando-stats b/nando-stats index 2b2b258..6310079 100755 --- a/nando-stats +++ b/nando-stats @@ -25,5 +25,7 @@ cache=$( filesize $cache ) total=$( filesize $total ) echo -n "$used+$cache/$total U:" ps a --format user| grep -v -e root -e USER | sort -u | wc -l | tr -c -d [:digit:] +printf " R/H:%s/%s" $( df --output=pcent / | tail -n +2 ) $( df --output=pcent /home | tail -n +2 ) + # exit okay true