Ked*_*are 10 networking cisco ios cpu-usage
我有一个问题,我有一个运行 Cisco IOS 15 的 Cisco 1841,并且出现奇怪的行为。CPU 使用率显示为 40%,但没有进程使用这么多 CPU 能力。
下面是一个例子:
lev1841#show processes cpu sorted
CPU utilization for five seconds: 41%/39%; one minute: 42%; five minutes: 32%
PID Runtime(ms) Invoked uSecs 5Sec 1Min 5Min TTY Process
96 88 147299 0 1.11% 1.04% 0.92% 0 Ethernet Msec Ti
117 40 36582 1 0.15% 0.19% 0.17% 0 IPAM Manager
240 28 36535 0 0.15% 0.14% 0.12% 0 MMON MENG
2 92 236 389 0.07% 0.04% 0.03% 0 Load Meter
183 24 1775 13 0.07% 0.02% 0.00% 0 CEF: IPv4 proces
140 8 4661 1 0.07% 0.02% 0.00% 0 SSS Feature Time
121 2236 1958 1141 0.07% 0.19% 0.17% 0 IP Input
176 4 1172 3 0.07% 0.00% 0.00% 0 RUDPV1 Main Proc
212 4 2287 1 0.07% 0.00% 0.00% 0 CCE DP URLF cach
95 8 6733 1 0.07% 0.03% 0.02% 0 Ethernet Timer C
lev1841#show processes cpu history
lev1841 04:11:07 PM Saturday Jan 14 2012 UTC
444444444444444444444444444444444444444444444444444444444444
333111111111111111111111111122222111111111111111111111111133
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
CPU% per second (last 60 seconds)
lev1841# show processes cpu extended
################################################################################
Global Statistics
-----------------
5 sec CPU util 41%/39% Timestamp 00:22:52
Queue Statistics
----------------
Exec Count Total CPU Response Time Queue Length
(avg/max) (avg/max)
Critical 1 0 0/0 1/1
High 683 0 0/0 1/2
Normal 462 8 0/4 1/7
Low 14 0 0/0 1/2
Common Process Information
-------------------------------
PID Name Prio Style
-------------------------------
95 Ethernet Timer C H New
96 Ethernet Msec Ti H New
CPU Intensive processes
-------------------------------------------------------------------------------
PID Total Exec Quant Burst Burst size Schedcall Schedcall
CPUms Count avg/max Count avg/max(ms) Count Per avg/max
-------------------------------------------------------------------------------
Priority Suspends
------------------------------------
PID Exec Count Prio-Susps
------------------------------------
95 38 19
96 644 19
Latencies
-------------------------
PID Exec Count Latency
avg/max
-------------------------
################################################################################
Run Code Online (Sandbox Code Playgroud)
我找不到导致所有这些 CPU 负载的原因。
你能帮助我吗 ?
以下是有关路由器的一些信息:
Cisco 1841 (revision 6.0) with 358400K/34816K bytes of memory.
System image file is "flash:c1841-adventerprisek9-mz.151-4.M1.bin"
Run Code Online (Sandbox Code Playgroud)
系统刚刚从IOS 13更新到IOS 15.4M1。
谢谢你。
您是否查看了高 CPU的Cisco 故障排除指南?它有一个关于在遇到高 CPU 负载时该怎么做的广泛指南。
包括:
确定原因并解决问题:
由于中断导致 CPU 使用率高
在 Cisco 7600 系列路由器上启用 Netflow NDE 时 CPU 使用率高
进程导致的高 CPU 使用率
PCI 和 FAST 内存池显示出非常高的利用率
%SNMP-4-HIGHCPU:进程超过 [dec]ms 阈值([dec]ms IOS 量程)[chars] 的 [chars]--result [chars]
由于软件加密导致 CPU 高
一件事要尝试:
router(config)#no logging console
Run Code Online (Sandbox Code Playgroud)
no logging console将禁用串行控制台上调试消息的输出。由于控制台是中断驱动的,每个字符都是一个中断。
小智 2
在下面的输出中,“显示进程 cpu”显示的数字有点误导:
lev1841#show processes cpu sorted
CPU utilization for five seconds: 41%/39%; one minute: 42%; five minutes: 32%
Run Code Online (Sandbox Code Playgroud)
五秒的数字 41%/39% 应解读为“总 CPU 使用率”/“流量引起的 CPU 使用率”。
即您的进程使用了 2%,其余部分是由通过路由器的正常流量引起的。如果您要关闭流量承载接口,这个数字将下降到 2% 左右。
可能值得检查您是否已在路由器上启用 CEF?