mfscgiserv8
Start http/cgi server for moosefs monitoring
Usage
mfscgiserv [-H
BIND_HOST]
[-P
BIND_PORT]
[-R
ROOT_PATH]
[-D
DATA_PATH]
[-t
LOCKTIMEOUT]
[-f
[-v]]
[ACTION]
mfscgiserv -h
Overview
mfscgiserv is a very simple HTTP server capable of running CGI scripts for MooseFS monitoring.
Options
-
-h -
print usage information and exit
-
-H BIND_HOST -
local address to listen on (default: any)
-
-P BIND_PORT -
port to listen on (default: 9425)
-
-R ROOT_PATH -
local path to use as HTTP document root (default is CGIDIR set up at configure time)
-
-D DATA_PATH -
working directory (default: /var/lib/mfs)
-
-f -
run in foreground, don't daemonize
-
-v -
log requests on stderr
-
-t LOCKTIMEOUT -
how long to wait for lockfile (in seconds; default is 60 seconds)
- ACTION
-
is one of
start,stop,restartortest. Default action isrestart. Thetestaction will yield one of two responses: "mfscgiserv pid: PID" or "mfscgiserv is not running".
History
- Debian 13 (Trixie): the text shown here
- Debian 12 (Bookworm)
- Debian 11 (Bullseye)
-D since Debian 13 (Trixie).