Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
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, --pro-
     gram=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 termi-
	    nated 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), psta-
     tus(1), ptestpdm(1), The POPular Manual

AUTHOR
     Jochen Topf jochen@remote.org

	    http://www.remote.org/jochen/mail/popular/	     <URL:http://www.re-
     mote.org/jochen/mail/popular/>

COPYRIGHT
     The  POPular  suite  is  copyright  (C) 1999-2002 by Jochen Topf jochen@re-
     mote.org.

     This program is free software; you can redistribute it and/or modify it un-
     der 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  FIT-
     NESS  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)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=pcontrol&sektion=1&manpath=FreeBSD+Ports+15.1.quarterly>

home | help