2014-09-04 22:20:28 +00:00
|
|
|
table_name("last")
|
2015-02-09 01:40:35 +00:00
|
|
|
description("System logins and logouts.")
|
2014-09-04 22:20:28 +00:00
|
|
|
schema([
|
2015-07-16 06:23:42 +00:00
|
|
|
Column("username", TEXT, "Entry username"),
|
|
|
|
Column("tty", TEXT, "Entry terminal"),
|
2015-02-10 02:18:22 +00:00
|
|
|
Column("pid", INTEGER, "Process (or thread) ID"),
|
2015-07-16 06:23:42 +00:00
|
|
|
Column("type", INTEGER, "Entry type, according to ut_type types (utmp.h)"),
|
|
|
|
Column("time", INTEGER, "Entry timestamp"),
|
|
|
|
Column("host", TEXT, "Entry hostname"),
|
2014-09-04 22:20:28 +00:00
|
|
|
])
|
2015-11-09 02:31:50 +00:00
|
|
|
attributes(cachable=True)
|
2014-10-14 04:58:26 +00:00
|
|
|
implementation("last@genLastAccess")
|