cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
962
Views
0
Helpful
2
Replies

[Debugging] - how to avoi intensive CPU usage with debug command

NicolasDemonty
Level 1
Level 1

Hi all !

I hope you're well !

I'm just wondering if there is a mean to avoid the increase of CPU usage when using the debug command. More precisely I would like to know if it exists something to avoid the CPU to saturate and to allow vital process to be prioritary for using the CPU, just like a QoS mecanism but to classify the process in order of importance.

Thanks a lot in advance !

2 Replies 2

yjdabear
VIP Alumni
VIP Alumni

I'm not aware of an equivalent to "nice" for IOS. "debug condition" might be one command to use, in addition to the usual "debug ip ospf" types, to limit the scenarios that trigger debugging outputs.

some time ago this document was posted on CSC which give an excellent overview on how to savely enable debug commands:

https://supportforums.cisco.com/docs/DOC-16310