Refer to the exhibit. An engineer must create a script that appends the output of the show process cpu sorted command to a file.
action 4.0 syslog command "show process cpu sorted | append flash:high-cpu-file"
action 4.0 cli command "show process cpu sorted | append flash:high-cpu-file"
action 4.0 ens-event "show process cpu sorted | append flash:high-cpu-file"
action 4.0 publish-event "show process cpu sorted | append flash:high-cpu-file"
Submit