A monitoring and management command line utility, nvidia-smi, is included with the NVIDIA Linux graphics driver. After installing the driver, you can run this utility by running:
% nvidia-smi
in a terminal window.
Detailed help information is available via the --help command line option and via the nvidia-smi man page.
To include nvidia-smi information in other applications see Chapter 26, The NVIDIA Management Library