10

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
  • 1
    you have got to use iotop Commented Jan 23, 2018 at 19:29

1 Answer 1

13

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

2
  • 1
    Is the WA measured in percentages and updated in real time?
    – fsefs
    Commented Jan 23, 2018 at 19:43
  • 2
    @fsefs, yes it is. From man pages: As a default, percentages for these individual categories are displayed. Commented Jan 23, 2018 at 20:19

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .