last

System logins and logouts.

Table schema

Name Type Description
username TEXT Entry username
tty TEXT Entry terminal
pid INTEGER Process (or thread) ID
type INTEGER Entry type, according to ut_type types (utmp.h)
time INTEGER Entry timestamp
host TEXT Entry hostname