NAME
	mon

SYNOPSIS
	mon [-d] [-u user] [-r req] cmdpath argument ...

DESCRIPTION
	`mon' is a program that is designed to be used with Pegasus httpd to protect against
	malicious cgi programs that attempt to kill httpd.
	`mon' invokes httpd to run as `user' and monitors the httpd to invoke subsequent httpd
	if it is killed by someone.
	`mon' should be executed by host owner.

	cmdpath is the path of Pegasus httpd, and arguments are of httpd.
	options are:
	-d: run as a daemon
	-u user: run as user "user". usually "web". if user is ".", current user is assumed.
		without this option mon is executed as user "none"
	-r req: factotum format of X.509 certificate signing request 

EXAMPLE
	mon -du web /usr/local/bin/$cputype/httpd -suM

LOCATION
	/usr/local/bin/$objtype/mon


Coded by Kenar (Kenji Arisawa)
E-mail: arisawa@aichi-u.ac.jp
