[prev in list] [next in list] [prev in thread] [next in thread]
List: freebsd-hackers
Subject: Re: (no subject)
From: Joseph Koshy <joseph.koshy () gmail ! com>
Date: 2005-05-23 11:58:49
Message-ID: 84dead7205052304585ac4190 () mail ! gmail ! com
[Download RAW message or body]
> How can I get the process_id of a process when I've the
> process_name from within a C program? Also can the command
You could look at the way its done in
"src/usr.bin/killall/killall.c", or read the manual page
for kvm_getprocs(3).
> kill (pid, SIGCONT) be used to restart a dead daemon process
SIGCONT can only resume existing processes that are stopped.
--
FreeBSD Volunteer, http://people.freebsd.org/~jkoshy
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic