iotop (dtrace?)

2011-10-25 Thread Stefan Bethke
I've got two systems with a constantly high rate of disk I/O that sometimes 
seems to be overwhelmed from it.  Before trying to decide if a hardware upgrade 
will help, I'd like to figure out which processes generate the load.

I've found a couple scripts named iotop which appear to produce what I would be 
interested in, but they appear to require Solaris or Linux. 

Has someone ported over one of them, or would have a suggestion how to go about 
writing a custom dtrace script to gather this kind of information?

I can successfully run a couple of sample dtrace scripts on these 8-stable 
amd64 boxes.


Thanks,
Stefan

Solaris dtrace-based iotop: 
http://prefetch.net/articles/solaris.dtracetopten.html
Linux /proc-based Python script: http://guichaz.free.fr/iotop/  

-- 
Stefan Bethke s...@lassitu.de   Fon +49 151 14070811



___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org


Re: iotop (dtrace?)

2011-10-25 Thread Baptiste Daroussin
On Tue, Oct 25, 2011 at 10:34:39PM +0200, Stefan Bethke wrote:
 I've got two systems with a constantly high rate of disk I/O that sometimes 
 seems to be overwhelmed from it.  Before trying to decide if a hardware 
 upgrade will help, I'd like to figure out which processes generate the load.
 
 I've found a couple scripts named iotop which appear to produce what I would 
 be interested in, but they appear to require Solaris or Linux. 
 
 Has someone ported over one of them, or would have a suggestion how to go 
 about writing a custom dtrace script to gather this kind of information?
 
 I can successfully run a couple of sample dtrace scripts on these 8-stable 
 amd64 boxes.
 

Can't 'top -mio' do the job?

regards,
Bapt


pgpDBtL848D9o.pgp
Description: PGP signature


Re: iotop (dtrace?)

2011-10-25 Thread Stefan Bethke
Am 25.10.2011 um 22:50 schrieb Baptiste Daroussin:

 On Tue, Oct 25, 2011 at 10:34:39PM +0200, Stefan Bethke wrote:
 I've got two systems with a constantly high rate of disk I/O that sometimes 
 seems to be overwhelmed from it.  Before trying to decide if a hardware 
 upgrade will help, I'd like to figure out which processes generate the load.
 
 I've found a couple scripts named iotop which appear to produce what I would 
 be interested in, but they appear to require Solaris or Linux. 
 
 Has someone ported over one of them, or would have a suggestion how to go 
 about writing a custom dtrace script to gather this kind of information?
 
 I can successfully run a couple of sample dtrace scripts on these 8-stable 
 amd64 boxes.
 
 
 Can't 'top -mio' do the job?

D'oh!


Thanks!

Stefan

-- 
Stefan Bethke s...@lassitu.de   Fon +49 151 14070811



___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org


Re: iotop (dtrace?)

2011-10-25 Thread Steven Hartland

top and then use the IO mode, will give you an idea where the issue is.

   Regards
   Steve

- Original Message - 
From: Stefan Bethke s...@lassitu.de

To: freebsd-hackers@freebsd.org
Sent: Tuesday, October 25, 2011 9:34 PM
Subject: iotop (dtrace?)


I've got two systems with a constantly high rate of disk I/O that sometimes seems to be overwhelmed from it.  Before trying to 
decide if a hardware upgrade will help, I'd like to figure out which processes generate the load.


I've found a couple scripts named iotop which appear to produce what I would be interested in, but they appear to require Solaris 
or Linux.


Has someone ported over one of them, or would have a suggestion how to go about writing a custom dtrace script to gather this kind 
of information?


I can successfully run a couple of sample dtrace scripts on these 8-stable 
amd64 boxes.


Thanks,
Stefan

Solaris dtrace-based iotop: 
http://prefetch.net/articles/solaris.dtracetopten.html
Linux /proc-based Python script: http://guichaz.free.fr/iotop/

--
Stefan Bethke s...@lassitu.de   Fon +49 151 14070811



___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org



This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. 


In the event of misdirection, illegible or incomplete transmission please 
telephone +44 845 868 1337
or return the E.mail to postmas...@multiplay.co.uk.

___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to freebsd-hackers-unsubscr...@freebsd.org