Querying the Statistics of All Chips on a Card
Function
The npu-smi info -t usages -i id command is used to collect the usage statistics of all chips.
Syntax
npu-smi info -t usages -i id
Parameters
Parameter |
Description |
---|---|
id |
Device ID. The NPU ID obtained by running the npu-smi info -l command is the device ID. |
Restrictions
When you query the Aicore Usage Rate usage, if profiling is enabled, an error will be reported.
Example
#Query the memory usage of all chips on device 2.
npu-smi info -t usages -i 2
NPU ID : 2
Chip Count : 1
Chip ID : 0
DDR Capacity(MB) : 15600
DDR Usage Rate(%) : 9
HBM Capacity(MB) : 32255
HBM Usage Rate(%) : 0
Aicore Usage Rate(%) : 0
Aicpu Usage Rate(%) : 0
Ctrlcpu Usage Rate(%) : 0
DDR Bandwidth Usage Rate(%) : 0
HBM Bandwidth Usage Rate(%) : 0