Re: Monitoring disk seeks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



May be you can try vmstat, iostat or oprofile if you just want to have
a look at data. Though if you want to collect data while in kernel -
have a look at implementation of vmstat or iostat to see which system
calls these are making. That should give u some idea about it.

On 4/27/05, Monique Vaz <moniquevaz@xxxxxxxxx> wrote:
> Hello there,
> 
> I need to compare different applications in terms of the number of
> disk seeks they perform. Where should I go in the Kernel in order to
> do that? I have an IDE disk and I'm using kernel 2.6.11. I checked a
> couple of files  but I'm still a little lost. The files are the
> following:
> 
> Linux/drivers/ide/ide.c
> Linux/drivers/ide/legacy/hd.c
> 
> If anyone could give me a tip it would be really helpfull.
> Thanks in advance,
> 
> Monique
> 
> --
> Kernelnewbies: Help each other learn about the Linux kernel.
> Archive:       http://mail.nl.linux.org/kernelnewbies/
> FAQ:           http://kernelnewbies.org/faq/
> 
> 


-- 
-----------
S K T
-----------

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux