diff options
author | Sourabh Jain <sourabhjain@linux.ibm.com> | 2023-12-13 20:19:04 +0530 |
---|---|---|
committer | Jake Hunsaker <jacob.r.hunsaker@gmail.com> | 2023-12-14 09:35:49 -0500 |
commit | bccac0f8dd44114e53c2aa0458576114a1a83104 (patch) | |
tree | 41a150947d4762efa4044e3569244da288a5cd91 | |
parent | 67fe73be5adef6faf4f7f3e302952852e7250779 (diff) | |
download | sos-bccac0f8dd44114e53c2aa0458576114a1a83104.tar.gz |
[nvidia] collect nvidia-persistenced service status
Having nvidia-persistenced service status helps debugging issues
with NVIDIA kernel driver behaviour with persistence mode on.
Signed-off-by: Sourabh Jain <sourabhjain@linux.ibm.com>
suggested-by: Borislav Stoymirski <borislav.stoymirski@bg.ibm.com>
Tested-by: Borislav Stoymirski <borislav.stoymirski@bg.ibm.com>
-rw-r--r-- | sos/report/plugins/nvidia.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sos/report/plugins/nvidia.py b/sos/report/plugins/nvidia.py index 9e21b478..f9110f3d 100644 --- a/sos/report/plugins/nvidia.py +++ b/sos/report/plugins/nvidia.py @@ -30,6 +30,7 @@ class Nvidia(Plugin, IndependentPlugin): 'nvlink -e' ] + self.add_service_status("nvidia-persistenced") self.add_cmd_output(["nvidia-smi %s" % cmd for cmd in subcmds]) query = ('gpu_name,gpu_bus_id,vbios_version,temperature.gpu,' |