show info captured with iostat
The iostat sensor produces this kind of result
Linux 1.2.3-45-generic (blah) 04/35/2020 _x86_64_ (8 CPU)
avg-cpu: %user %nice %system %iowait %steal %idle
9,36 0,00 4,04 0,16 0,00 86,44
Device r/s w/s rkB/s wkB/s rrqm/s wrqm/s %rrqm %wrqm r_await w_await aqu-sz rareq-sz wareq-sz svctm %util
loop0 0,03 0,00 15,24 0,00 0,00 0,00 0,00 0,00 0,64 0,00 0,00 573,72 0,00 1,64 0,00
nvme0n1 1,82 6,90 187,58 303,76 0,05 4,70 2,72 40,49 0,25 2,23 0,01 102,92 44,00 0,76 0,66
avg-cpu: %user %nice %system %iowait %steal %idle
8,27 0,00 5,20 0,00 0,00 86,54
Device r/s w/s rkB/s wkB/s rrqm/s wrqm/s %rrqm %wrqm r_await w_await aqu-sz rareq-sz wareq-sz svctm %util
loop0 0,00 0,00 0,00 0,00 0,00 0,00 0,00 0,00 0,00 0,00 0,00 0,00 0,00 0,00 0,00
nvme0n1 0,00 0,00 0,00 0,00 0,00 0,00 0,00 0,00 0,00 0,00 0,00 0,00 0,00 0,00 0,00
We should show:
- %iowait
- %user
- %system
!! the first block is the value since the boot of the system, which is not interesting => use the second block