
nvidia-smi服务器界面及各个参数含义:

参数含义:表格中会显示显卡的一些信息,第一行是版本信息,第二行是标题栏,第三行就是具体的显卡信息了,如果有多个显卡,会有多行,每一行的信息值对应标题栏对应位置的信息。
GPU:编号,这里是0和1
Fan:风扇转速,在0到100%之间变动,第一个是29%
Name:显卡名,这里两块都是GeForce
Temp:显卡温度,第一个是60摄氏度
Perf:性能状态,从P0到P12,P0性能最大,P12最小
Persistence-M:持续模式的状态开关,该模式耗能大,但是启动新GPU应用时比较快,这里是off
Pwr:能耗
Bus-Id:GPU总线
Disp.A:表示GPU的显示是否初始化
Memory-Usage:显存使用率
GPU-Util:GPU利用率,第一个是74%,第二个未用
Compute M.:计算模式wmic memorychip list brief
//物理内存
wmic memphysical list brief
//获取执行信息
wmic memorychip get devicelocator,capacity,speedwmic cpu get Name 查看CPU信息
wmic cpu get NumberOfCores 查看CPU物理核心数量
wmic cpu get NumberOfLogicalProcessors 查看CPU逻辑核心数量
//合并
wmic cpu get Name,NumberOfCores,NumberOfLogicalProcessors
//列表
wmic cpu list briefwmic logicaldisk list brief
//获取磁盘信息
wmic diskdrive get index, model, size, interfacetypewmic os get name,version,buildnumber,captionwmic computersystem get Name, Domain, Manufacturer, Model, Username, Roles/format:listwmic process where name="QQ.exe" list brief
wmic process where name="qq.exe" get executablepath // 获取进程的绝对路径//核心信息
wmic process list brief
//获取进程名称以及可执行路径
wmic process get name,executablepath
wmic process list full // 显示所以进程
wmic process list brief // 摘要显示进程
wmic process list status // 显示进程状态wmic service where (state="running") get caption, name, startmode
wmic service get name, statewmic process call create “[Process Name]”
//以taskmgr.exe为例
wmic process call create “taskmgr.exe”
wmic process call create QQ
wmic process call create "C:/Program Files/Tencent/QQ/QQ.exe"
wmic process call create "ifconfig"你可以从下图中看到,这个命令不仅会创建一个进程,而且还会赋予相应的进程ID,所以我们就可以根据我们的需要来修改进程信息了。
wmic process where name=”notepad++.exe” call terminate
wmic process where name="qq.exe" call terminate
wmic process where processid="1214" delete
wmic process 1234 call terminatewmic datafile where name="c:\\install.log" get /format:listwmic FSDIR where "drive='c:' and filename='mk'" list // 列出c盘下名为mk的目录
wmic fsdir "c://test" call delete // 删除C:/test文件夹
wmic fsdir "c://test" rename "c:/abc" // 重命名文件
wmic fsdir where name='d://test' call copy "c://test" // 复制文件命令
wmic job call create "notepad.exe",0,0,true,false,********154800.000000+480
wmic job call create "explorer.exe",0,0,1,0,********154600.000000+480// 更改telnet服务启动类型[Auto|Disabled|Manual]
wmic SERVICE where name="tlntsvr" set startmode="Auto"
wmic SERVICE where name="tlntsvr" call startservice // 运行telnet服务
wmic SERVICE where name="ShardAccess" call stopservice // 停止ICS服务
wmic SERVICE where name="lyshark" call delete // 删除lyshark服务//示例:输出进程信息到a.txt 文件
wmic /output:e:\a.txt process get name,executablepathhttps://blog.csdn.net/qq_40373651/article/details/118681583
https://www.freesion.com/article/2014430486/
https://baijiahao.baidu.com/s?id=1765489568501098968&wfr=spider&for=pc
https://www.cnblogs.com/baby123/p/12867280.html //***不错
https://zhuanlan.zhihu.com/p/389828329
https://blog.csdn.net/lyshark_csdn/article/details/124939366 //***不错
https://blog.csdn.net/shawdow_bug/article/details/126678768