I was wondering if there was a way to tell how many more "writes" are left on a file system device in linux? An example: when you move a lot of data to a flash drive, it may not write all data immediately. In this case, I would like to see (preferably) how much more is left to write, or even if it's a flag (such as 0 = writes complete or 1 = writes remain). Is there a particular command or file that holds that information?
|
feedback
|
|
Might be useful the following utilities:
| |||
feedback
|
|
You can find out how many kilobytes globally are waiting to be written, contained in "dirty" pages, however I don't know how to do this for individual devices.
There are tunables in /proc/sys/vm and /sys/block/${dev_name} which can affect how rapidly dirty pages are written out; usually, they are modified by software like laptop-mode-tools. | |||
|
feedback
|
