Using OSI and OTS Tools
Checking OTS Status: otsstat
Example 1
The following example shows the output of otsstat when OTS/9000 is running and can properly communicate with X.25 and with LAN. The programmatic access name for the X.25 card is telenet. The interface name for the LAN is lan0.
| /opt/ots/bin/otsstat | |
| OTS: | running |
| lan0: | running |
| telenet: | running |
| The otsstat command does not include the status of the X.25 and LAN | |
NOTE | ||
| network services. To check their status, use the x25stat and lanscan | |
| commands. |
|
|
|
|
Example 2
The following example shows the output of otsstat when the OTS/9000 subsystem is not running:
/opt/ots/bin/otsstat
OTS: NOT RUNNING
Example 3
The following example shows the output of otsstat when OTS/9000 is running, cannot properly communicate with the X.25 link software, but can communicate with LAN.
/opt/ots/bin/otsstat
OTS: running
lan0: running
telenet: DOWN
Chapter 3 | 83 |