* killing a process -- kill(id, SIGKILL);
@ 2001-09-21 9:51 Ivan Novick
2001-09-28 17:19 ` Alexandre Oliva
0 siblings, 1 reply; 2+ messages in thread
From: Ivan Novick @ 2001-09-21 9:51 UTC (permalink / raw)
To: gcc-help
Hi,
I am killing a child process with
kill(id, SIGKILL);
the process is still displayed when issuing the command ps -a except it says
<defunct>
Is this the best way to kill a process?
Thanks,
Ivan
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: killing a process -- kill(id, SIGKILL);
2001-09-21 9:51 killing a process -- kill(id, SIGKILL); Ivan Novick
@ 2001-09-28 17:19 ` Alexandre Oliva
0 siblings, 0 replies; 2+ messages in thread
From: Alexandre Oliva @ 2001-09-28 17:19 UTC (permalink / raw)
To: Ivan Novick; +Cc: gcc-help
On Sep 21, 2001, "Ivan Novick" <ivandn@abac.com> wrote:
> kill(id, SIGKILL);
> the process is still displayed when issuing the command ps -a except it says
> <defunct>
> Is this the best way to kill a process?
This mailing list is for help people get GCC working, not a general
Unix programming helpdesk. Please use a more appropriate forum for
such questions next time.
<defunct> means the process was successfully killed. The kernel is
just waiting for the parent process to collect the exit status of the
process with wait().
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-09-28 17:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-21 9:51 killing a process -- kill(id, SIGKILL); Ivan Novick
2001-09-28 17:19 ` Alexandre Oliva
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).