Tripp Lite 93-2879 Server User Manual


 
_____________________________________________________________________
B096-016 B096-048 and B092-016 User Manual Page 170
pmchat
The pmchat command acts similarly to the standard chat command, but all serial port access is
directed via the portmanager.
Example:
To run a chat script via the portmanager:
# pmchat -v -f /etc/config/scripts/port08.chat < /dev/port08
For more information on using chat (and pmchat), you should consult the UNIX man pages:
http://techpubs.sgi.com/library/tpl/cgi-
bin/getdoc.cgi?coll=linux&db=man&fname=/usr/share/catman/man8/chat.8.html
pmusers
The pmusers command is used to query the portmanager for active user sessions.
Example:
To detect which users are currently active on which serial ports:
# pmusers
This command will not output anything if there are no active users currently connected to any
ports, otherwise, it will respond with a sorted list of usernames per active port:
Port 1:
user1
user2
Port 2:
user1
Port 8:
user2
The above output indicates that a user named “user1” is actively connected to ports 1 and 2,
while “user2” is connected to both ports 1 and 8.