Re: [HACKERS] Open 6.4 items

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

> On Thu, 29 Oct 1998, The Hermit Hacker wrote:
> >     Solaris just doesn't have any mechanisms to work around the
> > limitation, I guess *shrug* It really sucks when you want to SIGHUP
> > the "parent process", which, under FreeBSD at least, is the one that
> > states: -accepting connections, but under Solaris they are *all* the
> > same :)
> 
> $ ps -eaf
>      UID   PID  PPID  C    STIME TTY      TIME CMD
>     root     0     0  0   Oct 12 ?        0:01 sched
>     root     1     0  0   Oct 12 ?        0:15 /etc/init -
> ...
> 
> You'll note the 'PPID' field.
> 
> 3 guesses what that stands for.
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  root 18948     1  0 13:22:04 ?        0:00 /usr/local/sbin/sendmail   root 22213     1  0
Oct26 ?        1:40 /usr/local/sbin/sendmail
 
And ya, I know, the one with the older date...the point is that
you can't really automate this, except to do:
kill -HUP `ps -aef | grep sendmail | awk '{print $2}'`
And SIGHUP them all...




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

Предыдущее
От: "Pedro J. Lobo"
Дата:
Сообщение: Re: [HACKERS] 6.4 BETA2 fails to compile on Digital Unix 4.0d
Следующее
От: The Hermit Hacker
Дата:
Сообщение: Re: [HACKERS] Open 6.4 items