From owner-freebsd-isp Sun Nov 7 17:50:25 1999 Delivered-To: freebsd-isp@freebsd.org Received: from staff.accessus.net (staff.accessus.net [209.145.151.3]) by hub.freebsd.org (Postfix) with ESMTP id 6BC27150F8 for ; Sun, 7 Nov 1999 17:50:21 -0800 (PST) (envelope-from doogie@staff.accessus.net) Received: by staff.accessus.net with Internet Mail Service (5.5.2650.21) id ; Sun, 7 Nov 1999 19:50:21 -0600 Message-ID: From: Jason Young To: 'Leif Neland' Cc: freebsd-isp@FreeBSD.ORG Subject: RE: Query pop3-server of progress Date: Sun, 7 Nov 1999 19:50:20 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01BF298B.9D256F94" Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01BF298B.9D256F94 Content-Type: text/plain; charset="iso-8859-1" > -----Original Message----- > From: Leif Neland [mailto:leifn@neland.dk] > Sent: Friday, November 05, 1999 5:46 PM > To: Jason Young > Cc: 'Leif Neland'; freebsd-isp@FreeBSD.ORG > Subject: RE: Query pop3-server of progress > > > > If you really wanted status info exactly like you described > below, and felt > > like doing a little hacking on qpopper, I'd use > 'setproctitle' to express > > status info. It could show something like this: > > > > # ps -ax > > 77290 ?? Ss 0:17.06 popper: waiting for command (popper) > > 77291 ?? Ss 0:17.06 popper: sending msg 29 (74%) (popper) > > 77292 ?? Ss 0:17.06 popper: updating mailbox (popper) > > > > This doesn't seem to be too difficult. > > However, I haven't had time to upgrade the mailserver from > linux to fbsd > yet, and setproctitle doesn't seem to exist under linux. At least no > manpage is found. > > Does lunix have this, or an equivalent function? > > Leif Well, it's got an equivalent somewhere. One method has been overwriting argv[0], but I'm not sure if that works on Linux (it didn't work on one very simple test I tried). Try downloading a copy of the Sendmail source and seeing how it accomplishes the task. ------_=_NextPart_001_01BF298B.9D256F94 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable RE: Query pop3-server of progress

> -----Original Message-----
> From: Leif Neland [mailto:leifn@neland.dk]
> Sent: Friday, November 05, 1999 5:46 PM
> To: Jason Young
> Cc: 'Leif Neland'; = freebsd-isp@FreeBSD.ORG
> Subject: RE: Query pop3-server of = progress
>
>
> > If you really wanted status info exactly = like you described
> below, and felt
> > like doing a little hacking on qpopper, = I'd use
> 'setproctitle' to express
> > status info. It could show something like = this:
> >
> > # ps -ax
> > 77290  ??  = Ss     0:17.06 popper: waiting for command = (popper)
> > 77291  ??  = Ss     0:17.06 popper: sending msg 29 (74%) = (popper)
> > 77292  ??  = Ss     0:17.06 popper: updating mailbox = (popper)
> >
>
> This doesn't seem to be too difficult.
>
> However, I haven't had time to upgrade the = mailserver from
> linux to fbsd
> yet, and setproctitle doesn't seem to exist = under linux. At least no
> manpage is found.
>
> Does lunix have this, or an equivalent = function?
>
> Leif

Well, it's got an equivalent somewhere. One method = has been overwriting argv[0], but I'm not sure if that works on Linux = (it didn't work on one very simple test I tried). Try downloading a = copy of the Sendmail source and seeing how it accomplishes the = task.

------_=_NextPart_001_01BF298B.9D256F94-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message