openSUSE / supportutils

SUSE Linux Enterprise support utilities. Gathers system information.
28 stars 61 forks source link

[hardware_info] collect nvidia-persistenced service status #183

Closed sourabhjains closed 9 months ago

sourabhjains commented 9 months ago

Having nvidia-persistenced service status helps debugging issues with NVIDIA kernel driver behaviour with persistence mode on.

Tested-by: Borislav Stoymirski borislav.stoymirski@bg.ibm.com Suggested-by: Borislav Stoymirski borislav.stoymirski@bg.ibm.com

g23guy commented 9 months ago

I would prefer to only gather this information if the service is present. If not-found, nothing should be gathered.

systemctl show nvidia-persistenced.service -p LoadState

LoadState=not-found

sourabhjains commented 9 months ago

I would prefer to only gather this information if the service is present. If not-found, nothing should be gathered.

@g23guy Thanks for the suggestion.

I will update the patch.