14,958
edits
m (→system CPU and memory usage: +reference) |
|||
| Line 254: | Line 254: | ||
* {{Win}}: | * {{Win}}: | ||
** namespace: ROOT\CIMV2 | ** namespace: ROOT\CIMV2 | ||
** WQL query: {{kbd | key= SELECT FreePhysicalMemory, TotalVisibleMemorySize FROM Win32_OperatingSystem}} | ** WQL query: {{kbd | key= SELECT FreePhysicalMemory, TotalVisibleMemorySize FROM Win32_OperatingSystem}}<ref>[http://www.perlmonks.org/?node_id=882932 Collect Memory Data from WMI (Win32)]</ref> | ||
** output example: 21683460 ([https://msdn.microsoft.com/zh-tw/library/system.uint64(v=vs.110).aspx UInt64, 64 bit Unsigned Integer]) unit: KB | ** output example: 21683460 ([https://msdn.microsoft.com/zh-tw/library/system.uint64(v=vs.110).aspx UInt64, 64 bit Unsigned Integer]) unit: KB | ||
** memory usage = (FreePhysicalMemory * 100) / TotalVisibleMemorySize; unit: % | ** memory usage = (FreePhysicalMemory * 100) / TotalVisibleMemorySize; unit: % | ||