GPU占用情况、进程查询和停止方法

版权声明:随意取用(´・ω・`) / https://blog.csdn.net/square_zou/article/details/81544772

GPU查询占用情况指令为

gpustat

输出如下

具体查询进程号的指令为

nvidia-smi

输出如下

如果想要kill掉某个进程,指令为

kill -9 PID  #PID是nvidia-smi语句查询出来的PID号码

猜你喜欢

转载自blog.csdn.net/square_zou/article/details/81544772