vmemory_info

Contains information about the current virtual memory.

Service:NetWare Platform

Structure

  #include <monitor.h>
  
  struct vmemory_info 
  {
     uint64_t   PageInCount;
     uint64_t   PageOutCount;
     uint64_t   SwapResvCount;
     uint64_t   SwapPageCount;
     uint64_t   SwapFreeCount;
     uint64_t   PageFaultCount;
     uint64_t   freeCachePages;
     uint64_t   freeCleanPages;
     uint64_t   freeDirtyPages;
     uint64_t   VMPhysicalPageCount;
     uint32_t   reserved[20];
  };
  

Fields

PageInCount

Specifies the number of pages that have been swapped into physical memory.

PageOutCount

Specifies the number of pages that have been swapped out of physical memory.

SwapResvCount

Specifies the number of pages that are reserved within the swap files.

SwapPageCount

Specifies the number of swap pages currently in use.

SwapFreeCount

Specifies the number of swap pages currently free.

PageFaultCount

Specifies the number of times a page was not currently in physical memory and had to be swapped in for a process to continue.

freeCachePages

Specifies the number of swapped pages that are waiting in cache to be written to disk.

freeCleanPages

Specifies the number of pages that are free and have been cleared of all old data.

freeDirtyPages

Specifies the number of pages that are free but still retain old data.

VMPhysicalPageCount

Specifies the total number of pages allocated for virtual memory.

reserved

Reserved for future use.

Remarks

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

  printf("Page In Count:     %lld\n"