February 2020
Intermediate to advanced
734 pages
38h 13m
English
Our examples of iostat always include the -d argument, to only show disk information. By default, it shows both CPU and disk measurements. The CPU data looks like this:
avg-cpu: %user %nice %system %iowait %steal %idle
9.38 0.00 16.67 11.46 0.00 62.50
This can be useful for analysis as well, though there are several other tools that also provide this data. If we use the -c parameter instead of -d, we will see only the CPU statistics, and no information about disk devices will be included in the output.
Read now
Unlock full access