Re: [HACKERS] Open 6.4 items

From: The Hermit Hacker <scrappy(at)hub(dot)org>
To: "Matthew N(dot) Dodd" <winter(at)jurai(dot)net>
Cc: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>, brook(at)trillium(dot)NMSU(dot)Edu, jwieck(at)debis(dot)com, hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] Open 6.4 items
Date: 1998-10-29 17:24:06
Message-ID: Pine.BSF.4.05.9810291321080.1918-100000@thelab.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 Oct 26 ? 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...

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message The Hermit Hacker 1998-10-29 17:26:23 Re: [HACKERS] Open 6.4 items
Previous Message Pedro J. Lobo 1998-10-29 17:24:00 Re: [HACKERS] 6.4 BETA2 fails to compile on Digital Unix 4.0d