查询芯片监控数据
命令功能
npu-smi info watch -i id -c chip_id -d delay_seconds -s watch_type 用于查询所有或单个芯片的监控数据。
命令格式
npu-smi info watch -i id -c chip_id -d delay_seconds -s watch_type
参数说明
类型 |
描述 |
---|---|
id |
设备id。通过npu-smi info -l命令查出的NPU ID即为设备id。 |
chip_id |
芯片id。通过npu-smi info -m命令查出的Chip ID即为芯片id。 |
delay_seconds |
每轮查询延迟时长,单位为秒。 |
watch_type |
监控类型。p代表功率,t代表温度,a代表ai core占用率,i代表ai cpu占用率,c代表control cpu占用率,m代表内存占用率,b代表内存带宽占用率。 |
使用指南
无。
使用实例
#查询设备199编号为2的芯片的监控数据。
npu-smi info watch -i 199 -c 2 -d 5 -s ptaicmb
Npu ID Chip Id Pwr Temp AI Core AI Cpu Ctrl Cpu Memory Memory BW Idx Idx W C % % % % % 0 0 12.8 42 0 0 0 32 0 0 0 12.8 42 0 0 0 32 0 0 0 12.8 42 0 0 0 32 0