monitoring-plugins icon indicating copy to clipboard operation
monitoring-plugins copied to clipboard

disk-io: report iops

Open NavidSassan opened this issue 2 years ago • 1 comments

useful when using openstack disks that have an iops-limitation

NavidSassan avatar May 22 '23 09:05 NavidSassan

Could be done platform-dependent without any additional tools using

echo "read: io | merge | sectors | ticks, write: io | merges | sectors | ticks, in_flight | io_ticks | time_in_queue"
cat /sys/block/vda/vda*/stat
sleep 7
cat /sys/block/vda/vda*/stat

https://www.kernel.org/doc/Documentation/block/stat.txt


Or like in https://github.com/sysstat/sysstat measuring tps, from sources in that order: /proc/diskstats, sysfs, /proc/partitions and then /proc/stat.

https://www.kernel.org/doc/Documentation/iostats.txt

markuslf avatar May 29 '23 08:05 markuslf