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

From MythTV Official Wiki
Jump to: navigation, search
m
Line 25: Line 25:
 
#??? (source code says 'totalVM')
 
#??? (source code says 'totalVM')
 
#??? (source code says 'freeVM')
 
#??? (source code says 'freeVM')
 +
 +
[[Category:Myth Protocol Commands]]

Revision as of 01:16, 23 February 2010

QUERY_MEMSTATS

Present in Protocol Versions

All?

Arguments

Command arguments: none

List arguments: none

Examples

Command:

14      QUERY_MEMSTATS

Response:

26      502[]:[]14[]:[]494[]:[]440

Description

Queries the backend for RAM usage statistics

Returns

  1. Used memory, in megabytes
    1. Note, the source code indicates that this should be the total amount of memory, but when I test it with MythTV 0.19 it returns the same amount as `free` reports being used
  2. Free memory, in megabytes
  3. ??? (source code says 'totalVM')
  4. ??? (source code says 'freeVM')