Viewing task utilization statistics, Viewing task utilization statistics -17 – Alcatel Carrier Internetworking Solutions Omni Switch/Router User Manual
Page 239

Viewing Task Utilization Statistics
Page 9-17
Viewing Task Utilization Statistics
The
taskstat
command displays the task utilization statistics of the switch. To display the task
utilization statistics, enter
taskstat
at the system prompt. The
is an optional number of tasks and the
is an optional sample period of 1 to 60 seconds. You must enter the
if you want to enter the
.
The default number for
is 5 and the default sample period for
is 5 seconds. To display the task utilizations statistics for 10 tasks over a 20-second period, for
example, enter
taskstat 10 20
at the system prompt. A screen similar to the following will display.
Task Name
Utilization (20 secs)
-----------------
------------------------------
tUi_shellt0
0.76%
tCMProber
0.70%
tUi_shellC
0.60%
tSnmp_agent
0.34%
tNetTask
0.32%
tTelnetOut0
0.19%
tif_vbInput
0.19%
vseReceive
0.11%
tTelnetIn0
0.08%
bslMgr
0.07%
All Other Tasks:
0.68%
-------------------------------
Total Task Utilization:
4.04%
The
taskstat
command displays the tasks in descending order in terms of the switch’s
CPU
utilization. You may use the
taskstat 0
command if you want to list utilization statistics for all
the tasks executed by the switch.
The
taskshow
command displays a table listing all tasks and their priority, status and memory
allocation. A partial table is shown here.
NAME
ENTRY
TID
PRI STATUS
PC
SP
ERRNO
DELAY
------------------------------------------------------------------------------------------------------------------------------------------
tExcTask
_excTask
499f7f20
0
PEND
4892067c
499f7d38
9
0
tLogTask
_logTask
499f5598
0
PEND
4892067c
499f53b0
0
0
tCMWatcher _cmWatchdogK 4999f108
0
DELAY
4893c028
4999efb8
0
5
tHelperTask _exc2Task
499fc018
2
PEND
4892067c
499fbe30
0
0
tAscSTimer
_ascSessTime
49a53498 10
DELAY
4893c028
49a53348
0
170
bpeMgr
_bpm_initial
46037630 20
PEND
4892a41c
46037430 3d0002
0
ipxTimer
_ipxTimerTas
49a83168 49
DELAY
4893c028
49a83010
0
26
ipxGapper
_ipxGapperTa
49a7cdc0 49
PEND
4892067c
49a7cb70
0
0
tNetTask
_netTask
499eee40 50
PEND
4892a0a4
499eec68
0
0
ipx
_ipxMain
49fe0350 50
PEND
4892a41c
49fe0168 3d0002
0
The fields displayed by the
taskshow
command are described below.
NAME
. Name of the task whose statistics are being shown.
ENTRY
. Shows the routines that are currently being executed by the specified task.
TID
. Address of the task listed in this row.