Use monitor thread to display thread statistics.
In standalone mode:
monitor thread [ dumbtty ] [ iteration number ] [ slot slot-number ]
In IRF mode:
monitor thread [ dumbtty ] [ iteration number ] [ chassis chassis-number slot slot-number ]
Predefined user roles
dumbtty: Specifies dumbtty mode. In this mode, the command displays all thread statistics in descending
order of CPU usage without refreshing statistics. If you do not specify the keyword, the command displays
statistics for top 10 processes in descending order of CPU usage in an interactive mode, and refreshes
statistics every 5 seconds by default.
iteration number: Specifies the number of display times, in the range of 1 to 4294967295. If you specify
the dumbtty keyword, the number argument is 1 by default. If neither the dumbtty keyword nor the
number argument is specified, there is no limit to the display times.
slot slot-number: Specifies a card by its slot number. Without this option, the command displays thread
statistics for the active MPU. (In standalone mode.)
chassis chassis-number slot slot-number: Specifies a card on an IRF member device. Without this option,
the command displays thread statistics for the global active MPU. (In IRF mode.)
State of a process:
T—Traced or stopped.
Number of open files for a process.
Memory usage. It displays 0 for a kernel thread.
Running time of a process since last restart.
CPU usage of a process.
Name of a process. If square brackets ([ ]) exist in a process name, the process is
a kernel thread.