1 |
Hi, |
2 |
|
3 |
meino.cramer@×××.de writes: |
4 |
|
5 |
> In the context of preserving the live of flash media by minimizing |
6 |
> the count of unessary writes I want to know which |
7 |
> application/daemon/etc is continous writing to that media and which |
8 |
> """entity""" (file/pipe/fifo...) is receiving those writes... |
9 |
|
10 |
You could use this: |
11 |
|
12 |
# echo 1 > /proc/sys/vm/block_dump |
13 |
|
14 |
then every read and write operation on block devices shows up in dmesg |
15 |
with the PID, process name and the block id. (This can be a lot of |
16 |
lines, so dmesg -c might be useful) I'm not exactly sure how to identify |
17 |
which files belong to which block, though. |
18 |
|
19 |
Regards |
20 |
Johannes |