| Author |
unix disk i/o
|
Chris Montgomery
Ranch Hand
Joined: Jan 14, 2004
Posts: 141
|
|
is there a command to view disk i/o for each process that is running on a unix box? Thanks!
|
 |
Chris Montgomery
Ranch Hand
Joined: Jan 14, 2004
Posts: 141
|
|
|
found iostat, but it says "command not found" (using putty).
|
 |
Ernest Friedman-Hill
author and iconoclast
Marshal
Joined: Jul 08, 2003
Posts: 24081
|
|
|
Different tools are available for different UNIX O/S's. What flavor of UNIX are we talking about?
|
[Jess in Action][AskingGoodQuestions]
|
 |
Chris Montgomery
Ranch Hand
Joined: Jan 14, 2004
Posts: 141
|
|
he he... do you have a command to find that out ?
|
 |
Ernest Friedman-Hill
author and iconoclast
Marshal
Joined: Jul 08, 2003
Posts: 24081
|
|
|
Yes: uname . "uname -a" will give lots of details.
|
 |
Chris Montgomery
Ranch Hand
Joined: Jan 14, 2004
Posts: 141
|
|
|
it's Linux 2.4.13 i686
|
 |
Ernest Friedman-Hill
author and iconoclast
Marshal
Joined: Jul 08, 2003
Posts: 24081
|
|
iostat is available, but might not be installed. Try /usr/sbin/iostat, and if it's not there, ask the sysadmin about getting it. iostat gives you per-device info -- because of the way UNIX filesystems work, in general, per-process I/O statistics aren't very meaningful. The lsof program (also maybe in /usr/sbin, or ask your sysadmin) can tell you all the files a process has open, and some info about each file. This is often very handy.
|
 |
 |
|
|
subject: unix disk i/o
|
|
|