aos system
Session power state: lock, sleep, restart, shutdown, logout
10 commands. Run aos system --help for the same list from the binary, or see every group.
Session and power state. info prints OS and hardware facts and works everywhere. lock, sleep, logout, restart and shutdown do exactly what they say with no confirmation, so an agent should check with the person before the last three. thermal prints how hard the OS is throttling to stay cool (macOS: nominal, fair, serious, critical) and the temperatures it exposes: the battery on macOS, where die temperatures sit behind the private SMC, and every thermal zone on Linux. Windows keeps temperatures behind WMI, so thermal is not offered there. load samples CPU for half a second and prints busy % overall and per core plus the 1/5/15-minute load averages (Windows has none); uptime prints how long the machine has been up and when it booted. memory reports total, used, available and free RAM plus swap; available is the number that answers “how much memory is left”, since idle RAM is used as cache and free is usually small.
Commands
Section titled “Commands”aos system info
Section titled “aos system info”Print OS, host, and hardware facts
Under WSL / SSH: runs inside WSL (where aos was started). How the host works
aos system infoaos system infoaos system load
Section titled “aos system load”Print CPU busy % overall and per core, and load averages
Under WSL / SSH: runs inside WSL (where aos was started). How the host works
aos system load [--json]| flag | values | meaning |
|---|---|---|
--json |
Optional |
aos system loadaos system load --jsonaos system lock
Section titled “aos system lock”Lock the screen
needs a display alias: aos lock
Under WSL / SSH: runs on the Windows host (the machine with the screen). How the host works
aos system lockaos system lockaos system logout
Section titled “aos system logout”Log the current user out
needs a display
Under WSL / SSH: runs inside WSL (where aos was started). How the host works
aos system logoutaos system logoutaos system memory
Section titled “aos system memory”Print total, used, available and free RAM, and swap
Under WSL / SSH: runs inside WSL (where aos was started). How the host works
aos system memory [--json]| flag | values | meaning |
|---|---|---|
--json |
Optional |
aos system memoryaos system memory --jsonaos system restart
Section titled “aos system restart”Restart the machine
Under WSL / SSH: runs inside WSL (where aos was started). How the host works
aos system restartaos system restartaos system shutdown
Section titled “aos system shutdown”Power the machine off
Under WSL / SSH: runs inside WSL (where aos was started). How the host works
aos system shutdownaos system shutdownaos system sleep
Section titled “aos system sleep”Put the machine to sleep
Under WSL / SSH: runs on the Windows host (the machine with the screen). How the host works
aos system sleepaos system sleepaos system thermal
Section titled “aos system thermal”Print the thermal state (throttling) and temperatures the OS exposes
darwin · linux only
Under WSL / SSH: runs inside WSL (where aos was started). How the host works
aos system thermal [--json]| flag | values | meaning |
|---|---|---|
--json |
Optional |
aos system thermalaos system thermal --jsonaos system uptime
Section titled “aos system uptime”Print how long the machine has been up and when it booted
Under WSL / SSH: runs inside WSL (where aos was started). How the host works
aos system uptime [--json]| flag | values | meaning |
|---|---|---|
--json |
Optional |
aos system uptimeaos system uptime --json