
Main page | Install | ttyreplay(1) | rpldev(4) | rpl(5) | ttyrpld(7) | rplctl(8) | rpld(8) | Netlogging | Support
| Name > | rplctl - infod client | ||||||||||||||||
| Synopsis > |
rplctl [-A tty] [-D tty] [-L [tty]] [-S tty] [-X tty] [-Z [tty]] [-f socket] [-t] |
||||||||||||||||
| 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 > |
|
||||||||||||||||
| Example output > |
A command like `rplctl` could output this:
A TTY BYTES IN OUT FILENAME An asterisk in the A (status) field means "Activated", a dot "Deactivated until session ends" and a blank for "Deactivated". |
||||||||||||||||
| sscanf() format > |
On the other hand, `rplctl -t` could produce this: ttyrpld 1.31 Where A=Activated, D=Deactivated, S=Deactivated until session ends. The first line of the "parseable" output (-t) is the program used. It can (and should) be ignored by programs querying infod. The second is the status line about rpld. The sscanf formula is "%zu %zu %zu %zu %llu %llu %zu %zu". The fields are (in that order):
All other lines are tty information lines, whose formula is "%c %ld %ld %s %llu %llu %s", and the fields are:
|
||||||||||||||||
| See also > | rpld(8) | ||||||||||||||||
| by Jan Engelhardt | * |