Date: Fri, 15 Mar 2002 01:48:44 +0200 From: Giorgos Keramidas <keramida@ceid.upatras.gr> To: Karun <karun@dambiec.com> Cc: freebsd-questions@freebsd.org Subject: Re: Process Reaper for Freebsd Message-ID: <20020314234844.GB5149@hades.hell.gr> In-Reply-To: <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> <008301c1cb98$68ce1b90$3301000a@karunwin2k>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2002-03-15 06:39, Karun wrote: > 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 Wrong type of quotes. Try backquotes in kill `scriptname.sh` :) 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?20020314234844.GB5149>