Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Sep 1996 04:31:55 -0400 (EDT)
From:      jack <jack@xtalwind.net>
To:        hmmm <hmmm@alaska.net>
Cc:        freebsd-questions <freebsd-questions@FreeBSD.org>
Subject:   Re: user ppp
Message-ID:  <Pine.FBS.3.95.960914041522.2660C-100000@zeus.xtalwind.net>
In-Reply-To: <3239F50E.D6D@alaska.net>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Fri, 13 Sep 1996, hmmm wrote:

> > ppp -auto <whatever>
> 
> -i- don't see a PID for PPP when started as a daemon (-auto)
> are you sure ? 

Never peeked into /var/run/PPP.<whatever> have you?  Or entered
ps -ax | grep ppp  That gives me:
165  ?? Ss   -0:04.18 ppp -auto cwc-demand

Gee, that 165 sure looks like the contents of /var/run/PPP.cwc-demand
zeus:jack {8} cat /var/run/PPP.cwc-demand
165
zeus:jack {9}

> actually, httpd doesn't show either. 

I don't have that running here, but a quick telnet to the office turns up:

17601  ??  I      0:00.33 /usr/local/etc/httpd/src/httpd -f /usr/local/etc/http
17613  ??  I      0:00.26 /usr/local/etc/httpd/src/httpd -f /usr/local/etc/http
17614  ??  I      0:00.26 /usr/local/etc/httpd/src/httpd -f /usr/local/etc/http
17640  ??  I      0:00.28 /usr/local/etc/httpd/src/httpd -f /usr/local/etc/http
17697  ??  I      0:00.28 /usr/local/etc/httpd/src/httpd -f /usr/local/etc/http
17725  ??  I      0:00.13 /usr/local/etc/httpd/src/httpd -f /usr/local/etc/http
17763  ??  I      0:00.09 /usr/local/etc/httpd/src/httpd -f /usr/local/etc/http
17783  ??  I      0:00.06 /usr/local/etc/httpd/src/httpd -f /usr/local/etc/http
29753  ??  Ss     0:52.03 /usr/local/etc/httpd/src/httpd -f /usr/local/etc/http

> i don't 
> believe daemons have PIDs ...

It's not a question of belief, it's a fact that they do.

> i'd like to know why daemons are special,

They aren't.

> ie, why can't they
> be binaries that can be started & stopped like any other process?

They are.

> please forgive me if i'm being ignorant!

You're forgiven.  ;)


--------------------------------------------------------------------------
Jack O'Neill                    Finger jacko@onyx.xtalwind.net or  
jack@xtalwind.net               http://www.xtalwind.net/~jacko/pubpgp.html
#include <std_disclaimers.h>    for my PGP key.
 PGP Key fingerprint = F6 C4 E6 D4 2F 15 A7 67   FD 09 E9 3C 5F CC EB CD
--------------------------------------------------------------------------





Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?Pine.FBS.3.95.960914041522.2660C-100000>