Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Jan 2006 01:39:14 -0500 (EST)
From:      "Jeffrey H. Johnson" <CPE1704TKS@bellsouth.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        CPE1704TKS@bellsouth.net
Subject:   ports/92139: [NEW PORT] sysutils/dusage: Report about disk space in use, change since last run, etc
Message-ID:  <20060122063914.E828E39833@offworld.cqasys.com>
Resent-Message-ID: <200601220810.k0M8AAiM073489@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         92139
>Category:       ports
>Synopsis:       [NEW PORT] sysutils/dusage: Report about disk space in use, change since last run, etc
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 22 08:10:10 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Jeffrey H. Johnson
>Release:        FreeBSD 6.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD offworld.cqasys.com 6.0-STABLE FreeBSD 6.0-STABLE #21: Wed Jan 18 22:35:45 EST 2006
>Description:
Guarding disk space is one of the problems of system management. 

Using a list of pathnames, this program filters the output of du(1) to
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.

This program requires perl version 3.0, patchlevel 4 or higher.

Copyright 1990 Johan Vromans, all rights reserved.

Peaceware. This program may be used, modified and distributed as long as
this copyright notice remains part of the source. It may not be sold, or 
be used to harm any living creature including the world and the universe.

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- dusage-19900227.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	dusage
#	dusage/files
#	dusage/files/patch-aa
#	dusage/Makefile
#	dusage/distinfo
#	dusage/pkg-descr
#	dusage/pkg-plist
#
echo c - dusage
mkdir -p dusage > /dev/null 2>&1
echo c - dusage/files
mkdir -p dusage/files > /dev/null 2>&1
echo x - dusage/files/patch-aa
sed 's/^X//' >dusage/files/patch-aa << 'END-of-dusage/files/patch-aa'
X*** Makefile.orig	Sun Jan 22 01:18:50 2006
X--- Makefile	Sun Jan 22 01:20:04 2006
X***************
X*** 0 ****
X--- 1,3 ----
X+ install:
X+ 	install -m 755 dusage.pl ${PREFIX}/bin/dusage
X+ 	install -m 644 dusage.1 ${PREFIX}/man/man1
END-of-dusage/files/patch-aa
echo x - dusage/Makefile
sed 's/^X//' >dusage/Makefile << 'END-of-dusage/Makefile'
X# New ports collection makefile for:    dusage
X# Date created:         22 January 2006
X# Whom:                 Jeffrey H. Johnson <CPE1704TKS@bellsouth.net>
X#
X# $FreeBSD: ports/sysutils/dusage/Makefile,v 1.00 2006/01/22 01:05:09 irn Exp $
X#
X
XPORTNAME=	dusage
XPORTVERSION=	19900227
XCATEGORIES=	sysutils
XMASTER_SITES=	ftp://ftp.unicamp.br/pub/unix-c/sysadmin/ \
X		http://ftp.br.xemacs.org/pub/unix-c/sysadmin/
XDISTNAME=	dusage
XEXTRACT_SUFX=	.tar.Z
X
XMAINTAINER=	CPE1704TKS@bellsouth.net
XCOMMENT=	Report about disk space in use, change since last run, etc
X
XNO_BUILD=	yes
XUSE_PERL5=	yes
X
XNO_CDROM=	may not be sold
XRESTRICTED=	may not be used to harm any living creature including the world and the universe
X
XALL_TARGET=	${PORTNAME}
XMAN1=		dusage.1
X
X.include <bsd.port.mk>
END-of-dusage/Makefile
echo x - dusage/distinfo
sed 's/^X//' >dusage/distinfo << 'END-of-dusage/distinfo'
XSIZE (dusage.tar.Z) = 10436
XMD5 (dusage.tar.Z) = f2d95cdf9bb7747cdc855079142b9e23
XSHA256 (dusage.tar.Z) = 4010c9c543c0d20a27d823c44d1e51a6f1245f6480abfbdde0be661482f05b5f
XRMD160 (dusage.tar.Z) = fedc871da417a715715d89284d3f6d6f781b726b
END-of-dusage/distinfo
echo x - dusage/pkg-descr
sed 's/^X//' >dusage/pkg-descr << 'END-of-dusage/pkg-descr'
XGuarding disk space is one of the problems of system management. 
X
XUsing a list of pathnames, this program filters the output of du(1) to
Xfind the amount of disk space used for each of the paths (actually, it
Xcollects all values in one single du run). It adds the new value to
Xthe list, shifting old values up. It then generates a nice report of
Xthe amount of disk space occupied in each of the specified paths,
Xtogether with the amount it grew (or shrinked) since the previous run,
Xand since 7 runs ago. When run daily, this gives daily and weekly
Xfigures.
X
XThis program requires perl version 3.0, patchlevel 4 or higher.
X
XCopyright 1990 Johan Vromans, all rights reserved.
X
XPeaceware. This program may be used, modified and distributed as long as
Xthis copyright notice remains part of the source. It may not be sold, or 
Xbe used to harm any living creature including the world and the universe.
END-of-dusage/pkg-descr
echo x - dusage/pkg-plist
sed 's/^X//' >dusage/pkg-plist << 'END-of-dusage/pkg-plist'
Xbin/dusage
END-of-dusage/pkg-plist
exit
--- dusage-19900227.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060122063914.E828E39833>