Re: Program Logging.
From: Barry Margolin (barmar_at_alum.mit.edu)
Date: Tue, 11 May 2004 13:13:47 -0400
In article <firstname.lastname@example.org>, email@example.com (Todd H.)
> firstname.lastname@example.org (contextswitch) writes:
> > I need to log UID GID EUID EGID program name,arguments, and time run
> > across Solaris, AIX and HP-UX platforms. For example, every time a
> > user or program runs rcp I need a log entry generated which includes
> > the above information.
> > root other root other ./rcp foo Thu May 06 16:34:53 2004
> > Are there any known tools which will acomplish this? Thanks.
> Have you looked into syslog? If your syslog logging level is
> sufficiently verbose, you may get the tracking you wish for free.
> There are several man pages available for syslog and its accompanying
> .conf file.
> Best Regards,
Syslog only logs things that the applications send to it, and most
programs don't log anything (it's mostly used only by daemons).
What the OP should look into is process accounting. However, I don't
think it typically logs arguments, just the process name, uid, and run
-- Barry Margolin, email@example.com Arlington, MA *** PLEASE post questions in newsgroups, not directly to me ***