Monitor Thread - H3C S5830V2 Series Command Reference Manual

Network management and monitoring
Hide thumbs Also See for S5830V2 Series:
Table of Contents

Advertisement

Field
Memory
JID
PID
PRI
State
FDs
MEM
HH:MM:SS
CPU
Name

monitor thread

Use the monitor thread command to display the statistics of a thread.
Syntax
monitor thread [ dumbtty ] [ iteration number ] [ slot slot-number ]
Views
Any view
Predefined user roles
network-admin
Parameters
dumbtty: Displays the thread statistics as if on a dumb terminal (The screen refreshes the statistics
periodically). If this keyword is specified, the statistics of all threads is listed in descending order on the
screen according to their CPU usage. If this keyword is not specified, the statistics is displayed in an
interactive mode. By default, statistics of the first 10 threads is displayed in descending order according
to their CPU usage, and refreshed every five seconds.
iteration number: Specifies the number of times the process statistics is displayed. The number argument
is in the range of 1 to 4294967295. If the keyword dumbtty is specified, the default value for the number
argument is 1. If neither dumbtty nor number is specified, the statistics is refreshed every five seconds until
you quit the monitor process command.
Description
Memory state, in KB:
Total memory.
Memory available.
Page size.
Job ID that uniquely identifies a process. It remains the same even if the
.
process restarts
Process ID.
Process priority.
Process state:
R—In running state or waiting in the queue.
S—In interruptible sleeping state.
T—In traced or stopped state.
D—In uninterruptible sleep state.
Z—In zombie state.
List file handles opened by the process.
Memory used by the process. (It displays as 0 in the kernel process.)
Running time when the process restarted last time.
Process CPU usage.
Process name. If the process name is marked with the square brackets ([ ]),
it refers to the kernel thread.
18

Advertisement

Table of Contents
loading

This manual is also suitable for:

S5820v2 series

Table of Contents