Red Hat Training

A Red Hat training course is available for Red Hat Satellite

34.28. Method: getMemory

Description

Gets the memory information for a system.

Parameters

The following parameters are available for this method:

  • string sessionKey
  • int serverId
Returns

The following return values are available for this method:

  • struct - memory
    • int ram - The amount of physical memory in MB
    • int swap - The amount of swap space in MB