Skip site navigation (1)Skip section navigation (2)
Date:      27 Oct 2000 20:45:17 -0000
From:      Peter Pentchev <roam@orbitel.bg>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/22355: new port: sysutils/pslist
Message-ID:  <20001027204517.8715.qmail@ringworld.oblivion.bg>

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

>Number:         22355
>Category:       ports
>Synopsis:       new port: sysutils/pslist
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 27 13:50:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Peter Pentchev
>Release:        FreeBSD 4.1.1-STABLE i386
>Organization:
Orbitel JSCo.
>Environment:

current ports tree

>Description:

pslist is a command-line utility to view a process and all its children.  
When invoked as 'rkill' (or anything ending in 'kill'), it sends a signal
to the specified pid's or process names with the same command-line syntax
and semantics as kill(1).

This may be useful for bringing down a service monitoring daemon which
respawns its services, along with all said services.  (And no, I do not
really mean init(8) :)

>How-To-Repeat:

N/A

>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:
#
#	pslist
#	pslist/Makefile
#	pslist/distinfo
#	pslist/pkg-comment
#	pslist/pkg-descr
#	pslist/pkg-plist
#
echo c - pslist
mkdir -p pslist > /dev/null 2>&1
echo x - pslist/Makefile
sed 's/^X//' >pslist/Makefile << 'END-of-pslist/Makefile'
X# New ports collection makefile for:	pslist
X# Date created:		27 October 2000
X# Whom:			roam@orbitel.bg
X#
X# $FreeBSD$
X#
X
XPORTNAME=	pslist
XPORTVERSION=	1.0
XCATEGORIES=	sysutils
XMASTER_SITES=	http://mail.orbitel.bg/~roam/devel/sysutils/ \
X		http://ringwraith.online.bg/~roam/devel/sysutils/
X
XMAINTAINER=	roam@orbitel.bg
X
XNO_BUILD=	defined
X
X.include <bsd.port.mk>
END-of-pslist/Makefile
echo x - pslist/distinfo
sed 's/^X//' >pslist/distinfo << 'END-of-pslist/distinfo'
XMD5 (pslist-1.0.tar.gz) = 7bd8d3c9b1394dcf3447d37ddcba9e2d
END-of-pslist/distinfo
echo x - pslist/pkg-comment
sed 's/^X//' >pslist/pkg-comment << 'END-of-pslist/pkg-comment'
XA utility to view or send signals to processes with all their children
END-of-pslist/pkg-comment
echo x - pslist/pkg-descr
sed 's/^X//' >pslist/pkg-descr << 'END-of-pslist/pkg-descr'
Xpslist is a simple command-line utility for viewing and sending signals
Xto a whole process tree.
X
XAuthor:		Peter Pentchev <roam@orbitel.bg>
END-of-pslist/pkg-descr
echo x - pslist/pkg-plist
sed 's/^X//' >pslist/pkg-plist << 'END-of-pslist/pkg-plist'
Xbin/pslist
Xbin/rkill
END-of-pslist/pkg-plist
exit


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


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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