[Gllug] what is causing disk activity ?

Daniel P. Berrange dan at berrange.com
Thu Nov 20 15:48:20 UTC 2008


On Thu, Nov 20, 2008 at 12:50:00PM +0000, - Tethys wrote:
> On Thu, Nov 20, 2008 at 12:26 PM, Alain Williams <addw at phcomp.co.uk> wrote:
> 
> > Is there any way that I can relate the disc activity to processes ?
> 
> SystemTap. It took a fair amount of effort to get it working under
> CentOS/RHEL 4. Hopefully the situation has improved for CentOS/RHEL 5.

I concurr - the SystemTap wiki even has a useful script you could
start with

http://sourceware.org/systemtap/wiki/ScriptsTools

http://sourceware.org/systemtap/wiki/ScriptsTools?action=AttachFile&do=view&target=disktop.txt

Tue Oct 30 07:37:33 2007 , Average: 648Kb/sec, Read:    3227Kb, Write:     15Kb

     UID      PID     PPID                       CMD   DEVICE    T        BYTES
     500    10715        1                   devhelp     dm-0    R      3218404
     500    10018        1                  metacity     dm-0    R        57344
     500    10087        1               wnck-applet     dm-0    R        22916
     500    10715        1                   devhelp     dm-0    W        14671
     500    10022        1               gnome-panel     dm-0    R         6272
     500     9997        1                  gconfd-2     dm-0    W         1293
     500    10715        1               gnome-panel     dm-0    R          531

Daniel
-- 
|: http://berrange.com/     -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://freshmeat.net/~danielpb/    -o-   http://gtk-vnc.sourceforge.net :|
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list