How to retrieve available RAM from Windows command line?

前端 未结 11 825
-上瘾入骨i
-上瘾入骨i 2020-12-23 09:44

Is there a command line utility within Windows or third-party program that can retrieve available RAM on a machine? (Since I don\'t believe this can be done in pure JAVA, si

11条回答
  •  情深已故
    2020-12-23 10:39

    PS C:\Users\Rack> systeminfo | findstr "System Memory"
    System Boot Time:          5/5/2016, 11:10:41 PM
    System Manufacturer:       VMware, Inc.
    System Model:              VMware Virtual Platform
    System Type:               x64-based PC
    System Directory:          C:\Windows\system32
    System Locale:             en-us;English (United States)
    Total Physical Memory:     40,959 MB
    Available Physical Memory: 36,311 MB
    Virtual Memory: Max Size:  45,054 MB
    Virtual Memory: Available: 41,390 MB
    Virtual Memory: In Use:    3,664 MB
    

提交回复
热议问题