posix
This commit is contained in:
@@ -25,7 +25,7 @@ cache=$( filesize $cache )
|
|||||||
total=$( filesize $total )
|
total=$( filesize $total )
|
||||||
echo -n "$used+$cache/$total U:"
|
echo -n "$used+$cache/$total U:"
|
||||||
ps a --format user| grep -v -e root -e USER | sort -u | wc -l | tr -c -d [:digit:]
|
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
|
# exit okay
|
||||||
true
|
true
|
||||||
|
|||||||
Reference in New Issue
Block a user