(Page 1 of 1 in this chapter)


Appendix B

Demonstration Programs


Introduction

This appendix describes the t1stat and e1stat utilities provided with CT Access software.

t1stat and e1stat

t1stat and e1stat are utilities that let you monitor the status of a trunk, including alarm states, errored and failed seconds, bit error rate violations, framing slips and framer synchronization states. t1stat is for T1 trunks. e1stat is for E1 trunks.

These utilities have almost identical displays and command-line options. They are installed with the CT Access software, and can be found in one of the following directories:

Usage

To run either of these utilities, enter:

t1stat [options]

or

e1stat [options]

where options is one or more of the following command-line options:

Option

Description

-b board

The number of the board to monitor. (Numbers are assigned to AG boards in the AG configuration file.) board defaults to 0.

-d boardtype

Type of board to monitor. t1stat: board can be AGSW or WTI8 (the default). e1stat: board can be AGE1 (the default).

-t refresh

Specifies (in seconds) how often the utility should update its report. refresh defaults to 1. Note: if refresh is greater than 10, the utility interprets the value as milliseconds.

-?

Causes the utility to display a list of its command-line options, and terminate.

Options are case-sensitive, but option arguments are not. You can include white space between an option letter and its argument.

If you have multiple AG-T1 or AG-E1 boards in your system, you will need to run one instance of t1stat or e1stat for each board to monitor changes. To direct an instance of the utility to connect with a board other than board 0, use the -b option.

Display

When t1stat runs, it displays a screen like the following:

T1 Line Status Display        Natural MicroSystems    Jan  7 1997
(Press F3 or ESC to exit)

AG-T1 # 0
-----------------------------------------------------------------
Start time: Thu Feb 20 15:58:56 1997
Elapsed Time: 0000:00:21
Board Status: RUNNING


T1a
-----------------------
Alarm: RED
Remote alarm: NONE
Errored seconds: 20
Failed seconds: 10
BPVs: 0
Slips: 0
Frame sync: *LOST*
e1stat has a similar display.



(Page 1 of 1 in this chapter)


tech_support@nmss.com
Copyright © 1999, Natural MicroSystems, Inc. All rights reserved.