DragonFly BSD
DragonFly users List (threaded) for 2010-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: Suggestion for hammer cleanup


From: elekktretterr@xxxxxxxxxxxxxx
Date: Tue, 19 Oct 2010 12:31:03 +1100 (EST)

What about hammerd?

* Starts when system starts

* Wakes up every 10 seconds or so to check current system load/memory
usage to estimate if its appropriate to run a cleanup operation at this
time.

* Can have a text file configuration where you can specify maximum
size(GB) of history per PFS or % of disk space

* Remembers last time it was run (stores information on disk in some text
file)

* Maybe it can detect if it's a laptop and running on battery to defer
cleanup till power is plugged in?

The daemon itself would be fairly inexpensive to run.

Petr




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]