Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: kill and pid files
- X-seq: zsh-workers 3280
- From: mason@xxxxxxxxxxxxxxx (Geoff Wing)
- To: zsh-workers@xxxxxxxxxxxxxxx
- Subject: Re: kill and pid files
- Date: 22 Jun 1997 04:06:36 GMT
- Organization: PrimeNet
- References: <Pine.SUN.3.96.970621113729.17494A-100000@kira> from Timothy Luoma at "Jun 21, 97 11:39:23 am" <199706211846.OAA01626@xxxxxxxxxx>
- Reply-to: mason@xxxxxxxxxxxxxxx
On 22 Jun 1997 04:49:10 +1000, Zoltan Hidvegi <hzoli@xxxxxxxxxxxxxxxxxxx> wrote:
:> > pid () {
:> >     setopt localoptions extendedglob
:> >     local i
:> >     for i
:> >     do
:> >         echo "${(M)${(M)${(f)$(ps acx)}:%* $i #}## #<->}"
:> >     done
:> > }
:> Yes but what if there are TWO processes running with the name 'foo'?
And what if they're shell scripts?  And what if this has nothing to do with
zsh.workers and should at most be in zsh.users?
-- 
Geoff Wing [mason@xxxxxxxxxxxxxxx]   Technical Manager
  Phone    : +61-3-9818 2977         PrimeNet - Internet Consultancy
  Facsimile: +61-3-9819 3788         Web : <URL:http://www.primenet.com.au/>
  Mobile   : 0412 162 441
Messages sorted by:
Reverse Date,
Date,
Thread,
Author