Hi,

meino.cra...@gmx.de writes:

> In the context of preserving the live of flash media by minimizing
> the count of unessary writes I want to know which
> application/daemon/etc is continous writing to that media and which
> """entity""" (file/pipe/fifo...) is receiving those writes...

You could use this:

# echo 1 > /proc/sys/vm/block_dump

then every read and write operation on block devices shows up in dmesg
with the PID, process name and the block id. (This can be a lot of
lines, so dmesg -c might be useful) I'm not exactly sure how to identify
which files belong to which block, though.

Regards
Johannes

Attachment: signature.asc
Description: PGP signature

Reply via email to