5

How to find iowait to process on linux with top command?

I want to find out how much time my process wait for i/o.

  • 1
    you have got to use iotop – Rui F Ribeiro Jan 23 '18 at 19:29
6

If you need to monitor processes in realtime, use iotop instead.

top can show total amount of iowait of all processes in wa parameter:

wa, IO-wait : time waiting for I/O completion

In addition with top you can see load average that show average number of running + waiting threads. This metric can indirectly indicate disk problems

| improve this answer | |
  • Is the WA measured in percentages and updated in real time? – fsefs Jan 23 '18 at 19:43
  • @fsefs, yes it is. From man pages: As a default, percentages for these individual categories are displayed. – Egor Vasilyev Jan 23 '18 at 20:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.