HP3000-L Archives

December 2000, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Mark Bixby <[log in to unmask]>
Reply To:
Mark Bixby <[log in to unmask]>
Date:
Wed, 20 Dec 2000 13:47:33 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (18 lines)
John Burke wrote:
>
> I forgot to follow through on the example below. So here it is. My take is
> that if I want to kill the apache job from the shell, I want to kill the PID
> 6029390, which is not the smallest, btw.

As John points out, the smallest PID is not necessarily the correct PID to
kill.

If you really wanted to kill based on ps output alone, I'd do a ps -ef so you
can also see the parent PID, and then kill the process whose parent is
CI.PUB.SYS or SH.HPBIN.SYS.  I leave it as an exercise for the reader to
determine the parent/child relationships by doing something clever like
processing the ps output with either awk, perl, or even boring old join.
--
[log in to unmask]
Remainder of .sig suppressed to conserve scarce California electrons...

ATOM RSS1 RSS2