./sysutils/agedu, Utility for tracking down wasted disk space

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]

Branch: CURRENT, Version: 20200705.2a7d4a2, Package name: agedu-20200705.2a7d4a2, Maintainer: pkgsrc-users

Suppose you're running low on disk space. You need to free some up, by finding
something that's a waste of space and deleting it (or moving it to an archive
medium). How do you find the right stuff to delete, that saves you the maximum
space at the cost of minimum inconvenience?

Unix provides the standard du utility, which scans your disk and tells you which
directories contain the largest amounts of data. That can help you narrow your
search to the things most worth deleting.

However, that only tells you what's big. What you really want to know is what's
too big. By itself, du won't let you distinguish between data that's big because
you're doing something that needs it to be big, and data that's big because you
unpacked it once and forgot about it.

Most Unix file systems, in their default mode, helpfully record when a file was
last accessed. Not just when it was written or modified, but when it was even
read. So if you generated a large amount of data years ago, forgot to clean it
up, and have never used it since, then it ought in principle to be possible to
use those last-access time stamps to tell the difference between that and a
large amount of data you're still using regularly.

agedu does same disk scan as du, but also records the last-access times of
everything. Then it builds an index that lets it efficiently generate reports
giving a summary of the results for each subdirectory.

Required to build:

Master sites:

Filesize: 177.548 KB

Version history: (Expand)

CVS history: (Expand)

   2021-10-26 13:20:30 by Nia Alarie | Files touched by this commit (630)
Log message:
sysutils: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes
   2021-10-07 16:58:44 by Nia Alarie | Files touched by this commit (630)
Log message:
sysutils: Remove SHA1 hashes for distfiles
   2021-03-04 11:06:56 by Nia Alarie | Files touched by this commit (2)
Log message:
agedu: Update to 20200705.2a7d4a2

Unknown changes
   2018-08-26 21:33:42 by Amitai Schleier | Files touched by this commit (2)
Log message:
Update to 20180522.5b12791. From the git log:

- Missing .gitignore rule for autoconf detritus.
- Give a sensible error message about misordered dumps.
- Convert to and from a new 'sortable' dump format.
- Factor out dump-file handling. (NFC)
- Remove unused variables spotted by -Wall.
- Revise parsing of /proc/net/tcp[6] for magic HTTP auth.
- Fix mmap(2) error checks
- Fix pathname-lookup failure on 'agedu -H /'.
- Add a --numeric option, modifying HTML multifile output.
   2017-08-01 16:59:08 by Thomas Klausner | Files touched by this commit (211)
Log message:
Follow some http -> https redirects.
   2016-12-15 11:11:39 by Amitai Schleier | Files touched by this commit (2)
Log message:
Update to 20160920.853cea9. From the changelog:

- Revise versioning system to be date-based.
- Pedantic changes to capitalisation of byte/kilobyte/megabyte etc.
- Clarify the --cgi usage a bit, and give an example.
- Rearrange documentation of -S, -L and -D.
   2015-11-04 02:32:42 by Alistair G. Crooks | Files touched by this commit (499)
Log message:
Add SHA512 digests for distfiles for sysutils category

Problems found with existing digests:
	Package memconf distfile memconf-2.16/memconf.gz
	b6f4b736cac388dddc5070670351cf7262aba048 [recorded]
	95748686a5ad8144232f4d4abc9bf052721a196f [calculated]

Problems found locating distfiles:
	Package dc-tools: missing distfile dc-tools/abs0-dc-burn-netbsd-1.5-0-gae55ec9
	Package ipw-firmware: missing distfile ipw2100-fw-1.2.tgz
	Package iwi-firmware: missing distfile ipw2200-fw-2.3.tgz
	Package nvnet: missing distfile nvnet-netbsd-src-20050620.tgz
	Package syslog-ng: missing distfile syslog-ng-3.7.2.tar.gz

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2014-02-14 14:48:40 by Amitai Schlair | Files touched by this commit (2)
Log message:
Distfile changed in place, but seems stable now.