, , ,

Linux – IO Wait History – Sar, Systat

Installation

sudo apt-get install -y sysstat

IO History

ls /var/log/sysstat/sa[0-9]*

Select a File, e.g.

sar -u -f /var/log/sysstat/sa17
sar -u -f /var/log/sysstat/sa17 |less

Check sar On Remote machines

for i in 22 23 24 25; do
    sar -u -f /var/log/sysstat/sa$i | awk '{sum+=$6} END { print sum/NR}';
done


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *