N
The Daily Insight

What is vmstat and iostat?

Author

Rachel Ross

Updated on February 19, 2026

What is vmstat and iostat?

iostat stands for input output statistics and reports statistics for i/o devices such as disk drive. vmstat gives the statistics for virtual Memory and netstat gives the network statistics .

What provides iostat?

The iostat tool, provided by the sysstat package, monitors and reports on system input/output device loading to help administrators make decisions about how to balance input/output load between physical disks. The iostat tool reports on processor or device utilization since iostat was last run, or since boot.

How do I check iostat?

The command to display only a specific device is iostat -p DEVICE (Where DEVICE is the name of the drive–such as sda or sdb). You can combine that option with the -m option, as in iostat -m -p sdb, to display the statistics of a single drive in a more readable format (Figure C). Easy to read stats for a single device.

What is the Iostat in Linux?

The iostat command in Linux is used for monitoring system input/output statistics for devices and partitions. It monitors system input/output by observing the time the devices are active in relation to their average transfer rates.

How do I Analyse Iostat output?

To interpret the output of iostat, you need to know a little performance terminology:

  1. Throughput is the rate at which a system completes operations, in units of operations per second.
  2. Concurrency is the number of operations in progress at a time, either as an instantaneous measure or an average over an interval of time.

What is the iostat command?

The iostat command is used for monitoring system input/output device loading by observing the time the devices are active in relation to their average transfer rates. The iostat command generates reports that can be used to change system configuration to better balance the input/output load between physical disks.

Which package contains iostat?

Both iostat and mpstat tools are available through sysstat package in Linux.

What is disk I O in Linux?

Storage I/O is input/output (or write/read) operations on a physical disk (or other storage, for example, disk or SSD). Requests which involve disk I/O can be slowed greatly if CPUs need to wait on the disk to read or write data. I/O Wait is the percentage of time the CPU had to wait on storage.

How much iowait is too much?

1 Answer. The best answer I can give you is ” iowait is too high when it’s affecting performance.” Your “50% of the CPU’s time is spent in iowait ” situation may be fine if you have lots of I/O and very little other work to do as long as the data is getting written out to disk “fast enough”.

How do I enable iostat in Linux?

Steps to Install iostat and mpstat command on Linux(RHEL/CentOS 7/8)

  1. Step 1: Prerequisites.
  2. Step 2: Update Your Server.
  3. Step 3: Install Sysstat Package.
  4. Step 4: Verify Package Installation.
  5. Step 5: Check iostat and mpstat version.
  6. Step 6: Checking I/O Performance Using iostat.
  7. Step 7: Checking Processor Stats Using mpstat.