(no subject)

Joseph Koshy joseph.koshy at gmail.com
Mon May 23 11:58:31 GMT 2005

> 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

More information about the freebsd-hackers mailing list