DFETA -- Disk Freespace ETA Estimation

SYNOPSIS | DESCRIPTION | REQUIREMENTS | INSTALL | EXAMPLE OUTPUT | FAQ | LICENSE | FEEDBACK | AUTHOR

SYNOPSIS

dfeta sample
dfeta -d /usr/bin/df
dfeta
dfeta -h

DESCRIPTION

dfeta samples disk freespace information on regular periods. then it can show (rough) estimate time when disk/device will be full.

to sample current status (free space) on all local filesystems:

dfeta sample
to get estimates for the sampled filesystems:

dfeta eta
or just:

dfeta
'dfeta sample' is supposed to be run on regular basis (for example from the crontab). to attach it to every hour in the crontab you need to enter this line:

0 * * * * /usr/local/bin/dfeta sample
dfeta holds current statistics in:

$HOME/.dfeta/data
each 'sample' command will backup previous data file.

REQUIREMENTS

dfeta needs Perl. it is pure perl implementation and uses the following perl modules:

Data::Dumper
Storable
Math::BigFloat
all of them should be standard and packed inside the Perl package you have installed.

INSTALL

install is simple. just put dfeta file in your visible executables path. for example one of:

/usr/local/bin
/usr/bin
~/bin

EXAMPLE OUTPUT

Device    | Mount point      | Estimate full at | Full in     |
/dev/sda2 | /                | [never]          | [n/a]       |
/dev/sdb2 | /third           | Fri Sep  3  2010 | in 2 months |
/dev/sde2 | /home/cade/back  | Mon Apr 14  2011 | in 9 months |

FAQ

Q: what estimation algorithm is used?
A: currently only linear regression is used.
   more algorithms may be added in the future.
   no additional sampling will be needed for other algorithms.
   just keeps your sampling regular!

LICENSE

dfeta is distributed under the GPL license, see COPYING for the full license text.

FEEDBACK

all notes, suggestions, ideas you may have are welcome. thanks!

AUTHOR

Vladi Belperchinov-Shabanski
<[email protected]> <[email protected]> <[email protected]>
http://cade.datamax.bg/

COPYING 17`976 bytes
Nov 24, 2021
dfeta-1.0.tar.gz 10`267 bytes
Nov 24, 2021
HISTORY 726 bytes
Nov 24, 2021
README 2`075 bytes
Nov 24, 2021