Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Is this possible to check which process or processess is responsible for high percent of iowait (%wa in top). I mean, I know that iowait measures CPU performance, not I/O but it depends directly on the hdd operations (f.e. copying). In other words I would like to check which process is generating hdd load.
So long as you only use it as an indication. As you said, this is really looking at things the wrong way around.
It is easy to construct situations where several tasks are "waiting" for I/O, but only one is contributing almost all the load. That can only really be checked by something like blktrace which is at the VFS layer.
Something else you might be interested in is iotop - very nice python script. Seems to be in most distros these days.
Yes. I know that what "ps" will show me with state "D" is not really what I am looking for, but it is already much more information than iowait alone gives me. Iotop seems to be exactly what I need, I'll check it. Thanks syg00.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.