tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: Lastcomm command
@ 2000-11-17 17:17 Darryl Cook
  0 siblings, 0 replies; only message in thread
From: Darryl Cook @ 2000-11-17 17:17 UTC (permalink / raw)
  To: tru64-unix-managers

Thanks to Jerome Berkman, Tom Blinn and Paul Sand for their quick
responses.  Original question is posted below.

Paul suggested writing my own c code which really wasnt too bad and even
sent a sample script which i modified fairly easily.  You can find the
record layout in /usr/include/sys/acct.h

Tom responded that I indeed was correct that you basically cannot ask
lastcomm to look at another file other than the pacct file.  Its built
into the script.

Jerome suggested that I use acctcom which did do what I wanted fairly
easily as well.


thanks for the quick responses.....

Jerome M Berkman wrote:
> 
> Use acctcom instead.  It is faster, has many more option including
> the ability to look at other files.
> 
>         - Jerry Berkman, UC Berkeley
> 
> On Fri, 17 Nov 2000, Darryl Cook wrote:
> 
> > Is there any way to tell lastcomm to look at a file other than the pacct
> > file?  I would like to look through some of the older files which have
> > been rotated out.  Our system rotates in a new pacct file every 2
> > weeks.  I have looked through the man pages and there doesnt seem to be
> > an easy way to do this.  We are using DU4.0f on a Alpha 2100A.
> > --
> > Darryl Cook
> > Systems Programmer
> > Computer Science Dept
> > Appalachian State University
> > Boone, NC 28608
> >
> > 828-262-2296
> > dlc@cs.appstate.edu
> >

-- 
Darryl Cook
Systems Programmer
Computer Science Dept
Appalachian State University
Boone, NC 28608

828-262-2296
dlc@cs.appstate.edu

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-11-17 17:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-11-17 17:17 SUMMARY: Lastcomm command Darryl Cook

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox