Page 2 of 2

Re: iotop-0.2.1-1 doesn't work

Posted: Mon Apr 25, 2011 3:52 am
by breun
BruceLee wrote:what do you think about this? I know it's not doing exactly the same as iotop does but maybe it's useful for you.
http://collectl.sourceforge.net/
Thanks, but I was specifically looking for a tool which displays I/O per process. So far I have only found iotop, so I'd like to get that to work with ASL.

Re: iotop-0.2.1-1 doesn't work

Posted: Mon Apr 25, 2011 7:58 am
by paulie
Hi,

Collectl does this as per here

Collectl does everything, but I find its documentation fairly impenetrable, though I suspect its well worth spending some time playing with it.

Paul.

Re: iotop-0.2.1-1 doesn't work

Posted: Sat Apr 30, 2011 7:34 am
by markseger
Collectl documentation has always been a struggle for me because collectl does so much. All I can say is for those who have managed to put in some time, they believe it was worth it.

My one recommendation is to not read the documentation first, but rather just play with it. You might want to look at the tutorials though.

The easiest way to get started is to just type 'collectl', and see what it does. Then you can try adding timestamps with -oT or if you really want detail, -oTm.

Now that you're looking at cpus, disks and networks, you can take 2 directions. Look at more details but including --verbose OR individual devices with -sC -sD or -sN or simply combine them all. Since multiple line output can be a pain to look at you can always try adding --home.

The other direction to take is to look at different subsystems. Try -sm for memory or -sf for nfs. Don't forget to mix and match with -sdcn too, as that's where the real power comes from.

Maybe now you're ready to play with process data. here you can either do "collectl -sZ -i:1" the secondary interval of 1 tells collectl to show process stats once a second instead of the default of 1 minute. OR if you don't want to see a scrolling page use "collectl --top" which is more like the linux top command.

There are also a lot of complimentary switches that are subsystem specific and rather than look at the docs you can also try "collectl --showsubopts" to see which switches apply to which subsystem.

I really better stop typing before this becomes a rewrite of the tutorial...

just hang in there and I promise you will catch on after a short while.

-mark