Re: Program Logging.
From: Barry Margolin (barmar_at_alum.mit.edu)
Date: 05/11/04
- Previous message: Todd H.: "Re: Program Logging."
- In reply to: Todd H.: "Re: Program Logging."
- Next in thread: contextswitch: "Re: Program Logging."
- Reply: contextswitch: "Re: Program Logging."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 11 May 2004 13:13:47 -0400
In article <c7r0lt$c7s$1@e250.ripco.com>, comphelp@toddh.net (Todd H.)
wrote:
> mforte3@bloomberg.net (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
time.
-- Barry Margolin, barmar@alum.mit.edu Arlington, MA *** PLEASE post questions in newsgroups, not directly to me ***
- Previous message: Todd H.: "Re: Program Logging."
- In reply to: Todd H.: "Re: Program Logging."
- Next in thread: contextswitch: "Re: Program Logging."
- Reply: contextswitch: "Re: Program Logging."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]