Flashnux

GNU/Linux man pages

Livre :
Expressions régulières,
Syntaxe et mise en oeuvre :

ISBN : 978-2-7460-9712-4
EAN : 9782746097124
(Editions ENI)

GNU/Linux

RedHat 6.2

(Zoot)

phhttpd_ctl(8)


phhttpd_ctl

phhttpd_ctl

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
FILES
BUGS

NAME

phhttpd_ctl − used to control running phhttpd daemons

SYNOPSIS

phhttpd_ctl [ −c control_path ] [ −r ] [ −o ] [ −s ] [ −h ]

DESCRIPTION

phhttpd_ctl is a program used to control running phhttpd daemons. It may be used to query status or perform administrative functions such as shutting down the server. It opens a connection to the running server as specified on the command line and performs the desired action, returning a rather terse description of what happened.

OPTIONS

−r

This option tells phhttpd to rotate its log files. Briefly, this will rename all the log files the phhttpd instance knows about to the next ’.NNN’ available file name. See the phhttpd documentation for more information. When this command returns it is safe to assume that the phhttpd in question is no longer using the log files that were just renamed.

−o

This tells phhttpd that the log files it has open have been renamed. It closes these files and simply reopens the filenames that it was given in its configuration. This is used in conjunction with third party log rotating packages to tell phhttpd to release its log files so that the third party may compress or process these log files.

−s

This will print a brief status message generated by the running phhttpd in question.

−h

This tells the running phhttpd to shut itself down gracefully. This is the preferred method of shutting down the server, rather than sending it random signals.

FILES

/usr/sbin/phhttpd_ctl

BUGS

Only one phhttpd_ctl may be running for a given phhttpd instance.
Unix file system permissions on the control socket are the only authentication mechanism in place. Anyone who can connect and write to the control socket has full control of the running phhttpd.



phhttpd_ctl(8)