34.28. getMemory

Name
getMemory
Description
Gets the memory information for a system.
Parameters
  • string sessionKey
  • int serverId
Return Value
  • struct - memory
    • int ram - The amount of physical memory in MB.
    • int swap - The amount of swap space in MB.