RESEND: monitor /var/adm/pacct continuosly w/ acctcom

2007-12-24 20:21:00

I'm attempting to view every command in real time through
system accounting. The problem is when using acctcom when
piping it through tail -f it'll only print the last ten lines, then just sits
there, dormant. It seems acctcom prints to standard output, then
exits once eof is reached.

I tried using GNU gtail w/ various options, yet the same behavior
(prints last 10 lines, then sits there waiting...).

Is there another way of viewing /var/adm/pacct besides the acctcom
command (freeware, perhaps)? Basically, I need to find a tool (any tool)
that can keep /var/adm/pacct open constantly while piping it through
tail -f (tool that converts the data into standard text format).

Can anyone provide the "magic" to pull this off?

- Wally Winzer Jr.

Comments

Got something to say?

You must be logged in to post a comment.