uptime
Check system stability by retrieving uptime in seconds since boot. Returns JSON or plain integer.
Instructions
Return system uptime in seconds since boot. Read-only, no side effects. Returns JSON with uptime; use --raw for plain integer. Use to check system stability or time since last reboot. Not for current time — use 'date'. Not for CPU information — use 'nproc' for core count. See also 'date', 'nproc'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | Write uptime seconds without a JSON envelope. |