-
Notifications
You must be signed in to change notification settings - Fork 551
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
[nvidia] Add New Plugin #1697
[nvidia] Add New Plugin #1697
Conversation
This is based off the requests in #1685, but I do not have access to a system to test this on. @dfeddema - can you test this branch and see if it gives the information you're looking for? I combined the fields from items 4-7. I also made a guess that having non-csv output would be helpful for at-a-glance review by humans, so I added both non-csv and csv output. Please let me know if that's not desired. |
I'm on PTO this week. I can test it next week.
Thank you!
…On Fri, Jun 7, 2019 at 10:42 AM Jake Hunsaker ***@***.***> wrote:
This is based off the requests in #1685
<#1685>, but I do not have access
to a system to test this on.
@dfeddema <https://github.com/dfeddema> - can you test this branch and
see if it gives the information you're looking for? I combined the fields
from items #4 <#4>-#7
<#7>.
I also made a guess that having non-csv output would be helpful for
at-a-glance review by humans, so I added both non-csv and csv output.
Please let me know if that's not desired.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1697?email_source=notifications&email_token=AAYPMD2EZLRGKQFHP7A6CR3PZKMXRA5CNFSM4HVZAWPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXGQL6I#issuecomment-499975673>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAYPMDYIPJCS7E2KNYBHLRDPZKMXRANCNFSM4HVZAWPA>
.
--
Diane Feddema
email: [email protected]
c: (206) 773-6402
|
@dfeddema - just checking in, were you able to test this? |
@TurboTurtle
Everything in the sosreport that is produced by tne nvidia plugin looks great except for an error in one of the nvidia-smi commands. The command causing the error is a duplicate and It is missing a "--format="
causing the following error:
sos_commands/nvidia/nvidia-smi_--query-gpu_gpu_name_gpu_bus_id_vbios_version_temperature.gpu_utilization.gpu_memory.total_memory.free_memory.used
:"--format=" switch is missing. Please run '*nvidia-smi* -h' for help.
The other commands are working correctly and providing the information we need.
commands executed:
* nvidia-smi --list-gpus
* nvidia-smi -q -d PERFORMANCE
* nvidia-smi -q -d SUPPORTED_CLOCKS
* nvidia-smi -q -d PAGE_RETIREMENT
* nvidia-smi
--query-gpu=gpu_name,gpu_bus_id,vbios_version,temperature.gpu,utilization.gpu,memory.total,memory.free,memory.used
* nvidia-smi
--query-gpu=gpu_name,gpu_bus_id,vbios_version,temperature.gpu,utilization.gpu,memory.total,memory.free,memory.used
--format=csv
|
Thanks for testing! Yeah, I added the one without a |
594d7b9
to
053e1dd
Compare
I've dropped the extra query without the |
Mind adding Ubuntu and Debian plugins to this as well? I just tested this and it works great. Thanks! |
Adds a new plugin for obtaining GPU information from nvidia cards with the nvidia-smi utility. Fixes: sosreport#1685 Signed-off-by: Jake Hunsaker <[email protected]>
053e1dd
to
f3f404f
Compare
Done. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Tested on Single GPU system on Ubuntu and works great.
Adds a new plugin for obtaining GPU information from nvidia cards with
the nvidia-smi utility.
Fixes: #1685
Signed-off-by: Jake Hunsaker [email protected]
Please place an 'X' inside each '[]' to confirm you adhere to our Contributor Guidelines