uptime (instance statistics)
The length of time that the AMPS instance has been running, formatted as hh:mm:ss.uuuuuu: hours, minutes, seconds, and microseconds. Hours show the total elapsed hours and can exceed two digits; they do not wrap at 24 hours. The microseconds and preceding decimal point may be omitted when the microseconds are zero.
This format is explained in the table below:
| Element | Description | Type |
|---|---|---|
hh | Total elapsed hours, with at least two digits | snapshot |
mm | Minutes | snapshot |
ss | Seconds | snapshot |
uuuuuu | Microseconds, included only when nonzero | snapshot |
For example, at exactly the following uptimes (with zero fractional microseconds), the resource returns:
| Uptime | Returned string |
|---|---|
| 72 hours, 12 minutes, 34 seconds | 72:12:34 |
| 424 hours, 52 minutes, 50 seconds | 424:52:50 |
An uptime with a nonzero microsecond fraction, such as 72 hours, 12 minutes, 34 seconds and 123456 microseconds, is returned as 72:12:34.123456.
Admin Path: /amps/instance/uptime