981e5688cb
find the amount of disk space used for each of the paths (actually, it collects all values in one single du run). It adds the new value to the list, shifting old values up. It then generates a nice report of the amount of disk space occupied in each of the specified paths, together with the amount it grew (or shrinked) since the previous run, and since 7 runs ago. When run daily, this gives daily and weekly figures. PR: ports/92139 Submitted by: Jeffrey H. Johnson <CPE1704TKS@bellsouth.net>
29 lines
703 B
Makefile
29 lines
703 B
Makefile
# New ports collection makefile for: dusage
|
|
# Date created: 22 January 2006
|
|
# Whom: Jeffrey H. Johnson <CPE1704TKS@bellsouth.net>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= dusage
|
|
PORTVERSION= 19900227
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= ftp://ftp.unicamp.br/pub/unix-c/sysadmin/ \
|
|
http://ftp.br.xemacs.org/pub/unix-c/sysadmin/
|
|
DISTNAME= dusage
|
|
EXTRACT_SUFX= .tar.Z
|
|
|
|
MAINTAINER= CPE1704TKS@bellsouth.net
|
|
COMMENT= Report about disk space in use, change since last run, etc
|
|
|
|
NO_BUILD= yes
|
|
USE_PERL5= yes
|
|
|
|
NO_CDROM= may not be sold
|
|
RESTRICTED= may not be used to harm any living creature including the world and the universe
|
|
|
|
ALL_TARGET= ${PORTNAME}
|
|
MAN1= dusage.1
|
|
PLIST_FILES= bin/dusage
|
|
|
|
.include <bsd.port.mk>
|