Poster of Linux kernelThe best gift for a Linux geek
multiwatch

multiwatch

Section: User Commands (1) Updated: March 24, 2009
Local index Up
 

NAME

multiwatch - forks and watches multiple instances of a program in the same environment  

SYNOPSIS

multiwatch [options] -- <application> [app arguments]

multiwatch -v

multiwatch --help | -?  

DESCRIPTION

multiwatch is used to fork and watch multiple fastcgi backends.  

OPTIONS

-f, --forks=childs
Number of childs to fork and watch(default 1)
-r, --retry=retries
Number of retries to fork a single child
-t, --timeout=msecs
Retry timeout in ms; if the child dies after the timeout the retry counter is reset
-?, --help
General usage instructions
-v, --version
Show version
 

EXAMPLE

Spawn 2 rails instances on the same fastcgi socket (and supervise them):
spawn-fcgi -s /tmp/fastcgi-rails.sock -C 0 -n /usr/bin/multiwatch -f 2 /home/rails/public/dispatch.fcgi
 

SEE ALSO

spawn-fcgi(1)  

AUTHOR

Stefan Buehler <stbuehler@web.de>.


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
EXAMPLE
SEE ALSO
AUTHOR

This document was created by man2html, using the manual pages.
Time: 21:24:08 GMT, April 16, 2011