uptime, who, w — who is on the system and the load
cheat sheet · Linux https://lab.dimsanych.ru/en/wiki/uptime-who/Cheat sheet
-
uptimeuptime and load average -
nprocnumber of cores — what to compare load against -
wwho's on the system and what they're doing now -
who -awho's logged in, in detail -
last -n 20the last 20 logins -
last rebootreboot history
Options
uptime takes no arguments and needs none — the three load average
numbers say nothing on their own, their meaning only appears when
compared with nproc. last -f /var/log/btmp shows failed login
attempts separately from wtmp — these are two different logs with
different purposes.