MemoryStatus()

语法

Result.q = MemoryStatus(Type)
概要
Returns the specified memory type information.

参数

Type The type of memory to get. It can be one of the following value:
  #PB_System_TotalPhysical: the total amount of installed memory, in bytes
  #PB_System_FreePhysical : the available memory, in bytes
  #PB_System_TotalVirtual : the total virtual memory size, in bytes (Windows only)
  #PB_System_FreeVirtual  : the available virtual memory size, in bytes (Windows only)
  #PB_System_TotalSwap    : the total swap memory size, in bytes (Windows and Linux only)
  #PB_System_FreeSwap     : the available swap memory size, in bytes (Windows and Linux only)
  #PB_System_PageSize     : the memory page size, in bytes (usually 4KB).

返回值

Returns the specified memory type information.

已支持操作系统

所有

<- ElapsedMilliseconds() - System Index - OSVersion() ->