Cisco ASR1006 ESP40 CPU 利用率高

网络工程 思科 cisco-nx-os 中央处理器 asr
2022-02-24 14:43:38

我们ASR1006ASR1000-ESP40SNMP 监控显示最大 CPU 利用率 70% 和平均 35% 似乎很奇怪,但是当我检查命令行数字完全不同时,在 Cisco 上检查 CPU 利用率的最佳命令是什么,它给出了正确的信息。

我们在这个路由器上抽 4Gbps 并使用一堆 ACL 和 netflow 运行 BGP。

我想看看谁吃的 CPU 最多(我相信一定是 ACL 但只是想看看有多少?)

ASR1k#sh processes cpu sorted | ex 0.00
CPU utilization for five seconds: 1%/0%; one minute: 0%; five minutes: 0%
 PID Runtime(ms)     Invoked      uSecs   5Sec   1Min   5Min TTY Process
   9    25600016     5332884       4800  0.39%  0.09%  0.06%   0 Check heaps
  15     7546146   212063155         35  0.15%  0.02%  0.01%   0 ARP Input
  68    15299310   289732737         52  0.07%  0.03%  0.02%   0 IOSD ipc task

更新

ASR1k#show processes cpu history




                                         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
               CPU% per second (last 60 seconds)





      2 111111 11111115111111 11 1  11111  11 1 1 1111 11111  111
  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 minute (last 60 minutes)
              * = maximum CPU%   # = average CPU%





      555665656555555656566655564565555565456565665555566666666556556555656565
  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
                   CPU% per hour (last 72 hours)
                  * = maximum CPU%   # = average CPU%

控制处理器输出

ASR1k#show platform software status control-processor brief
Load Average
 Slot  Status  1-Min  5-Min 15-Min
  RP0 Healthy   0.00   0.00   0.00
  RP1 Healthy   0.06   0.05   0.00
 ESP0 Healthy   0.00   0.00   0.00
 ESP1 Healthy   0.00   0.01   0.00
 SIP0 Healthy   0.00   0.00   0.00
 SIP1 Healthy   0.00   0.00   0.00

Memory (kB)
 Slot  Status    Total     Used (Pct)     Free (Pct) Committed (Pct)
  RP0 Healthy 16342672  3269760 (20%) 13072912 (80%)  11172684 (68%)
  RP1 Healthy 16342672  3191624 (20%) 13151048 (80%)  11164012 (68%)
 ESP0 Healthy  8097460  1046744 (13%)  7050716 (87%)    757672 ( 9%)
 ESP1 Healthy  8097460  1036996 (13%)  7060464 (87%)    755624 ( 9%)
 SIP0 Healthy   969060   344264 (36%)   624796 (64%)    435940 (45%)
 SIP1 Healthy   969060   343832 (35%)   625228 (65%)    435556 (45%)

CPU Utilization
 Slot  CPU   User System   Nice   Idle    IRQ   SIRQ IOwait
  RP0    0   0.80   0.60   0.00  98.49   0.00   0.10   0.00
         1   0.10   0.00   0.00  99.90   0.00   0.00   0.00
  RP1    0   0.50   0.40   0.00  99.10   0.00   0.00   0.00
         1   0.00   0.00   0.00 100.00   0.00   0.00   0.00
 ESP0    0   0.70   8.90   0.00  90.40   0.00   0.00   0.00
         1   0.00   0.10   0.00  99.90   0.00   0.00   0.00
 ESP1    0   1.00   7.20   0.00  91.80   0.00   0.00   0.00
         1   0.19   0.29   0.00  99.50   0.00   0.00   0.00
 SIP0    0   1.40   1.00   0.00  97.60   0.00   0.00   0.00
 SIP1    0   1.30   0.60   0.00  98.00   0.00   0.10   0.00

更新 - 2

ASR1k#show platform hardware qfp active datapath utilization summary
  CPP 0:                     5 secs        1 min        5 min       60 min
Input:     Total (pps)      4437420      4442010      4409031      4511954
                 (bps)   5177030592   5174027696   5125677032   5227078152
Output:    Total (pps)      4439532      4444149      4411183      4514112
                 (bps)   5197754704   5194927560   5146659024   5248022568
Processing: Load (pct)           38           38           38           39

在监控图表上(为什么命令行不显示图表显示的内容)

在此处输入图像描述

CPU 利用率的不同视图

在此处输入图像描述

0个回答
没有发现任何回复~