DEVICE MODIFICATION OPTIONS
This article is a detailed explanation of the NVIDIA-SMI series commands. Chapter 10 - Unit modification options and DTD options, introduces and demonstrates the unit modification options and their additional parameters of the nvidia-smi command, DTD options and their additional parameters, and introduces the following commands:
unit modification option -t and its additional parameter -i
DTD options --dtd
Unit modification options. The list of supported parameters is as follows:
-t, --toggle-led= 设置单元LED状态:0/GREEN, 1/AMBER
-t set unit LED state
Set the LED status on the front and back of the unit to the specified color. See the (Unit Properties) section for a description of the LED states. Allowed colors are 0|GREEN and 1|AMBER.
Notice:
Root privileges are required.
Affects all cells unless specified with the -i parameter.
Value range: 0|GREEN, 1|AMBER
Run the example:
Set the unit LED indicator to 0|GREEN Run example:
nvidia-smi -t 0
Note: Since the A100 device in this environment has no unit device, this command has not been executed successfully. This is just to demonstrate that the command has no errors. Executing this command on a supported device will return a successful execution result.
Setting Unit LED Indicators to 1|AMBER Running Example:
nvidia-smi -t 1
Note: Since the A100 device in this environment has no unit device, this command has not been executed successfully. This is just to demonstrate that the command has no errors. Executing this command on a supported device will return a successful execution result.
Element Modification Options Additional Options
-i display data for a single specified GPU
-i, --id= 指定特定单元
The specified id is the 0-based index of the Unit in the natural enumeration returned by the driver.
DTD OPTIONS (SHOW DTD OPTIONS)
DTD option, the list of supported parameters is as follows:
--dtd 打印设备DTD.
--dtd print device DTD
Run the example:
Demonstration device DTD operation example:
nvidia-smi --dtd
DTD option additional options
-f, --filename= 输出内容到特定文件.
-u, --unit 展示单元而不是设备.
--debug= 将加密的调试信息输出到特定的文件.
-f redirect query output to the specified file in place of the default standard output
-f FILE, --filename=FILE
Redirect query output to the specified file in place of the default standard output. The specified file will be overwritten.
nvidia-smi --dtd -f a.dtd
-u Display units instead of devices.
-u, --unit
Display units instead of equipment.
--debug= output encrypted debug info to specific file
nvidia-smi --dtd --debug=debug.log