2015-12-29 13:00:40 +00:00
|
|
|
# w
|
|
|
|
|
|
|
|
> Show who is logged on and what they are doing.
|
|
|
|
> Print user login, TTY, remote host, login time, idle time, current process.
|
2021-11-04 10:06:14 +00:00
|
|
|
> More information: <https://ss64.com/osx/w.html>.
|
2015-12-29 13:00:40 +00:00
|
|
|
|
2023-06-09 09:53:30 +01:00
|
|
|
- Show logged-in users information:
|
2015-12-29 13:00:40 +00:00
|
|
|
|
|
|
|
`w`
|
|
|
|
|
2023-06-09 09:53:30 +01:00
|
|
|
- Show logged-in users information without a header:
|
2015-12-29 13:00:40 +00:00
|
|
|
|
|
|
|
`w -h`
|
|
|
|
|
2023-06-09 09:53:30 +01:00
|
|
|
- Show information about logged-in users, sorted by their idle time:
|
2015-12-29 13:00:40 +00:00
|
|
|
|
|
|
|
`w -i`
|