/tool/profile
profile
Show CPU usage per RouterOS process type, summed for all cores or per core. See the Profiler guide.
tool/profile
Type: Command
按 RouterOS 进程类型显示 CPU 使用率,可汇总所有核心或按核心显示。请参阅 性能分析器 指南。
| 参数 | 类型 | 描述 |
|---|---|---|
cpu | enum (all | total) { all:0xfffffffe, total:0xfffffffd } | 在多核系统上选择 CPU 视图:total(默认)汇总所有核心的使用率,all 为每个核心显示单独的行,整数(0 .. 核心数减一)仅显示该核心。 |
| 只读参数 | 类型 | 描述 |
|---|---|---|
name | string | 进程分类器名称(例如 wireless、console)。每核心汇总行命名为 cpu0、cpu1、...,汇总视图会增加一行 total。 |
cpu | num | 该行使用率所属的 CPU 核心(仅每核心视图)。 |
usage | num | CPU 使用率份额(百分比),自上一输出帧起测量。 |