Querying Chip Monitoring Data
Function
The npu-smi info watch command is used to query the monitoring data of all chips.
The npu-smi info watch -i id -c chip_id -d delay_seconds -s watch_type is used to query the monitoring data of all chips or a single chip.
Syntax
npu-smi info watch
npu-smi info watch -i id -c chip_id -d delay_seconds -s watch_type
Restrictions
When you query the AI Core usage, if profiling is enabled, an error will be reported.
Parameters
Parameter |
Description |
---|---|
id |
Device ID. The NPU ID obtained by running the npu-smi info -l command is the device ID. |
chip_id |
Chip ID. If there is only one chip, the chip ID is 0. |
delay_seconds |
Delay of each query operation in seconds. |
watch_type |
Monitoring type.
|
Example
# Query the monitoring data of all chips.
# Query the monitoring data of chip 0 on device 2.