ports/64812: New port: Wrapper to "top(1)" that maps pids to jails (sysutils/jtop)

Pavel Novikov pavel at ext.by
Sat Mar 27 18:50:13 UTC 2004


>Number:         64812
>Category:       ports
>Synopsis:       New port: Wrapper to "top(1)" that maps pids to jails (sysutils/jtop)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 27 10:50:12 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Pavel Novikov
>Release:        FreeBSD 4.9-RELEASE-p3 i386
>Organization:
>Environment:
System: FreeBSD power.home.neolocation.com 4.9-RELEASE-p3 FreeBSD 4.9-RELEASE-p3 #1: Sat Mar  6 19:32:35 EET 2004     root at power.home.neolocation.com:/usr/obj/usr/src/sys/POWER  i386
>Description:

This a perl wrapper to "top(1)" that gets its output and maps pids to jails.

The wrapper takes all "top(1)" options and passed then to the "top(1)" if some
specified. When no options specified the wrapper uses default options.

No additional software or tools like "jailer(8)" needed.

WWW: http://ext.by/jtop/

>How-To-Repeat:
>Fix:
# 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:
#
#	/usr/ports/sysutils/jtop
#	/usr/ports/sysutils/jtop/pkg-plist
#	/usr/ports/sysutils/jtop/Makefile
#	/usr/ports/sysutils/jtop/pkg-descr
#	/usr/ports/sysutils/jtop/distinfo
#
echo c - /usr/ports/sysutils/jtop
mkdir -p /usr/ports/sysutils/jtop > /dev/null 2>&1
echo x - /usr/ports/sysutils/jtop/pkg-plist
sed 's/^X//' >/usr/ports/sysutils/jtop/pkg-plist << 'END-of-/usr/ports/sysutils/jtop/pkg-plist'
Xbin/jtop
END-of-/usr/ports/sysutils/jtop/pkg-plist
echo x - /usr/ports/sysutils/jtop/Makefile
sed 's/^X//' >/usr/ports/sysutils/jtop/Makefile << 'END-of-/usr/ports/sysutils/jtop/Makefile'
X# New ports collection makefile for:	jtop
X# Date created:				27 March 2004
X# Whom:					Pavel Novikov
X#
X# $FreeBSD$
X#
X
XPORTNAME=	jtop
XPORTVERSION=	1.0
XCATEGORIES=	sysutils
XMASTER_SITES=	http://ext.by/jtop/
XPKGNAMEPREFIX=
XDISTNAME=	${PORTNAME}-${PORTVERSION}
X
XMAINTAINER=	pavel at ext.by
XCOMMENT=	Wrapper to "top(1)" that maps pids to jails
X
XBUILD_DEPENDS=	${SITE_PERL}/${PERL_ARCH}/Term/ReadKey.pm:${PORTSDIR}/devel/p5-Term-ReadKey
XRUN_DEPENDS=	${BUILD_DEPENDS}
X
XMAN1=		jtop.1
XMANCOMPRESSED=	yes
X
X.include <bsd.port.mk>
END-of-/usr/ports/sysutils/jtop/Makefile
echo x - /usr/ports/sysutils/jtop/pkg-descr
sed 's/^X//' >/usr/ports/sysutils/jtop/pkg-descr << 'END-of-/usr/ports/sysutils/jtop/pkg-descr'
XThis a perl wrapper to "top(1)" that gets its output and maps pids to jails.
X
XThe wrapper takes all "top(1)" options and passed then to the "top(1)" if some
Xspecified. When no options specified the wrapper uses default options.
X
XNo additional software or tools like "jailer(8)" needed.
X
XWWW: http://ext.by/jtop/
END-of-/usr/ports/sysutils/jtop/pkg-descr
echo x - /usr/ports/sysutils/jtop/distinfo
sed 's/^X//' >/usr/ports/sysutils/jtop/distinfo << 'END-of-/usr/ports/sysutils/jtop/distinfo'
XMD5 (jtop-1.0.tar.gz) = 52b6b71be39360b5171b966478ac75c8
XSIZE (jtop-1.0.tar.gz) = 2893
END-of-/usr/ports/sysutils/jtop/distinfo
exit

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



More information about the freebsd-ports-bugs mailing list