Re: [HACKERS] Open 6.4 items

Поиск
Список
Период
Сортировка
От The Hermit Hacker
Тема Re: [HACKERS] Open 6.4 items
Дата
Msg-id Pine.BSF.4.05.9810292205010.28793-100000@thelab.hub.org
обсуждение исходный текст
Ответ на Re: [HACKERS] Open 6.4 items  ("Matthew N. Dodd" <winter@jurai.net>)
Список pgsql-hackers
On Thu, 29 Oct 1998, Matthew N. Dodd wrote:

> On Thu, 29 Oct 1998, The Hermit Hacker wrote:
> >     Okay, now you risk getting on my bad side :)  I know what PPID
> > stands for...now you tell me which of these processes to SIGHUP:
> > 
> >     root 18942 22213  0 13:22:03 ?        0:00 /usr/local/sbin/sendmail
> >     root 18946 22213  0 13:22:03 ?        0:00 /usr/local/sbin/sendmail
> 
> 2 open connections.
> 
> >     root 18948     1  0 13:22:04 ?        0:00 /usr/local/sbin/sendmail
> 
> a local delivery spawned by an open connection that closed and left the
> local delivery to finish, thus orphaning it to init (PID1)
> 
> >     root 22213     1  0   Oct 26 ?        1:40 /usr/local/sbin/sendmail
> 
> The listener.
> 
> >     And ya, I know, the one with the older date...the point is that
> > you can't really automate this, except to do:
> 
> You're trying to kill the listener?
> 
> You do know you can use truss and lsof to figure this out as well right?
> 
> Or you could do:
> 
>     kill -HUP `head -1 /var/run/sendmail.pid`
Yes, of course, but this was not the point of the whole
thread...:)

> Also, check out what the BSD style ps shows under Solaris (/usr/ucb/ps).
No apparent difference in the output...wait, you'll take me too
literally on that, eh? :)  Both show the sasme information in the last
field../usr/local/sbin/sendmail -bd -q1h :)


Marc G. Fournier                                
Systems Administrator @ hub.org 
primary: scrappy@hub.org           secondary: scrappy@{freebsd|postgresql}.org 



В списке pgsql-hackers по дате отправления:

Предыдущее
От: The Hermit Hacker
Дата:
Сообщение: RE: [HACKERS] Open 6.4 items
Следующее
От: The Hermit Hacker
Дата:
Сообщение: Re: [HACKERS] flock patch breaks things here