QUERY UPTIME (Myth Protocol)

From MythTV Official Wiki
Jump to: navigation, search

QUERY_UPTIME

Arguments

Command arguments: none

List arguments: none

Examples

Command:

12      QUERY_UPTIME

Response:

7       7721437

Description

Queries how long the remote host has been up

Returns

The uptime of the remote host, in seconds

Notes

As of 2006-08-12, this function only works if the remote host is running on Linux, FreeBSD, or Darwin (AKA Mac OS X). Any other system will return this response instead:

27      Could not determine uptime.

Changelog

version changeset description
15 [5833] initial version