Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show fan speed #62

Closed
mjmikulski opened this issue Apr 3, 2019 · 3 comments · Fixed by #63
Closed

Show fan speed #62

mjmikulski opened this issue Apr 3, 2019 · 3 comments · Fixed by #63

Comments

@mjmikulski
Copy link

Command nvidia-smi shows also fan speed:

$ nvidia-smi
Wed Apr  3 14:09:10 2019
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 396.37                 Driver Version: 396.37                    |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce GTX 108...  On   | 00000000:03:00.0  On |                  N/A |
| 30%   42C    P8    16W / 250W |     53MiB / 11177MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   1  GeForce GTX 108...  On   | 00000000:04:00.0 Off |                  N/A |
| 31%   43C    P8    16W / 250W |      2MiB / 11178MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   2  GeForce GTX 108...  On   | 00000000:81:00.0 Off |                  N/A |
| 51%   68C    P2    76W / 250W |  10781MiB / 11178MiB |     17%      Default |
+-------------------------------+----------------------+----------------------+
|   3  GeForce GTX 108...  On   | 00000000:82:00.0 Off |                  N/A |
| 29%   34C    P8    16W / 250W |      2MiB / 11178MiB |      0%      Default |

Could gpustat show this information too?

@wookayin
Copy link
Owner

wookayin commented Apr 8, 2019

The nvml API supports this: nvmlDeviceGetFanSpeed(). It would be straightforward to implement this. I'll give a try when I have an extra cycle, but contributions are always welcomed.

@wookayin
Copy link
Owner

wookayin commented Apr 9, 2019

FYI: There is a similar PR #42, which lacked the CLI flag and a unit test so I was unable to merge it.

@wookayin wookayin added this to the 0.6 milestone Jul 22, 2019
@wookayin
Copy link
Owner

wookayin commented Jul 22, 2019

will be on v0.6:

gpustat -F
gpustat --show-fan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants