tldr/pages/osx/w.md

18 lines
365 B
Markdown

# w
> Show who is logged on and what they are doing.
> Print user login, TTY, remote host, login time, idle time, current process.
> More information: <https://ss64.com/osx/w.html>.
- Show logged-in users information:
`w`
- Show logged-in users information without a header:
`w -h`
- Show information about logged-in users, sorted by their idle time:
`w -i`