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.

I am looking for a way to visualize writes to a big file (2GB) in real-time. The writing process isn't just appending data to the end of the file. Instead, it acts like a container or like a block device. So data is written anywhere within the file.

Is there a tool that shows me which parts of the file are changing? It does not need to be precise - in fact - I just need to know wheter it's at the beginning, in the middle or end of the file. Best would be a tool that works on the CLI.

I was unable to find such a tool, but maybe someone here can help.

share|improve this question
add comment

1 Answer 1

Seekwatcher uses blktrace underneath and can provide you all kinds of information about disk activity. It can analyze existing blktrace dump files or start blktrace for you. Seekwatcher is probably not exactly what you are looking for, but maybe it can serve as a starting point.

Also look for blktrace analyzers, perhaps there are others lurking somewhere out there. +1 for interesting question, anyway!

share|improve this answer
add comment

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.