I have tried to build a script that will view multiple outputs , but it did not 
work for me

R1#sh run | sec event manager
event manager applet MULTIPLE
 event none sync yes
 action 1.0 cli command "show interfaces fastEthernet 1/0 | inc broadcasts"
 action 1.1 cli command "show processes cpu sorted | inc CPU"
 action 1.2 set PAR1 "$_cli_result"
 action 1.3 set PAR2 "$_cli_result"
 action 1.4 puts "$PAR1 $PAR2"

R1#event manager run MULTIPLE
CPU utilization for five seconds: 7%/100%; one minute: 6%; five minutes: 3%
R1> CPU utilization for five seconds: 7%/100%; one minute: 6%; five minutes: 3%
R1>

BR,
Mohammad                                          
_______________________________________________
cisco-nsp mailing list  [email protected]
https://puck.nether.net/mailman/listinfo/cisco-nsp
archive at http://puck.nether.net/pipermail/cisco-nsp/

Reply via email to