Re: status of disk i/o per process
On 31 Dec 2006, at 6:34 pm, liran tal wrote: Thanks for the reply Steinar. The blktrace is a tool and I was wondering if there's something in / proc itself that I can use to get some info regarding the disk i/o per process. Yes, there is. echo 1 /proc/sys/vm/block_dump causes the kernel to log all I/O, so it all appears in your syslog. It's probably not something you want to leave switched on. :-) Tim -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: status of disk i/o per process
On Sun, Dec 31, 2006 at 05:11:50PM +0200, liran tal wrote: This is more kernel related since I think the information is to be gathered from /proc but I decided to give this great mailing list a shot at it first. I'm wondering how to find out the status of the disk input/ouput usage PER PROCESS. You don't say anything about operating system, but in Linux = 2.6.19 you can use blktrace, which gives you this information and much more. /* Steinar */ -- Homepage: http://www.sesse.net/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: status of disk i/o per process
On Sun, Dec 31, 2006 at 07:19:43PM +0100, Steinar H. Gunderson wrote: You don't say anything about operating system, but in Linux = 2.6.19 you can use blktrace, which gives you this information and much more. Hm, looking at the list again it's kind of obvious what operating system you meant :-) Anyhow, -devel is the wrong list for such questions; try -user next time. /* Steinar */ -- Homepage: http://www.sesse.net/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: status of disk i/o per process
Thanks for the reply Steinar. The blktrace is a tool and I was wondering if there's something in /proc itself that I can use to get some info regarding the disk i/o per process. Thanks again. On 12/31/06, Steinar H. Gunderson [EMAIL PROTECTED] wrote: On Sun, Dec 31, 2006 at 07:19:43PM +0100, Steinar H. Gunderson wrote: You don't say anything about operating system, but in Linux = 2.6.19you can use blktrace, which gives you this information and much more. Hm, looking at the list again it's kind of obvious what operating system you meant :-) Anyhow, -devel is the wrong list for such questions; try -user next time. /* Steinar */ -- Homepage: http://www.sesse.net/