diff --git a/nando-stats b/nando-stats index 6310079..d2b4f00 100755 --- a/nando-stats +++ b/nando-stats @@ -25,7 +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 ) +printf " R/H:%s/%s" $( df / | awk '{print $5}' | tail -n +2 ) $( df /home | awk '{print $5}' | tail -n +2 ) # exit okay true