cancel
Showing results for 
Search instead for 
Did you mean: 

read wtmp 7 wtmps file

chetana07
Frequent Advisor

read wtmp 7 wtmps file

how to read wtmps and wtmp file in HP-UX11.23?
2 REPLIES
Pete Randall
Outstanding Contributor

Re: read wtmp 7 wtmps file

According to the man page you still use the last command:

http://www.docs.hp.com/en/B2355-90846docs/B2355-90846docs.pdf


Pete

Pete
Fabio Ettore
Honored Contributor

Re: read wtmp 7 wtmps file

Hi,

last is the command to do that.
From man last:

The last command searches backwards through the file /var/adm/wtmp
(which contains a record of all logins and logouts) for information
about a user, a tty, or any group of users and ttys.

HTH.

Best regards,
Fabio
WISH? IMPROVEMENT!