ACC Utilities Reference Guide

ZMNTR - ZCOM Runtime Monitor
Running ZMNTR (ZCOM Runtime Monitor)
Chapter 3 71
Output to a file
The output from ZMNTR is usually displayed on the terminal. However
if ZMNTR is run with standard out redirected to an alternate
destination, then only the ZMNTR prompts will be seen on the terminal.
For example, the usual dialog for two TT commands is shown below:
$ zmntr
ZMNTR> tt 1 5
ZLU# Mx p:sc Terminal Description.. Rx.Mes Tx.Mes Error E.Rate State.......
0001 00 0L00 L2 DCE 2 7 0 0.00% Up,Link Estbd
0002 00 1L00 L2 DCE 2 9 0 0.00% Up,Link Estbd
0003 00 2L00 L2 DCE 1 5 0 0.00% Up,Link Estbd
0004 00 3L00 L2 DCE 1 5 0 0.00% Up,Link Estbd
0005 00 4L00 L2 DCE 1 5 0 0.00% Up,Link Estbd
**** ** ** Message totals 7 31 0 .00% ************
ZMNTR> tt 6 10
ZLU# Mx p:sc Terminal Description.. Rx.Mes Tx.Mes Error E.Rate State.......
0006 00 5L00 L2 DCE 1 5 0 0.00% Up,Link Estbd
0007 00 6L00 L2 DCE 1 5 0 0.00% Up,Link Estbd
0008 00 7L00 L2 DCE 1 5 0 0.00% Up,Link Estbd
0009 01 0L00 L2 DCE 1 5 0 0.00% Up,Link Estbd
0010 01 1L00 L2 DCE 1 5 0 0.00% Up,Link Estbd
**** ** ** Message totals 5 25 0 .00% ************
ZMNTR> ex
ZMNTR> Rev 12.06 <950503.1200>
$
However, if the output is redirected to a file zmntr.out the dialog reduces
to the following:
$ zmntr -k > zmntr.out
ZMNTR: ZCOM 6.2.0.0 Runtime Monitor, Rev 1.0
ZMNTR> tt 1 5
ZMNTR> tt 6 10
ZMNTR> ex
$
The generated output can be seen by viewing the file zmntr.out.
$ more zmntr.out
ZLU# Mx p:sc Terminal Description.. Rx.Mes Tx.Mes Error E.Rate State.......
0001 00 0L00 L2 DCE 2 8 0 0.00% Up,Link Estbd
0002 00 1L00 L2 DCE 2 10 0 0.00% Up,Link Estbd
0003 00 2L00 L2 DCE 1 6 0 0.00% Up,Link Estbd
0004 00 3L00 L2 DCE 1 6 0 0.00% Up,Link Estbd