Created
April 16, 2022 05:44
-
-
Save pourmand1376/28444701263b2643df52d6a26615bfea to your computer and use it in GitHub Desktop.
Show User Info and CPU information per user in NVIDIA-SMI
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nvidia-smi | tee /dev/stderr | awk '/ C / {print $3}' | xargs -r ps -up |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How to configure:
Then add this to your
.profile
:After that you can run
nvidia-smi2
which shows full information.