nvidia-smi 每 5 秒执行一次——这是正常的吗?

nvidia-smi 每 5 秒执行一次——这是正常的吗?

我查看了lastcomm输出,发现nvidia-smi当前用户(其名称只是“用户”)大约每 5 秒执行一次命令。我很好奇这是否是正常情况?详细信息如下:

# lsb_release -d
Description:    Ubuntu 20.04 LTS
# uname -srvmpio
Linux 5.4.0-26-generic #30-Ubuntu SMP Mon Apr 20 16:58:30 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

然后

# lastcomm nvidia-smi
nvidia-smi             user     __         0.02 secs Fri Jan  1 17:14
nvidia-smi             user     __         0.02 secs Fri Jan  1 17:14
nvidia-smi             user     __         0.02 secs Fri Jan  1 17:14
nvidia-smi             user     __         0.02 secs Fri Jan  1 17:14
nvidia-smi             user     __         0.02 secs Fri Jan  1 17:14
nvidia-smi             user     __         0.02 secs Fri Jan  1 17:14
nvidia-smi             user     __         0.01 secs Fri Jan  1 17:14
nvidia-smi             user     __         0.02 secs Fri Jan  1 17:13
nvidia-smi             user     __         0.02 secs Fri Jan  1 17:13
nvidia-smi             user     __         0.02 secs Fri Jan  1 17:13
nvidia-smi             user     __         0.02 secs Fri Jan  1 17:13
nvidia-smi             user     __         0.02 secs Fri Jan  1 17:13
nvidia-smi             user     __         0.02 secs Fri Jan  1 17:13
nvidia-smi             user     __         0.04 secs Fri Jan  1 17:13
nvidia-smi             user     __         0.02 secs Fri Jan  1 17:13
nvidia-smi             user     __         0.01 secs Fri Jan  1 17:13
nvidia-smi             user     __         0.02 secs Fri Jan  1 17:13
nvidia-smi             user     __         0.02 secs Fri Jan  1 17:13
nvidia-smi             user     __         0.02 secs Fri Jan  1 17:13
nvidia-smi             user     __         0.02 secs Fri Jan  1 17:12
nvidia-smi             user     __         0.02 secs Fri Jan  1 17:12
nvidia-smi             user     __         0.02 secs Fri Jan  1 17:12
nvidia-smi             user     __         0.02 secs Fri Jan  1 17:12
nvidia-smi             user     __         0.01 secs Fri Jan  1 17:12
nvidia-smi             user     __         0.02 secs Fri Jan  1 17:12
nvidia-smi             user     __         0.02 secs Fri Jan  1 17:12
nvidia-smi             user     __         0.02 secs Fri Jan  1 17:12
nvidia-smi             user     __         0.02 secs Fri Jan  1 17:12
nvidia-smi             user     __         0.02 secs Fri Jan  1 17:12
nvidia-smi             user     __         0.02 secs Fri Jan  1 17:12
nvidia-smi             user     __         0.02 secs Fri Jan  1 17:12
nvidia-smi             user     __         0.02 secs Fri Jan  1 17:11
nvidia-smi             user     __         0.02 secs Fri Jan  1 17:11
nvidia-smi             user     __         0.02 secs Fri Jan  1 17:11
nvidia-smi             user     __         0.02 secs Fri Jan  1 17:11
nvidia-smi             user     __         0.02 secs Fri Jan  1 17:11
nvidia-smi             user     __         0.02 secs Fri Jan  1 17:11
nvidia-smi             user     __         0.02 secs Fri Jan  1 17:11
nvidia-smi             user     __         0.02 secs Fri Jan  1 17:11
nvidia-smi             user     __         0.02 secs Fri Jan  1 17:11
nvidia-smi             user     __         0.02 secs Fri Jan  1 17:11
nvidia-smi             user     __         0.02 secs Fri Jan  1 17:11
nvidia-smi             user     __         0.02 secs Fri Jan  1 17:11
nvidia-smi             user     __         0.04 secs Fri Jan  1 17:10
nvidia-smi             user     __         0.03 secs Fri Jan  1 17:10
nvidia-smi             user     __         0.02 secs Fri Jan  1 17:10
nvidia-smi             user     __         0.01 secs Fri Jan  1 17:10
nvidia-smi             user     __         0.02 secs Fri Jan  1 17:10
nvidia-smi             user     __         0.02 secs Fri Jan  1 17:10
nvidia-smi             user     __         0.02 secs Fri Jan  1 17:10
nvidia-smi             user     __         0.02 secs Fri Jan  1 17:10
nvidia-smi             user     __         0.02 secs Fri Jan  1 17:10
nvidia-smi             user     __         0.02 secs Fri Jan  1 17:10
nvidia-smi             user     __         0.02 secs Fri Jan  1 17:10
nvidia-smi             user     __         0.02 secs Fri Jan  1 17:10
nvidia-smi             user     __         0.02 secs Fri Jan  1 17:09

我在这里删除了大部分输出,因为直到开始为止几乎都是相同的:

nvidia-smi             user     __         0.02 secs Fri Jan  1 07:39
nvidia-smi             user     __         0.02 secs Fri Jan  1 07:38
nvidia-smi             user     __         0.04 secs Fri Jan  1 07:38
nvidia-smi             user     __         0.02 secs Fri Jan  1 07:38
nvidia-smi             user     __         0.02 secs Fri Jan  1 07:38
nvidia-smi             user     __         0.02 secs Fri Jan  1 07:38
nvidia-smi             user     __         0.02 secs Fri Jan  1 07:38
nvidia-smi             user     __         0.02 secs Fri Jan  1 07:38
nvidia-smi             user     __         0.02 secs Fri Jan  1 07:38
nvidia-smi             user     __         0.02 secs Fri Jan  1 07:38
nvidia-smi             user     __         0.02 secs Fri Jan  1 07:38
nvidia-smi             user     __         0.02 secs Fri Jan  1 07:38
nvidia-smi             user     __         0.02 secs Fri Jan  1 07:38

当然,用户不会nvidia-smi手动运行。那么,这种情况是否正常?谁又为何如此频繁地运行它?

相关内容