linux-logins

Extracts login and logout histories of all users from the /var/log/wtmp log.

Syntax

linux-logins

Description

After running the linux-logins command, the output fields are as follows:

Output Fields

FieldTypeDescription
_timeDateLogin time
src_ipIPv4 addressAccess IP address
hostStringHostname of client (IP or domain name)
pidIntegerProcess ID
userStringUser ID
ttyStringTerminal
login_timeDateLogin time
logout_timeDateLogout time