Today we tried to measure some disk statistics with iostat, but the command wasn’t on our server.
The workaround was simple:
- run #strace iostat; on our laptop to find the files he used to make the stats ( /proc/diskstats :P )
- see the relative docs to check the meaning of all that numbers
- use awk to script out some statistics on “speed and acceleration” of the given numbers
Quick and nice :P