Skip to main content

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:

ElementDescriptionType
hhTotal elapsed hours, with at least two digitssnapshot
mmMinutessnapshot
ssSecondssnapshot
uuuuuuMicroseconds, included only when nonzerosnapshot

For example, at exactly the following uptimes (with zero fractional microseconds), the resource returns:

UptimeReturned string
72 hours, 12 minutes, 34 seconds72:12:34
424 hours, 52 minutes, 50 seconds424: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