PREV NEXT INDEX

Avici Systems Inc.


show cpu


Displays information about CPU usage.

Syntax: show cpu {idle|tasks} {server server-id | bay [1|2] | module bay/slot} [5sec | 1min | 5min | taskname]

idle

Displays information about the amount of idle time for the specified server or bay controller.

tasks

Displays the CPU usage by task for the specified server or bay controller.

server server-id

Identifies the server CPU. Valid values are 1 or 2.

bay [1|2]

identifies the bay whose statistics are displayed.

module bay/slot

Identifies a specific module.

Description: The show cpu command displays information on task or idle time cpu usage for the specified platform.

Use the idle parameter to display information on idle time for a specific platform.

Use the tasks parameter to display information on task CPU usage for a specified platform.

show cpu output can be sorted by the percentage of total time period (5sec, 1min, or 5min) or by taskname.

Factory Default: None.

Command Mode: Privileged.

Example 1: The following example shows output of show cpu tasks command for a server:

router# show cpu tasks server 1

TID Runtime(ms) Invoked uSecs 5Sec 1Min 5min Name

137fc398 0 2 0 0.00% 0.00% 0.00% tExcTask

1313a468 0 1 0 0.00% 0.00% 0.00% tTelnetd

137e6830 0 1915 0 0.00% 0.00% 0.00% tScsiTask

13329118 4 192606 0 0.00% 0.00% 0.00% tNetTask

13137728 0 2 0 0.00% 0.00% 0.00% tFtpdTask

13134640 0 1 0 0.00% 0.00% 0.00% iFtpdTask

13131420 1 3 0 0.00% 0.00% 0.00% tTftpdTask

1312e310 0 1 0 0.00% 0.00% 0.00% tSntpsTask

1378d3d8 1322 346066 0 0.00% 0.00% 0.11% tTimerTask

1378baa0 0 2885 0 0.00% 0.00% 0.00% taskWdogTask

13138ed8 15 3 0 0.00% 0.00% 0.00% tPortmapd

1312b750 0 1154 0 0.00% 0.00% 0.00% tTaskStats

131294c8 0 1 0 0.00% 0.00% 0.00% tWdbTask

130b4f50 3360 11534 0 0.00% 0.00% 0.00% tAlarm

130b2c50 329 94 0 0.00% 0.00% 0.40% tAlarmd

130b09a0 1 3 0 0.00% 0.00% 0.00% tConfig

1308cf58 55 44 0 0.00% 0.00% 0.00% tLog

1308acd0 8 598 0 0.00% 0.00% 0.20% tDiskLog

13088a48 0 1 0 0.00% 0.00% 0.00% tSysLog

130867c0 0 1 0 0.00% 0.00% 0.00% tSerLog

12f4a180 9156 347385 7 0.70% 0.77% 0.49% TDA

12f477e8 0 91 0 0.00% 0.00% 0.00% tTimeSyncTas

The fields displayed in the above example are:

Table 3-16. Fields Displayed by show cpu tasks 
Field Description

TID

ID of the task.

Runtime

Runtime in milliseconds of the task.

Invoked

The number of activations of the task.

uSecs

The number of microseconds used by the task in the last 5 second interval.

5sec

The percentage of total time used by the task over the last 5 second period.

1 Min

The percentage of total time used by the task over the last 1 minute period.

5 Min

The percentage of total time used by the task over the last 5 minute period.

Name

The name of the task.

Example 1: The following example shows output of show cpu idle command for a server:

router# show cpu idle server 1

5Sec 1Min 5min

98.11% 98.10% 98.57%

The fields displayed in the above example are:

Table 3-17. Fields Displayed by show cpu idle 
Field Description

5 Sec

The percentage of total cpu idle time over the last 5 second interval.

1 Min

The percentage of total cpu idle time over the last 1 minute period.

5 Min

The percentage of total cpu idle time over the last 5 minute period.

Related Commands: show memory


PREV NEXT INDEX

Copyright © 2005 Avici Systems Inc.
Avici® and TSR® is a registered trademark of Avici Systems Inc.
IPriori™, Composite Links™, SSR™, QSR, and NSR® are trademarks of Avici Systems Inc.

   Source File Name: sys_mgmt.fm
    HTML File Name: sys_mgmt46.html
    Last Updated: 02/25/05 at 14:26:49

Please email suggestions and comments to: doc@avici.com