Windows上的实用CMD命令
申明: 未经许可,禁止以任何形式转载,若要引用,请标注链接地址 全文共计1577字,阅读大概需要1分钟
欢迎关注我的个人公众号:不懂开发的程序猿
查看系统信息是x64位
system info
查看电脑基本诊断信息
dxdiag
检查电脑支持的最大运行内存
wmic memphysical get maxcapacity
查看内存信息
wmic memorychip
C:\WINDOWS\system32>wmic memorychip
Attributes BankLabel Capacity Caption ConfiguredClockSpeed ConfiguredVoltage CreationClassName DataWidth Description DeviceLocator FormFactor HotSwappable InstallDate InterleaveDataDepth InterleavePosition Manufacturer MaxVoltage MemoryType MinVoltage Model Name OtherIdentifyingInfo PartNumber PositionInRow PoweredOn Removable Replaceable SerialNumber SKU SMBIOSMemoryType Speed Status Tag TotalWidth TypeDetail Version
1 BANK 08589934592 物理内存 26671200 Win32_PhysicalMemory 64 物理内存 ChannelA-DIMM0 1211 Crucial 150001250 物理内存 CT8G4SFS8266.M8FD 253646A6 262667 Physical Memory 0641281 BANK 28589934592 物理内存 26671200 Win32_PhysicalMemory 64 物理内存 ChannelB-DIMM0 1212 Crucial 150001250 物理内存 CT8G4SFS8266.M8FD 2536434C 262667 Physical Memory 164128
查看Windows电脑上次的启动时间
wmic path Win32_OperatingSystem get LastBootUpTime
C:\WINDOWS\system32>wmic path Win32_OperatingSystem get LastBootUpTime
LastBootUpTime
20220815085315.611605+480
NameValue2022年08月15日08时53分15秒.611605毫秒+480GMT(比格林威治标准时间早 480 / 60 = 8 小时)
查看显卡信息
nvidia-smi
C:\WINDOWS\system32>nvidia-smi
Tue Aug 1610:49:18 2022
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 497.29 Driver Version: 497.29 CUDA Version: 11.5||-------------------------------+----------------------+----------------------+
| GPU Name TCC/WDDM | Bus-Id Disp.A | Volatile Uncorr. ECC || Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |||| MIG M. ||===============================+======================+======================||0 NVIDIA GeForce ... WDDM | 00000000:01:00.0 Off | N/A || N/A 41C P8 21W / N/A | 164MiB / 6144MiB |0% Default |||| N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: || GPU GI CI PID Type Process name GPU Memory || ID ID Usage ||=============================================================================|| No running processes found |
+-----------------------------------------------------------------------------+
查看电脑当前的用户名
echo %username%
查看当前的用户是不是电脑的管理员用户
net user
分组是在Administrators的话,那么就是管理员
查看路由信息 route print
route print
查看Windows 的version
winver
–end–
版权归原作者 不懂开发的程序猿 所有, 如有侵权,请联系我们删除。