Difference between revisions of "QUERY UPTIME (Myth Protocol)"

From MythTV Official Wiki
Jump to: navigation, search
m
m
 
(One intermediate revision by the same user not shown)
Line 22: Line 22:
  
 
<pre>27      Could not determine uptime.</pre>
 
<pre>27      Could not determine uptime.</pre>
 +
 +
=== Changelog ===
 +
{| border="1" cellspacing="0" cellpadding="5" style="border-collapse:collapse; border-color:#8eabd0; background:#e7edf5"
 +
|- style="background: lightsteelblue"
 +
|+
 +
! version !! changeset !! description
 +
|-
 +
| 15 || {{changeset|5833}}
 +
| initial version
 +
|-
 +
|}
  
 
[[Category:Myth Protocol Commands]]
 
[[Category:Myth Protocol Commands]]

Latest revision as of 23:44, 13 September 2010

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