What I/O activity does iostat include?
Regarding iostat's input/output device monitoring, does this include reads/writes to sockets? I am assuming the answer is no, but would just like to verify.
I'd also like to know whether the %iowait value is affected by sockets. Meaning, if the CPU is idle and waiting on data that is being read from a socket, would this contribute to %iowait? Quote:
|
As far as I know anything io.* tools display has to do with disk I/O.
Sockets waiting for data remain in the WAIT state you can check with say: Code:
for s in SYN_RECV SYN_SENT CLOSING CONNECTED ESTABLISHED FIN_WAIT1 FIN_WAIT2 LAST_ACK TIME_WAIT \ Code:
awk '{printf "%5d KB %s\n", $3*$4/(1024), $1}' < /proc/slabinfo | sort -nr |
All times are GMT -5. The time now is 07:32 AM. |