QUERY UPTIME (Myth Protocol)

From MythTV Official Wiki
Revision as of 01:17, 23 February 2010 by Wagnerrp (talk | contribs)

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.