Querying Chip Monitoring Data
Function
The npu-smi info watch -i id -c chip_id -d delay_seconds -s watch_type command is used to query the monitoring data of all chips or a single chip.
Syntax
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 |
NPU ID. |
chip_id |
Chip ID. |
delay_seconds |
Delay of each query operation in seconds. |
watch_type |
Monitoring type. You can specify the items for monitoring:
|
Example
npu-smi info watch -i 3 -c 0 -d 3 -s ptaicmb
NpuID(Idx) ChipId(Idx)Pwr(W) Temp(C) AI Core(%) AI Cpu(%) Ctrl Cpu(%) Memory(%) Memory BW(%)
3 0 67.6 40 0 0 0 2 0
3 0 68.0 40 0 0 0 2 0
3 0 67.8 40 0 0 0 2 0
3 0 67.6 40 0 0 0 2 0
3 0 67.8 40 0 0 0 2 0
3 0 67.6 40 0 0 0 2 0
3 0 67.7 40 0 0 0 2 0