UPD: touch up
This commit is contained in:
parent
482f1a0f99
commit
4250378ec5
@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
for f in $(ls /var/log/sysstat/sa[0123]*); do
|
||||
stat $f | grep Modify | awk '{print $2}'
|
||||
sar -f $f | tail -1 | awk '{print "Idle: "$NF}'
|
||||
echo -n "Date: "; stat $f | grep Modify | awk '{print $2}'
|
||||
sar -f $f | tail -1 | awk '{print "CPU Used: ", 100-$NF}'
|
||||
sar -r -f $f | tail -1 | awk '{print "Memused: "$5}'
|
||||
sar -f $f | tail -1 | awk '{print "iowait: "$6}'
|
||||
echo "- - -"
|
||||
|
Loading…
Reference in New Issue
Block a user