Where to start First steps track · 15 stages
Linux Labs

uptime, who, w — who is on the system and the load

cheat sheet · Linux https://lab.dimsanych.ru/en/wiki/uptime-who/

Cheat sheet

  • uptime uptime and load average
  • nproc number of cores — what to compare load against
  • w who's on the system and what they're doing now
  • who -a who's logged in, in detail
  • last -n 20 the last 20 logins
  • last reboot reboot 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.

Loading…