Syntax:
echo [<message>]
Prints an optional <message> and a new line. The messages must be surrounded by double quotes if it contains a semicolon. Only a new line is printed if the message is not specified.
This following CLI script:
echo
echo Status router1
echo ==============
echo
sr router1
echo Memory Status
echo -------------
echo
cc /.env/router-memory-list
sum free-memory total-memory
echo
echo Network Throughput in KB/s
echo --------------------------
echo
cc /sys$net/usage
sum throughput-input throughput-output
echo
echo JMS Throughput in Msgs/s and Total
echo ----------------------------------
cc /sys$jms/usage
sum msgs-sent msgs-received total-sent total-received
echo
exit
Will produce this output:
> execute test.cli
Status router1
==============
Memory Status
-------------
count: 1
free-memory: 21250
total-memory: 32448
Network Throughput in KB/s
--------------------------
count: 3
throughput-input: 369.93
throughput-output: 338.30
JMS Throughput in Msgs/s and Total
----------------------------------
count: 3
msgs-sent: 744
msgs-received: 744
total-sent: 24231
total-received: 24230