ttyrpld [rusty colors]

 
Name > rplctl - infod client
 
Synopsis >

rplctl [-A tty] [-D tty] [-F] [-J tty] [-X tty] [-f socket]

 
Description >

The rplctl utility is used to query and remote control rpld and infod. It will print info about the requested ttys, or all ttys currently monitored or optionized if no arguments are given.

rplctl will read the INFOD_PORT variable from rpld.conf by default, if not overriden by the -f option.

 
Options >
-A tty Activate logging for the given tty. It can be a filename (which must exist) or a device number using "=MAJOR,MINOR".
-D tty Deactivate logging for the given tty until it is closed.
-F Flush the tty table. This means that every tty that is not currently active or has special options set (which must be kept), is removed from the table to free up memory.
-J tty Deactivate logging for the given tty. Note that you should not use this on dynamic devices such as /dev/pts/* since you can only reactivate them as long as they exist, or by specifying the major-minor number it used. Plus, the major-minor numbering is different for ptys between 2.4 and 2.6. 2.4 uses majors 128..136 with minors 0..255 while 2.6 uses majors 128..136:0..1048575.
-X tty Call log_close() for the given tty. rpld will close the logfile, and necessarily open up a new one whenever new activity is detected (and logging this terminal is not deactivated) on that terminal.
-f socket Path to the infod socket to connect to. The default is /var/run/.rplinfo_socket or INFOD_PORT in the rpld.conf configuration file.
 
See also > rpld(8)