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,
       --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 op-
       tion 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 informa-
       tion 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  to-
	      gether 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.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
       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  MER-
       CHANTABILITY  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)

NAME | SYNOPSIS | DESCRIPTION | OPTIONS | SEE ALSO | AUTHOR | COPYRIGHT

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

home | help