DragonFly On-Line Manual Pages

Search: Section:  


pcontrol(1)                                                        pcontrol(1)

NAME

pcontrol - Send commands to running pproxy or pserv

SYNOPSIS

pcontrol [-c CMD, --command=CMD] [-s FILE, --socket=FILE] [-p PRG, --program=PRG] [-q, --quiet] [-v, --verbose] [-i, --ignore-errors] [--help] [--version] FILE...

DESCRIPTION

With pcontrol commands can be send to the running pproxy or pserv server. If no files are given on the command line and the --command option is not used, commands are read interactively from the terminal. If GNU readline support is compiled in, it will be used. If one or more filenames are given on the command line, these files are read in order and all lines are send to the server. Lines beginning with '#' are ignored. '-' can be used to read from STDIN. If the --command option is used, the command after --command is send to the server. If neither the --program nor the --socket option is given, the program will look for the socket of a running pproxy and if that is not found for the socket of a running pserv. Start the program in interactive mode and type '/h' for more information about possible commands, parameters and return codes.

OPTIONS

-c CMD, --command=CMD Send CMD to server instead of reading them from the named files. -s FILE, --socket=FILE Open FILE as control socket to server. This option can not be used together with --program. -p PRG, --program=PRG Open control socket to program PRG. The corresponding socket in /var/run/popular will be used. This option can not be used together witch --socket. -q, --quiet Don't print answer messages from server. -v, --verbose Print messages as they are sent to the server. -i, --ignore-errors Ignore errors from server. Without this option the program is terminated after the first error and a corresponding return code is set. --help Print short help screen. --version Print version information.

SEE ALSO

pcheck(1), pcheckd(8), pclean(8), pdeliver(1), pproxy(8), pserv(8), pstatus(1), ptestpdm(1), The POPular Manual

AUTHOR

Jochen Topf jochen@remote.org http://www.remote.org/jochen/mail/popular/ <URL:http://www.remote.org/jochen/mail/popular/>

COPYRIGHT

The POPular suite is copyright (C) 1999-2002 by Jochen Topf jochen@remote.org. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA pcontrol(1)

Search: Section: