[plug] directory usage statistics

Timothy White weirdit at gmail.com
Fri Mar 17 19:32:57 WST 2006


On 17/03/06, Tim Bowden <tim.bowden at westnet.com.au> wrote:
> Hi,
>
> I need to examine the usage of a directory where an app writes temp
> files.  They will often exist for 1 - 10 seconds or so.  Is there any
> such thing as "top for ls" or a metering tool that can give usage stats
> such as no. of files written/ deleted/ file sizes/ disk space used etc
> for a specific directory.  I'm looking at the possibility of putting the
> app's temp directory in a ram drive but I need to have a good idea of
> what the usage pattern is so I can be sure to have enough ram overhead.

Just writing off the top of my head. Would (d|i)notify from the
kernel, with a C app and library binding.... It would work...

Any other ideas?

Tim
--
Linux Counter user #273956



More information about the plug mailing list