Add jps, a perl wrapper to "ps(1)" that gets its output and maps pids to jails.

The wrapper takes all "ps(1)" options and passed then to the "ps(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/jps/

PR:		ports/64813
Submitted by:	Pavel Novikov <pavel@ext.by>
This commit is contained in:
Pav Lucistnik 2004-03-30 01:10:54 +00:00
parent 04c9a664cb
commit c6254c1a30
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=105661
4 changed files with 34 additions and 0 deletions

View File

@ -164,6 +164,7 @@
SUBDIR += jailer
SUBDIR += jailutils
SUBDIR += jdiskreport
SUBDIR += jps
SUBDIR += jtop
SUBDIR += k3b
SUBDIR += kcpuload

23
sysutils/jps/Makefile Normal file
View File

@ -0,0 +1,23 @@
# New ports collection makefile for: jps
# Date created: 27 March 2004
# Whom: Pavel Novikov
#
# $FreeBSD$
#
PORTNAME= jps
PORTVERSION= 1.0
CATEGORIES= sysutils
MASTER_SITES= http://ext.by/jps/
MAINTAINER= pavel@ext.by
COMMENT= Wrapper to ps(1) that maps pids to jails
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Term/ReadKey.pm:${PORTSDIR}/devel/p5-Term-ReadKey
RUN_DEPENDS= ${BUILD_DEPENDS}
MAN1= jps.1
MANCOMPRESSED= yes
PLIST_FILES= bin/jps
.include <bsd.port.mk>

2
sysutils/jps/distinfo Normal file
View File

@ -0,0 +1,2 @@
MD5 (jps-1.0.tar.gz) = 4e0f1842e6ac9e1849dcf8dbc0cd5d16
SIZE (jps-1.0.tar.gz) = 2425

8
sysutils/jps/pkg-descr Normal file
View File

@ -0,0 +1,8 @@
This a perl wrapper to "ps(1)" that gets its output and maps pids to jails.
The wrapper takes all "ps(1)" options and passed then to the "ps(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/jps/