Cnfan.net中国网络
IT网络技术专家
Cisco技术
 最新专题: CISCO路由器配置手册   Cisco IOS Cookbook 中文精简版   思科IOS技术专题   专题 | 分类 | 投稿 | 搜索
 Cisco技术首页 | 思科动态 | 路由与交换 | 配置实例 | 思科安全 | 思科产品 | 综合 | 思科存储 | NetFlow

Cisco CEF Note

  • 2008-04-10 11:11:27  作者:  来源:Cnfan.net收集  浏览次数:0  文字大小:【】【】【
简介:R1#sh processCPU utilization for five seconds: 1%/0%; one minute: 0%; five minutes: 0%PID QTy PC Runtime (ms) Invoked uSecs Stacks TTY Process1 Cwe 6066730C 20 76 263 5416/6000 0 Chunk Manager2 C ...

关键字: cisoc CEF Note 路由器

R1#sh process
CPU utilization for five seconds: 1%/0%; one minute: 0%; five minutes: 0%
PID QTy PC Runtime (ms) Invoked uSecs Stacks TTY Process
1 Cwe 6066730C 20 76 263 5416/6000 0 Chunk Manager
2 Csp 60648A30 4 40 100 2508/3000 0 Load Meter
3 M* 0 604 80 755010588/12000 0 Exec
4 Mwe 61BCE1EC 0 1 023360/24000 0 EDDRI_MAIN
5 Lst 60663864 228 25 9120 5316/6000 0 Check heaps
6 Cwe 6066B3A4 0 1 0 5612/6000 0 Pool Manager
7 Mst 604E4958 4 2 2000 5480/6000 0 Timers
8 Mwe 600A3BB4 0 2 0 5472/6000 0 Serial Backgroun
9 Mwe 60495054 4 2 2000 5468/6000 0 AAA high-capacit
10 Lwe 6049905C 0 1 0 5760/6000 0 AAA_SERVER_DEADT
11 Mwe 60510D8C 0 1 011604/12000 0 Policy Manager

解释一下 什么Lwe 什么的概念

第一个字母代表的是优先级

  • Critical— Processes that allocate resources for other processes and must be run periodically for the router to operate properly. For example, the pool manager process is critical.

  • High— Processes that require very quick response times; Net Input, which accepts packets off of interfaces, is high priority.

  • Medium— The default process priority; almost all processes run at this priority.

  • Low— Periodic background processes that aren’t required for router operation; Logger, which records Syslog messages, is a low-priority process

    后面的代表的是状态

    • *— Process is running on the CPU (you’ll almost always see exec as the current process on the processor, because it is almost always the place you run this command from).

    • E— Process is waiting on an event.

    • S —Process is suspended.

    • rd— Process is ready to run.

    • we— Process is idle and waiting on an event.

    • sa— Process is idle until a specific (absolute) time occurs.

    • si— Process is idle until a specific amount of time passes.

    • sp— Process is idle until a specific amount of time passes; this state is used for processes that run periodically.

    • st— Process is idle until a timer expires.

    • hg— Process is hung.

    • xx— Process is dead.

    比如这个

    3 M* 0 604 80 755010588/12000 0 Exec

    意味着是中优先级,正在cpu上操作

    至于优先级的处理呢,看看这个图就可以了

     

    R1#sh processes memory
    Processor Pool Total: 160500704 Used: 18377476 Free: 142123228
    I/O Pool Total: 12582912 Used: 2825376 Free: 9757536

    PID TTY Allocated Freed Holding Getbufs Retbufs Process
    0 0 34471968 14331280 17330420 0 0 *Init*
    0 0 12052 79768 12052 0 0 *Sched*
    0 0 15824 796096 2360 179208 179208 *Dead*

  • Init— Accounts for the memory allocated before the scheduler, memory pool manager, and other such processes come up.

  • Sched— Accounts for the memory used in the process scheduler; the scheduler isn’t a separate process.

  • Dead— Accounts for memory that is allocated to processes that have entered the dead state.


  •   <欢迎投稿>  <论坛讨论>
     »相关文章  »论坛新贴
    精彩文章 活动资讯 今日头条