Re: [HACKERS] Open 6.4 items

From: "Matthew N(dot) Dodd" <winter(at)jurai(dot)net>
To: The Hermit Hacker <scrappy(at)hub(dot)org>
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:40:26
Message-ID: Pine.BSF.4.02.9810291235190.17054-100000@sasami.jurai.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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`

Also, check out what the BSD style ps shows under Solaris (/usr/ucb/ps).

--
| Matthew N. Dodd | 78 280Z | 75 164E | 84 245DL | FreeBSD/NetBSD/Sprite/VMS |
| winter(at)jurai(dot)net | This Space For Rent | ix86,sparc,m68k,pmax,vax |
| http://www.jurai.net/~winter | Are you k-rad elite enough for my webpage? |

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1998-10-29 17:43:04 Re: [HACKERS] regression test results - Linux, cvs
Previous Message Taral 1998-10-29 17:36:02 RE: [HACKERS] Open 6.4 items