diff options
author | Guillaume Nault <g.nault@alphalink.fr> | 2013-01-28 19:48:32 +0100 |
---|---|---|
committer | Kozlov Dmitry <xeb@mail.ru> | 2013-02-06 20:46:53 +0400 |
commit | b79e80eb0d4dc506fcddd5534a5750255b078ec9 (patch) | |
tree | 902920b5c06b67a53a43bb63db1e42b31fe6df30 /crypto/md5.c | |
parent | 7ba4600fc2ce3e03d9334afa9dd42bd76beba2a6 (diff) | |
download | accel-ppp-b79e80eb0d4dc506fcddd5534a5750255b078ec9.tar.gz accel-ppp-b79e80eb0d4dc506fcddd5534a5750255b078ec9.zip |
New client for the cli module (tcp)
accel-cmd is a small program that reads commands from its command
line or standard input and sends them to accel-ppp (using the
tcp interface of the cli module). It displays accel-ppp's result
on standard output.
accel-cmd automatically appends the "exit" command to its command
list, so that accel-pppd will disconnect after sending its replies.
By default accel-cmd connects to localhost:2001.
Examples:
Send the "show sessions" command to accel-ppp and display the result:
$ accel-cmd show sessions
Execute commands from file "cmds" and display the results to stdout:
$ accel-cmd < cmds
Same as above, but use a different host and timeout after 1.5 seconds
of inactivity:
$ accel-cmd --timeout 1500ms --host accelppp.example.com < cmds
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Diffstat (limited to 'crypto/md5.c')
0 files changed, 0 insertions, 0 deletions