使用命令行远程检查计算机上的 RAM 量

Pat*_*ick 4 windows-server-2003 memory windows-xp remote windows-command-prompt

如何使用命令行远程检查计算机上的 RAM 量?(Windows XP 和/或 Windows Server 2003)

Tim*_*Tim 6

需要 XP 或更高版本的系统:wmic memphysical list full,也wmic memorychip list full可能为您提供一些您正在寻找的信息。


小智 6

systeminfo /s:hostname 如果 WMI 在远程机器上不可用,将为您提供一些基本的内存静态信息:

C:\>systeminfo /s:hostname

...

Total Physical Memory:     3,062 MB
Available Physical Memory: 2,116 MB
Virtual Memory: Max Size:  2,048 MB
Virtual Memory: Available: 1,996 MB
Virtual Memory: In Use:    52 MB
Page File Location(s):     C:\pagefile.sys
Run Code Online (Sandbox Code Playgroud)