ESMQueryInfo_t

Contains information about server memory.

Service:NetWare Platform

Structure

  #include <esm.h>
  
  typedef struct
  {
     size64_t   TotalExtendedMemory;
     size64_t   RemainingExtendedMemory;
     size_t     TotalMemoryBelow4G;
  } ESMQueryInfo_t;
  

Fields

TotalExtendedMemory

Indicates the number of bytes of memory above 4 GB.

RemainingExtendedMemory

Indicates the number of bytes of memory above 4 GB that have not been allocated.

TotalMemoryBelow4G

Indicates the number of bytes of memory below 4 GB.

Remarks

The TotalExtendedMemory and TotalMemoryBelow4G fields can be used to determine the total amount of memory installed on the server.

For the fields in this structure that are long long (or 64-bit), use the ll length modifier with printf-type functions to display the values. For example:

  printf("Total Extended Memory:     %lld\n"