使用命令提示符查找每个CPU的CPU数和内核数 [英] Find Number of CPUs and Cores per CPU using Command Prompt
问题描述
我尝试使用命令提示符检索每个CPU的CPU数和内核数。
我执行了以下命令:
wmic cpu get NumberOfCores,NumberOfLogicalProcessors / Format:List
/ p>
我得到这个错误: wmic'不被识别为内部或外部命令,可操作的程序或批处理文件
/ p>
我在Windows Server 2008 R2机器上执行此操作。我相信'wmic'命令在这个窗口是兼容的。
我运行命令promt from的目录是'C:\ Windows>
有任何建议吗?
根据您的意见 - 您的 path
语句已更改/不正确或路径
变量未正确用于其他用途。
I am trying to retrieve the Number of CPUs and Cores per CPU using Command Prompt. I have executed the following command:
wmic cpu get NumberOfCores, NumberOfLogicalProcessors/Format:List
I get this error: wmic' is not recognized as an internal or external command, operable program or batch file
I am executing this on a Windows Server 2008 R2 machine. I believe the 'wmic' command is compatible on this windows.
The directory I am running the command promt from is 'C:\Windows>
Any advice please?
Based upon your comments - your path
statement has been changed/is incorrect or the path
variable is being incorrectly used for another purpose.
这篇关于使用命令提示符查找每个CPU的CPU数和内核数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!