From: "Mehall, Michael R." <michael_r_mehall () md ! northgrum ! com>
To: tru64-unix-managers
Subject: SUMMARY: Kill a process and all children
Date: Fri, 26 Apr 2002 19:57:29 +0000 [thread overview]
Message-ID: <102653755322622.tru64-unix-managers.marc@archive.invalid> (raw)
All,
Thanks to Oisin McGuinness for "hitting the nail on the head"! I think I
had a semantics problem with the kill man page! As pointed out by Oisin,
the way to kill a parent and all of its children is by killing the "process
group" (I didn't realize I wanted to kill the process group!).
This is done by inserting a "-" in front of the PID # as in the following
example of parent PID 1234:
kill -TERM -1234
The original post follows:
Tru gurus,
Does anyone know how to kill a process and all of its children? I
thought it was kill -TERM <PID#> but this isn't working. I'm on Tru64 5.1
patch kit 4. TIA!
Mike Mehall
SAP Basis Team
Northrop Grumman Corp.
410-765-0355
michael_r_mehall@mail.northgrum.com
reply other threads:[~2002-04-26 19:57 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox