Glossary

What is iowait?

iowait is the share of time a CPU was idle only because it was waiting for outstanding disk or network-storage I/O to complete.

Linux counts CPU time in states such as user, system, idle and iowait. A core is in iowait when it has nothing to run and at least one task is blocked on I/O. A high figure usually points at slow storage, not at a busy CPU, which is why a server can feel stuck while its CPUs look idle.

It is a hint, not proof: iowait is only counted when the CPU would otherwise be idle, so a busy CPU hides it, and on a multi-core host it is averaged. Confirm with per-disk latency and queue depth (iostat -x) and with the tasks blocked on I/O in vmstat. Common causes are a saturated or throttled cloud volume, a backup, a full-table scan and swapping. See high iowait on Ubuntu.

Example

$ vmstat 1
procs ----memory---- --swap-- ---io--- -system- -----cpu-----
 r  b   free   buff   cache  si so  bi   bo  in   cs us sy id wa st
 1  4 211340  80212 1623400   0  0 9800 120 812 1544  6  3 41 50  0

How WatchTower15 checks it

WatchTower15's server charts show I/O wait in CPU by mode, as idle CPU time while a disk request was pending.