nvidia-smi:tldr:c3ed4
The command "nvidia-smi --query" is used to request information about the NVIDIA GPU (graphics processing unit) installed in a computer system. "nvidia-smi" stands for NVIDIA System Management Interface, which is a command-line tool provided by NVIDIA for monitoring and managing GPUs.
The "--query" option is used to specify the type of information you want to query about the GPU. By default, when you run "nvidia-smi --query", it will display a list of available query options. These options can be used to obtain various details about the GPU such as utilization, temperature, power usage, fan speed, memory usage, and more.
To actually retrieve a specific information, you need to provide the desired query option as an argument after "--query". For example, if you want to query the GPU utilization percentage, you can run "nvidia-smi --query-gpu=utilization.gpu --format=csv" which will display the current GPU utilization in a comma-separated value format.
Overall, "nvidia-smi --query" is a useful command for obtaining real-time and historical data about the NVIDIA GPU's performance and status, allowing users to monitor and optimize its usage.