Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

collect detail detail cpu process information while high cpu utilization

Hi,

The following is "show proc cpu hist" result. Every several hours there is a moment the CPU utilization up to 100%.

How can I collect detail cpu process information while high cpu utilization?

Best Regards,

Jackson

3750-sw1>sh proc cpu hist

                                                             

    2211111111112222222222222222222222222222222222222222111112

    3388888888882222255555222221111100000111117777700000777776

100                                                          

90                                                          

80                                                          

70                                                          

60                                                          

50                                                          

40                                                          

30                  *****                    *****          *

20 **********************************************************

10 **********************************************************

   0....5....1....1....2....2....3....3....4....4....5....5....

             0    5    0    5    0    5    0    5    0    5   

               CPU% per second (last 60 seconds)

                                                             

    2222222222222222222222222222222222222222222222222222222222

    7642477698945667585848898165565257325643553444344666666438

100                                                          

90                                                          

80                                                          

70                                                          

60                                                          

50                                                          

40                                                          

30 **   ****** ******** **** ***** **  **  **       ******  *

20 ##########################################################

10 ##########################################################

   0....5....1....1....2....2....3....3....4....4....5....5....

             0    5    0    5    0    5    0    5    0    5   

               CPU% per minute (last 60 minutes)

              * = maximum CPU%   # = average CPU%

                                                                         

    9232922292239229933393339222923292229223973393339222932292339222933393

    7925757977907769802171348866780677976892731173238744607788107999901473

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%

3750-sw1>sh proc cpu hist

                                                             

    2211111111112222222222222222222222222222222222222222111112

    3388888888882222255555222221111100000111117777700000777776

100                                                          

90                                                          

80                                                          

70                                                          

60                                                          

50                                                          

40                                                          

30                  *****                    *****          *

20 **********************************************************

10 **********************************************************

   0....5....1....1....2....2....3....3....4....4....5....5....

             0    5    0    5    0    5    0    5    0    5   

               CPU% per second (last 60 seconds)

                                                             

    2222222222222222222222222222222222222222222222222222222222

    7642477698945667585848898165565257325643553444344666666438

100                                                          

90                                                          

80                                                          

70                                                          

60                                                          

50                                                          

40                                                          

30 **   ****** ******** **** ***** **  **  **       ******  *

20 ##########################################################

10 ##########################################################

   0....5....1....1....2....2....3....3....4....4....5....5....

             0    5    0    5    0    5    0    5    0    5   

               CPU% per minute (last 60 minutes)

              * = maximum CPU%   # = average CPU%

                                                                         

    9232922292239229933393339222923292229223973393339222932292339222933393

    7925757977907769802171348866780677976892731173238744607788107999901473

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%

  • LAN Switching and Routing
2 REPLIES
New Member

collect detail detail cpu process information while high cpu uti

Is there anyone can give me some advise? Thanks a lot...

New Member

collect detail detail cpu process information while high cpu uti

Hi,

I found the following eem command to collect some information while cpu utilization up to xx%, but my switch is Catalyst 3750, it does not support "append" command. Please help to give me some advie?

event manager applet cpu_stats

event snmp oid "1.3.6.1.4.1.9.9.109.1.1.1.1.3.1" get−type exact entry−op gt entry−val "70"

exit−op lt exit−val "50" poll−interval 5

action 1.01 syslog msg "−−−−−−HIGH CPU DETECTED−−−−, CPU:$_snmp_oid_val%"

action 1.02 cli command "enable"

action 1.03 cli command "show clock | append disk0:cpu_stats"

action 1.04 cli command "show proc cpu sort | append disk0:cpu_stats"

action 1.05 cli command "Show proc cpu | exc 0.00% | append disk0:cpu_stats"

action 1.06 cli command "Show proc cpu history | append disk0:cpu_stats"

action 1.07 cli command "show logging | append disk0:cpu_stats "

action 1.08 cli command "show spanning−tree detail | in ieee|occurr|from|is exec | append disk0:cpu_stats"

138
Views
0
Helpful
2
Replies
This widget could not be displayed.