Assigning a PID to a given program?

Marc Wiz marc at
Fri Jun 13 10:34:18 PDT 2003

On Fri, Jun 13, 2003 at 01:27:00PM -0400, Lord Raiden wrote:
> Regreatably it was long enough back that I can't remember which ones it
> was.  One I think might have been in question was when I was rebuilding
> my sendmail configs.  When the script tried to bounce sendmail it tried
> to do it by PID.

If that's the case what about looking for the programs PID in a file?
I.e. /var/run ?

Worst comes to worst you could pipe ps to grep.


Marc Wiz
marc at
Yes, that really is my last name.

More information about the freebsd-questions mailing list