TotalNET Advanced Server 5.2 Reference Manual

tnstat

This command displays operational status information about all realms. The output includes status of the TAS system and services.

Location

TNHOME/usr/bin

Usage

tnstat [-r realm] [-t type] [-s service]

Options

-r realm

Specify the realm. If you do not specify a realm, the report contains the status of all realms. 

-t type

Specify the service type. 

-s service

Specify the service. 

Examples

  1. Use the following command to show basic TAS status information:

    tnstat

    Sample Output:

    TotalNET system is enabled.

    Transports: tcpip tnipx tnatk

    NBservices are up.

    Transports used: tcpip

    sparky:file is accepting new connects.

    0 client(s) connected.

    NWservices are up.

     

     

     

    Transports used: tnipx

     

    nwsparky:file is accepting new connects.

     

    2 client(s) connected.

    ATservices are up.

     

     

     

    Transports used: tnatk

     

    atsparky:file is accepting new connects.

     

    0 client(s) connected.

  2. Use the following command to view the status of the NetWare realm:

    tnstat -r NW

    Sample Output:

    TotalNET system is enabled.

    Transports: tcpip tnipx tnatk

    NWservices are up.

     

     

    Transports used: tnipx

     

    nwmartin:file is accepting new connects.

     

    2 client(s) connected.

    nwmartin:term is accepting new connects.

     

    0 client(s) connected.

  3. Use the following command to view the status of file services:

    tnstat -t file

    Sample Output:

    TotalNET system is enabled.

    Transports: tcpip tnipx tnatk

    NBservices are up.

     

     

     

    Transports used: tcpip

     

    spatacux:file is accepting new connects.

     

    0 client(s) connected.

    NWservices are up.

     

    Transports used: tnipx

     

    nwspatacux:file is accepting new connects.

     

    1 client(s) connected.

    ATservices are up.

     

    Transports used: tnatk

     

    atspatacux:file is accepting new connects.

     

    0 client(s) connected.

  4. Use the following command to view the status of the file service ran in the LM-NT-OS/2 realm:

    tnstat -r NB -s ran:file

    Sample Output:

    TotalNET system is enabled.

    Transports: tcpip

    NBservices are up.

     

     

     

    Transports used: tcpip

     

    ran:file is accepting new connects.

     

    0 client(s) connected.