w with a username limits the report to that user's sessions, showing login time, idle duration, and the command each terminal runs. The WHAT column reveals whether alice is idle or actively working. Bare w covers everyone logged in.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.