Subject: Re: utmpx.h
To: Christos Zoulas <christos@zoulas.com>
From: Andrew Brown <atatat@atatdot.net>
List: tech-userlevel
Date: 09/24/2001 13:46:58
>| Exit codes and PIDs are VERY good (xref to process accounting, check for
>| status, etc.).  I've missed both of these every time I've migrated a
>| system with session accounting from SysV to *BSD.
>
>Pid is easy and might be useful. Who is responsible for writing out the
>exit code? And how can that be done reliably?

presumably the thing that writes out the "close" record is doing so
because some process has exited...no?  that's gonna be ftpd, telnetd,
rlogind, sshd, or init, right?  i imagine that's about as reliable as
anything.

-- 
|-----< "CODE WARRIOR" >-----|
codewarrior@daemon.org             * "ah!  i see you have the internet
twofsonet@graffiti.com (Andrew Brown)                that goes *ping*!"
andrew@crossbar.com       * "information is power -- share the wealth."