uptime - bruno-beloff/scs_dev GitHub Wiki

docs > software repositories > scs_dev > commands > device status


DESCRIPTION

The uptime utility is used to run the Unix uptime command. The utility present the output of the uptime command as a JSON document, making it suitable for analysis by a remote device management system.

The uptime report is included in the status_sampler report.

SYNOPSIS

uptime.py

EXAMPLES

./uptime.py

DOCUMENT EXAMPLE - OUTPUT

{"time": "2018-04-05T14:27:00.877+00:00", "period": "00-00:18:00.000", "users": 3, "load": {"av1": 0.14, "av5": 0.09, "av15": 0.09}}

SEE ALSO

scs_dev/ps
scs_dev/status_sampler