OSの種類
IOS
IOS-XE
コマンド
show processes cpu
show processes cpuマンド概要
機器のCPU使用率を表示し、確認することが可能
コマンド | コマンドの結果 |
show processes cpu | CPU使用率を表示 |
show processes cpu history | 過去のCPU使用率を表示する |
show processes cpuコマンドの表示結果
Router#show processes cpu Load for five secs: 4%/0%; one minute: 1%; five minutes: 1% Time source is NTP, 19:59:24.151 JST Wed Nov 8 2023 CPU utilization for five seconds: 4%/0%; one minute: 1%; five minutes: 1% PID Runtime(ms) Invoked uSecs 5Sec 1Min 5Min TTY Process 1 2 18 111 0.00% 0.00% 0.00% 0 Chunk Manager 2 156869 573691 273 0.00% 0.00% 0.00% 0 Load Meter 3 15 48 312 0.00% 0.00% 0.00% 0 SpanTree Helper ---以下省略
show processes cpuコマンドの表示結果解説
Router#show processes cpu ↓③5分間の平均cpu利用率
Load for five secs: 4%/0%; one minute: 1%; five minutes: 1%
↑①5秒間の平均cpu使用率 ↑②1分間の平均cpu利用率
Time source is NTP, 19:59:24.151 JST Wed Nov 29 2023
CPU utilization for five seconds: 4%/0%; one minute: 1%; five minutes: 1%
PID Runtime(ms) Invoked uSecs 5Sec 1Min 5Min TTY Process
1 2 18 111 0.00% 0.00% 0.00% 0 Chunk Manager
2 156869 573691 273 0.00% 0.00% 0.00% 0 Load Meter
3 15 48 312 0.00% 0.00% 0.00% 0 SpanTree Helper
---以下省略
show processes cpu historyコマンドの表示結果
#show processes cpu history
Load for five secs: 4%/0%; one minute: 1%; five minutes: 1%
Time source is NTP, 19:59:24.182 JST Wed Nov 8 2023
4 11111
100
90
80
70
60
50
40
30
20
10
0....5....1....1....2....2....3....3....4....4....5....5....6
0 5 0 5 0 5 0 5 0 5 0 5 0
CPU% per second (last 60 seconds)
16 716151711771711416161171111118411111111114411111111141111
100
90
80
70
60
50
40
30
20
10 * * * * * ** * * * * *
0....5....1....1....2....2....3....3....4....4....5....5....6
0 5 0 5 0 5 0 5 0 5 0 5 0
CPU% per minute (last 60 minutes)
* = maximum CPU% # = average CPU%
777166174711111111111144755744111541111111111144111414111111111111111111
100
90
80
70
60
50
40
30
20
10 *** ** * * **** *
0....5....1....1....2....2....3....3....4....4....5....5....6....6....7..
0 5 0 5 0 5 0 5 0 5 0 5 0 5 0
CPU% per hour (last 72 hours)
* = maximum CPU% # = average CPU%
コメント