Skip to content

NVIDIA Management Library (NVML) Linux info sample app

License

Notifications You must be signed in to change notification settings

asdlei99/nvml_info

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sample which dynamically loads libnvidia-ml.so and prints out gpu + process information.

$ make && _release/nvml_info
Driver Version: 418.74
NVML Version: 10.418.74
Cuda Version: 10.1

Device #0:
  Bar1: 10.38MB used of 256.00MB
  Gpu:  538.19MB used of 8116.56MB
  Gpu Processes:
      309.33MB /usr/lib/xorg/Xorg (1576)
       87.38MB cinnamon (1901)
       72.06MB /opt/vivaldi/vivaldi-bin --type=gpu-process --field-trial-handle=42842419629327 (11934)
       30.32MB ./VulkanDemos_SaschaWillems/build/bin/bloom (20077)
       33.50MB ./VulkanDemos_SaschaWillems/build/bin/sphericalenvmapping (20114)
  Compute Processes:
       30.32MB ./VulkanDemos_SaschaWillems/build/bin/bloom (20077)
       33.50MB ./VulkanDemos_SaschaWillems/build/bin/sphericalenvmapping (20114)

About

NVIDIA Management Library (NVML) Linux info sample app

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 61.3%
  • C 19.4%
  • Makefile 19.3%