jte@psuvax1.UUCP (04/13/87)
I have a little problem, first the background:
I am currently running System V 2.? (and 3.0 on a diff 3b2)
on a ATT 3B2/300.
I am trying to figure out how to read /etc/wtmp. (Like the BSD last
command) and have had to luck. Is there a way that I have overlooked
that makes it easy to read this file? Does someone have a public
domain utility that lets you read out the information from this file?
Thanks for any help.
--Jon
---------------------------------------------------------------------------
Jon Eckhardt | jte@psuvax1.BITNET
736 W. Hamilton Ave. | jte@psuecl.BITNET (VMS account)
State College, PA 16801 | jte@psuvaxg.BITNET (Last resort for bitnet)
---------------------------------------------------------------------------
UUCP = <allegra,ihnp4,atcgva,burdvax,purdue>!psuvax1!jte
---------------------------------------------------------------------------
PSU #1 Phone: 814-237-1901 Work: (leave message) 814-865-9505 PSU #1
---------------------------------------------------------------------------metro@asi.UUCP (04/13/87)
In article <2471@psuvax1.UUCP>, jte@psuvax1.UUCP (Jon Eckhardt) writes: > I am trying to figure out how to read /etc/wtmp. .... > --------------------------------------------------------------------------- > Jon Eckhardt | jte@psuvax1.BITNET Use the "who" command. Try: who -a /etc/wtmp The format is defined in utmp(4). -- Metro T. Sauper, Jr. Assessment Systems, Inc. Director, Remote Systems Development 210 South Fourth Street (215) 592-8900 ..!asi!metro Philadelphia, PA 19106
jlw@io.UUCP (04/15/87)
To look at wtmp look at /usr/lib/acct/fwtmp(1M) and /usr/lib/acct/wtmpfix(1M). I just checked and they're both on my SVR2.P VAX. Should also be on your 3B. Joe Wood ariel!jlw