add hdd stats
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user