Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Mar 2002 06:39:59 +1000
From:      "Karun" <karun@dambiec.com>
To:        "Giorgos Keramidas" <keramida@ceid.upatras.gr>
Cc:        <freebsd-questions@freebsd.org>
Subject:   Re: Process Reaper for Freebsd
Message-ID:  <008301c1cb98$68ce1b90$3301000a@karunwin2k>
References:  <004701c1ca54$77ad8a50$3301000a@karunwin2k> <20020313115333.GF434@hades.hell.gr> <009d01c1caca$95578530$3301000a@karunwin2k> <20020313220840.GB40511@hades.hell.gr> <003101c1cb18$df923840$3301000a@karunwin2k> <20020314163453.GA607@hades.hell.gr>

next in thread | previous in thread | raw e-mail | index | archive | help
Here the script is after being modified.

#!/bin/sh

ps xau | sed -e 1d |grep -v '^root' |grep -v '^vpopmail' |grep -v '^qmail'
|grep -v '^mysql' |\
    awk '{print $2,$7}' | cut -d' ' -f1

When i run kill 'scriptname.sh' it comes up with a message saying

kill: reaper: no such pid

Karun


----- Original Message -----
From: "Giorgos Keramidas" <keramida@ceid.upatras.gr>
To: "Karun" <karun@dambiec.com>
Cc: <freebsd-questions@freebsd.org>
Sent: Friday, March 15, 2002 2:34 AM
Subject: Re: Process Reaper for Freebsd


On 2002-03-14 15:27, Karun wrote:
> I have modified the reaper script to how i want it. except when i try
> running kill 'reaper'
> it does not work.
> It lists all the process ids which is killed.
> I am using freebsd 4.4
> Karun

Really hard to guess what modifications you made.
Can we see the script?  Please?

Giorgos Keramidas                       FreeBSD Documentation Project
keramida@{freebsd.org,ceid.upatras.gr}  http://www.FreeBSD.org/docproj/



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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?008301c1cb98$68ce1b90$3301000a>