DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Administering the ttymon port monitor

Listing which TTY ports are accessible

To identify all enabled ttymon port monitors (ports accessible to users), enter:

sacadm -l -t ttymon


NOTE: The command who -l lists all running port monitors, not accessible TTY ports. Use the command sacadm -l -t ttymon to find out which TTY ports are accessible.

In the following example output, port monitor ``ttymon1'' has the status ENABLED. This means that it is accepting service requests for any of its services that are enabled.

PMTAG   PMTYPE  FLGS  RCNT  STATUS    COMMAND
ttymon1 ttymon  -     0     ENABLED   /usr/lib/saf/ttymon   #
ttymon3 ttymon  d     0     DISABLED  /usr/lib/saf/ttymon   #
To identify which services are enabled, you would use the command pmadm -l -p ttymon1 to list all configured TTY services for the port monitor ``ttymon1''.

In this example output, enabled services are those that do not have an ``x'' in the ``FLGS'' column. The ports corresponding to these services (/dev/term/01 and /dev/term/03) are accessible to users.

PMTAG   PMTYPE SVCTAG FLGS ID SCHEME <PMSPECIFIC>
ttymon1 ttymon 11     u    -  login  /dev/term/01 - - /usr/bin/shserv - 9600 ldterm login: - - - - #
ttymon1 ttymon 12     ux   -  login  /dev/term/02 - - /usr/bin/shserv - 9600 ldterm login: - - - - #
ttymon1 ttymon 13     u    -  login  /dev/term/03 - - /usr/bin/shserv - 9600 ldterm login: - - - - #
ttymon1 ttymon 14     ux   -  login  /dev/term/04 - - /usr/bin/shserv - 9600 ldterm login: - - - - #

© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 22 April 2004