who
Retrieve active user sessions with terminal device, login time, and originating host to audit logins and session activity.
Instructions
Return active user sessions with terminal device, login time, and originating host. Read-only, no side effects. Returns JSON with session details. Use to audit active logins and session activity. Not for just usernames — use 'users' for a compact name list. Not for user account properties — use 'pinky' for home directory and shell. See also 'users', 'pinky'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | Write who-like rows without a JSON envelope. |