Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

share|improve this question
1  
Also see Systemtap here: serverfault.com/questions/327985/linux-io-monitoring-per-file –  ewwhite Dec 21 '13 at 11:19

1 Answer 1

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.