simple (dumb) script to track ide drive rw times

William Cohen wcohen@redhat.com
Tue Oct 11 18:23:00 GMT 2005


In an attempt to code up more examples I wrote this toy example to 
record the amount of time required to service read and write accesses on 
the ide drive. It only works for ide hard disc drives and requires the 
machine to use the dma access. It doesn't really tell you where the disk 
traffic is coming from (process or file) or even the drive being 
accessed. It also doesn't take into account the size of the request. It 
is a toy example.

-Will
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ide.stp
URL: <http://sourceware.org/pipermail/systemtap/attachments/20051011/0bdcb4a3/attachment.ksh>


More information about the Systemtap mailing list