Parameters System.Memory.Swap.XXX and System.Memory.Virtial.XXX now has identical...
authorVictor Kirhenshtein <victor@netxms.org>
Wed, 9 Feb 2005 15:28:23 +0000 (15:28 +0000)
committerVictor Kirhenshtein <victor@netxms.org>
Wed, 9 Feb 2005 15:28:23 +0000 (15:28 +0000)
src/agent/core/win32.cpp

index de978e6..bfbbd4d 100644 (file)
@@ -141,22 +141,22 @@ LONG H_MemoryInfo(char *cmd, char *arg, char *value)
          case MEMINFO_PHYSICAL_USED:
             ret_uint64(value, mse.ullTotalPhys - mse.ullAvailPhys);
             break;
-         case MEMINFO_SWAP_FREE:
+         case MEMINFO_VIRTUAL_FREE:
             ret_uint64(value, mse.ullAvailPageFile);
             break;
-         case MEMINFO_SWAP_TOTAL:
+         case MEMINFO_VIRTUAL_TOTAL:
             ret_uint64(value, mse.ullTotalPageFile);
             break;
-         case MEMINFO_SWAP_USED:
+         case MEMINFO_VIRTUAL_USED:
             ret_uint64(value, mse.ullTotalPageFile - mse.ullAvailPageFile);
             break;
-         case MEMINFO_VIRTUAL_FREE:
+         case MEMINFO_SWAP_FREE:
             ret_uint64(value, mse.ullAvailVirtual);
             break;
-         case MEMINFO_VIRTUAL_TOTAL:
+         case MEMINFO_SWAP_TOTAL:
             ret_uint64(value, mse.ullTotalVirtual);
             break;
-         case MEMINFO_VIRTUAL_USED:
+         case MEMINFO_SWAP_USED:
             ret_uint64(value, mse.ullTotalVirtual - mse.ullAvailVirtual);
             break;
          default: