I want to grok how fast a particular file is growing.
I could do
watch ls -l file
And deduce this information from the rate of change.
Is there something similar that would directly output the rate of growth of the file over time?
|
I want to grok how fast a particular file is growing. I could do
And deduce this information from the rate of change. Is there something similar that would directly output the rate of growth of the file over time? |
|||
|
|
|
But beware that it involves acually reading the file, so it might consume a bit more resources than something that watches just file size. |
|||
|
|
|
I have a little perl script that I put in my bash environment as a function:
Sleep seconds defaults to 1.
|
|||
|
|