cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2158
Views
0
Helpful
1
Replies

EEM script is aborting show command execution.

marumuga
Level 1
Level 1

Hi ,

I have written small EEM script to debug the memory leak issue. 

event manager applet snmp_logs

event timer watchdog time  1000

action 100 cli command "enable"

action 150 cli command "show processes memory detailed process iosd maps | append flash:snmp2.log"

"Show Processes memory...." command will take very long time to display the output. Hence EEM script is just aborting this command execution [ % Command aborted, execution status unknown ] .

Do you have any workaround for this issue.

1 Reply 1

Joe Clarke
Cisco Employee
Cisco Employee

Configure a higher maxrun time.  For example, allow two minutes:

event timer watchdog time 1000 maxrun 120