LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > AIX
User Name
Password
AIX This forum is for the discussion of IBM AIX.
eserver and other IBM related questions are also on topic.

Notices

Reply
 
Search this Thread
Old 08-31-2009, 08:54 AM   #1
pasilmitt
LQ Newbie
 
Registered: Aug 2009
Posts: 1

Rep: Reputation: 0
I/O usage per process


There is any way to list processes' I/O usage? I'm not interested in overall I/O statistic, vmstat and sar already do that for me. It seems there is a lack of commands to get process level detail I/O. What I'm looking for is someting like:

# ps aux | head -1 ; ps aux | tail +2 | sort -nrk3 | head
USER PID %CPU %MEM SZ RSS TTY STAT STIME TIME COMMAND
root 73764 5.3 0.0 384 384 - A Aug 26 3018:25 wait
root 471150 5.2 23.0 1871336 1874984 - A 17:19:50 414:31 dsmserv quiet
root 65568 5.2 0.0 384 384 - A Aug 26 2919:28 wait
root 57372 5.2 0.0 384 384 - A Aug 26 2918:16 wait
root 8196 4.9 0.0 384 384 - A Aug 26 2753:25 wait
root 69666 4.8 0.0 384 384 - A Aug 26 2705:49 wait
root 61470 4.8 0.0 384 384 - A Aug 26 2721:21 wait
root 77862 4.6 0.0 384 384 - A Aug 26 2618:47 wait
root 53274 4.5 0.0 384 384 - A Aug 26 2541:19 wait
root 229536 3.5 0.0 984 972 - A Aug 26 1957:23 /usr/sbin/portma

...but for I/O, not CPU. Thanks in advance!
 
Old 09-04-2009, 03:31 PM   #2
chaosless
LQ Newbie
 
Registered: Jul 2009
Location: Austin, Texas
Distribution: suse
Posts: 14

Rep: Reputation: 1
have you tried the lsof utility?
 
Old 09-04-2009, 07:18 PM   #3
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 3,901

Rep: Reputation: 775Reputation: 775Reputation: 775Reputation: 775Reputation: 775Reputation: 775Reputation: 775
Does iotop do what you want?

Whoops, didn't notice this was in an AIX forum...you may not have iotop available to you. Not that its installed by default in many Linux distros, either.

Last edited by salasi; 09-04-2009 at 07:21 PM. Reason: extra info
 
  


Reply

Tags
aix, command, io


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
[SOLVED] per process disk usage alesz Linux - Newbie 6 12-04-2010 12:00 AM
events/0 process usage rioch Linux - Kernel 11 08-28-2010 01:56 PM
process cpu usage hamedrafi Programming 5 06-11-2007 06:32 PM
process cpu usage vanv101 Fedora 9 06-24-2005 05:53 PM
CPU usage of a process asharma Solaris / OpenSolaris 7 03-29-2003 02:17 PM


All times are GMT -5. The time now is 09:21 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration