11

For sizing purposes I need to understand what requirements an application has to the I/O subsystem. I would love to do what I call I/O sniffing and obtain a list of events from the block layer like this:

initiator XYZ requests block 4711 from device 0815
initiator BLA writes block 1234 to device 9876 

I have been told blktrace was what I am looking for but I cannot get this info from that tool.

ewwhite
  • 194,921
  • 91
  • 434
  • 799
Thorsten Staerk
  • 389
  • 2
  • 11
  • 1
    Also see Systemtap here: http://serverfault.com/questions/327985/linux-io-monitoring-per-file – ewwhite Dec 21 '13 at 11:19

1 Answers1

5

Seems like a job for SystemTap, the SystemTap beginners guide by Red Hat has some disk and IO sample scripts to get you started as does sourceware.org.

HBruijn
  • 72,524
  • 21
  • 127
  • 192