Skip to content

mcarpenter/lastlog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lastlog

lastlog is a small program to display the contents of Solaris'
/var/adm/lastlog. This is a binary file that gets updated upon each
user login.

Although similar information can be extracted from wtmpx(4) (using
last(1)), reading the lastlog may be simpler or quicker if wtmpx(4)
grows quickly or is aggressively rolled.

The lastlog should not be confused with lastlogin(1M) from the
Solaris accounting facility.


Usage:

  lastlog [path]


Sample output:

  0      root      Mon Oct 12 11:50:21 2009  pts/10   saturn
  10001  felipe    Wed Sep 17 14:15:02 2008  pts/8    122.106.27.6
  10013  boris     Mon Sep 21 12:23:54 2009  pts/18   jupiter


To build:

    make

About

View the contents of the Solaris lastlog file

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published