cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2366
Views
15
Helpful
4
Replies

Access switch CPU sometimes high CPU usage

Ethan and Mia
Level 1
Level 1

Hi all , I am facing some issue

My access switch shown cpu usage history sometime cpu up to 70%  butt avg still normal  (see attached file) 

Could you please suggest how to troubleshoot it , spanning tree was on , all switches 

2 Accepted Solutions

Accepted Solutions

Hi , 

 

out put of sh proc cpu | ex 0.00 as belew

 

G01#sh processes cpu sorted | ex 0.00
CPU utilization for five seconds: 11%/1%; one minute: 12%; five minutes: 13%
PID Runtime(ms) Invoked uSecs 5Sec 1Min 5Min TTY Process
73 9560819 1842318 5189 4.97% 4.97% 4.98% 0 HaySel LinkState
80 1629258 4597083 354 0.85% 0.83% 0.85% 0 Haysel LED contr
74 1340406 184774 7254 0.69% 0.69% 0.69% 0 hpm counter proc
72 1009953 231949 4354 0.61% 0.52% 0.52% 0 hpm main process
112 883217 1137210 776 0.50% 0.45% 0.44% 0 Spanning Tree
65 764600 184544 4143 0.41% 0.39% 0.40% 0 AgingTask
90 38952 171284 227 0.03% 0.02% 0.02% 0 CDP Protocol
103 34822 5509191 6 0.01% 0.01% 0.01% 0 IP ARP Retry Age
173 102921 945362 108 0.01% 0.04% 0.05% 0 IGMPSN

 

 

 

and output off dir

 

G01#dir
Directory of flash:/

513 -rwx 2072 Nov 26 2020 13:37:08 +07:00 multiple-fs
516 drwx 2048 Mar 10 2025 01:14:30 +07:00 c2960l-universalk9-mz.152-6.E2b
749 drwx 2048 Mar 10 2025 01:14:30 +07:00 dc_profile_dir
258 -rwx 34 Aug 21 2020 18:40:47 +07:00 pnp-tech-time
259 -rwx 3774 Aug 21 2020 18:40:49 +07:00 pnp-tech-discovery-summary
261 -rwx 5790 Nov 21 2020 17:05:58 +07:00 config.text
774 -rwx 1923 Nov 21 2020 17:05:58 +07:00 private-config.text
260 -rwx 856 Aug 21 2020 18:40:55 +07:00 vlan.dat
2 drwx 2048 Mar 1 1993 07:00:02 +07:00 lost+found

244711424 bytes total (198062080 bytes free)

 

 

Thank you very much for your time and assistance


@Leo Laohoo wrote:

Post the complete output to the following commands: 

sh version
sh proc cpu sort | ex 0.00
dir



View solution in original post

The screenshot you've provided shows a CPU spike at 11-, 21-, 31-, 41, 51 minutes -- ten minute interval every time. 

The graph shows the spike hitting <60%.  Not really a concern to me.  

View solution in original post

4 Replies 4

Mark Elsen
Hall of Fame
Hall of Fame

 

           https://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst3750/software/troubleshooting/cpu_util.html

 M.



-- Let everything happen to you  
       Beauty and terror
      Just keep going    
       No feeling is final
Reiner Maria Rilke (1899)

Leo Laohoo
Hall of Fame
Hall of Fame

Post the complete output to the following commands: 

sh version
sh proc cpu sort | ex 0.00
dir

Hi , 

 

out put of sh proc cpu | ex 0.00 as belew

 

G01#sh processes cpu sorted | ex 0.00
CPU utilization for five seconds: 11%/1%; one minute: 12%; five minutes: 13%
PID Runtime(ms) Invoked uSecs 5Sec 1Min 5Min TTY Process
73 9560819 1842318 5189 4.97% 4.97% 4.98% 0 HaySel LinkState
80 1629258 4597083 354 0.85% 0.83% 0.85% 0 Haysel LED contr
74 1340406 184774 7254 0.69% 0.69% 0.69% 0 hpm counter proc
72 1009953 231949 4354 0.61% 0.52% 0.52% 0 hpm main process
112 883217 1137210 776 0.50% 0.45% 0.44% 0 Spanning Tree
65 764600 184544 4143 0.41% 0.39% 0.40% 0 AgingTask
90 38952 171284 227 0.03% 0.02% 0.02% 0 CDP Protocol
103 34822 5509191 6 0.01% 0.01% 0.01% 0 IP ARP Retry Age
173 102921 945362 108 0.01% 0.04% 0.05% 0 IGMPSN

 

 

 

and output off dir

 

G01#dir
Directory of flash:/

513 -rwx 2072 Nov 26 2020 13:37:08 +07:00 multiple-fs
516 drwx 2048 Mar 10 2025 01:14:30 +07:00 c2960l-universalk9-mz.152-6.E2b
749 drwx 2048 Mar 10 2025 01:14:30 +07:00 dc_profile_dir
258 -rwx 34 Aug 21 2020 18:40:47 +07:00 pnp-tech-time
259 -rwx 3774 Aug 21 2020 18:40:49 +07:00 pnp-tech-discovery-summary
261 -rwx 5790 Nov 21 2020 17:05:58 +07:00 config.text
774 -rwx 1923 Nov 21 2020 17:05:58 +07:00 private-config.text
260 -rwx 856 Aug 21 2020 18:40:55 +07:00 vlan.dat
2 drwx 2048 Mar 1 1993 07:00:02 +07:00 lost+found

244711424 bytes total (198062080 bytes free)

 

 

Thank you very much for your time and assistance


@Leo Laohoo wrote:

Post the complete output to the following commands: 

sh version
sh proc cpu sort | ex 0.00
dir



The screenshot you've provided shows a CPU spike at 11-, 21-, 31-, 41, 51 minutes -- ten minute interval every time. 

The graph shows the spike hitting <60%.  Not really a concern to me.