LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-14-2009, 10:01 PM   #1
edmazur
LQ Newbie
 
Registered: Sep 2009
Posts: 1

Rep: Reputation: 0
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:
%iowait - Show the percentage of time that the CPU or CPUs were idle during which the system had an outstanding disk I/O request.

Last edited by edmazur; 09-15-2009 at 12:21 AM. Reason: Added %iowait question
 
Old 10-11-2009, 06:04 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,331
Blog Entries: 55

Rep: Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529
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 \
UNREPLIED ASSURED; do echo "$(grep -c "$s" /proc/net/ip_conntrack) ${s}"; done | sort -bgr
and cache consumption with say:
Code:
awk '{printf "%5d KB %s\n", $3*$4/(1024), $1}' < /proc/slabinfo | sort -nr
or 'slabtop'.
 
  


Reply

Tags
iostat


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
iostat mohitanchlia Linux - Software 0 08-08-2009 02:13 AM
Differences between /usr/include/* and linux/include/* simopal6 Linux - General 2 08-26-2007 04:41 AM
changing include directories - /usr/local/include quep_fly Linux - Newbie 6 08-12-2007 05:36 PM
iostat Volcano Linux - Newbie 3 10-04-2005 10:28 AM
iostat FragInHell Solaris / OpenSolaris 2 07-02-2004 06:02 AM


All times are GMT -5. The time now is 04:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration