This applet will not work. The "more" command only works with files. No, you cannot do double pipes with applets.
You could move to Tcl to do the filtering you want:
::cisco::eem::event_register_timer watchdog time 20
namespace import ::cisco::eem::*
namespace import ::cisco::lib::*
array set arr_einfo [event_reqinfo]
if [catch {cli_open} result] {
error $result $errorInfo
} else {
array set cli1 $result
}
if [catch {cli_exec $cli1(fd) "enable"} _cli_result] {
error $_cli_result $errorInfo
}
if [catch {cli_exec $cli1(fd) "show proc cpu | exc 0.00"} _cli_result] {
error $_cli_result $errorInfo
}
set fd [open "sup-bootdisk:showproc.txt" a]
puts $fd $_cli_result
close $fd
# Close open cli before exit.
catch {cli_close $cli1(fd) $cli1(tty_id)} result