brent timothy saner on 14 Jun 2008 11:38:58 -0700 |
Brian Vagnoni wrote: > I should give you a search google chiding. > > But here you go > > > http://www.nslu2-linux.org/wiki/HowTo/IdentifyWhichProcessesAccessDisk > > or > > http://www.linux-tutorial.info/modules.php?name=Forums&file=viewtopic&t=795 not helpful. "In many cases this won't tell you anything especially if you are using a journalling filesystem."[1] i.e. ext3, reiserfs (i believe), jfs (also as i recall)... and, by extension, ntfs-3g mounts. the second one..well, that just covers lsof, not the actual I/O. casey, i must preface this first that /there is no real way to accurately determine I/O/, simply because of the channel architecture. and you may have varying levels of success based upon what kind of disk it is. however, if you want a pretty good idea, i'd do: watch -no.5 -d iostat this puts a watch on iostat's output which updates every half-second and hilights differences. you might want to poke through iostat's man page, as there's a LOT of interesting info in there (i think there may be an iostat builtin that does what i specified above). [1]http://www.nslu2-linux.org/wiki/HowTo/IdentifyWhichProcessesAccessDisk bottom of page -- brent saner. gpg info at http://www.notebookarmy.org/gpg.txt (this is a shorter sig.) grep -i hotchicks * Attachment:
signature.asc ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
|
|