Differentiating IOWAIT on Linux
I am working on a monitoring agent that works with systems using the Linux kernel. By opening / proc / stat, you can easily see how long one or all of the processors (aggregates) have been on fire while waiting for I / O requests to complete.
I am trying to find a way to break this number so that I can differentiate between disk and network inputs. For example, after converting one from kernel cells to seconds, you will see that all the CPUs together spent 1024 seconds waiting for I / O. I would like to know how many of them were burned due to slow network connections.
I'm not sure if this is possible, any help is appreciated :) I don't see anything in / proc / net or sysfs that would help.
-1
source to share