7

How do I determine the number of seeks performed on Linux?

view full story
linux-howto

http://serverfault.com – I have two programs that write to my servers disk. One I wrote, it does linear writes, it's writing data quickly. Another I'm benchmarking, it's writing data at a 3rd of the speed. It doesn't do much else, and I believe the problem is caused by the second program seeking more (i.e. it does more random file access). Is there a tool on Linux I can use to determine the number of seeks being performed on a particular disk? Or by a particular process? (HowTos)