EnglishFrenchSpanish

OnWorks favicon

multiwatch - Online in the Cloud

Run multiwatch in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command multiwatch that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

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=children
Number of children to fork and watch (default 1)

-r, --retry=retries
Number of retries to fork a single child (default 3)

-t, --timeout=msecs
Retry timeout in ms; if the child dies after the timeout the retry counter is
reset (default 10000 ms = 10 s)

-s, --signal=signame
Signal to send to children to signal 'graceful' termination
(HUP,INT,QUIT,TERM,USR1,USR2, default is USR1)

-?, --help
General usage instructions

-v, --version
Show version and exit

SIGNAL HANDLING


multiwatch will forward the signal USR2; if it receives HUP,INT,QUIT,TERM or USR1, it will
send the signal from --signal to the children; if it receives another signal from that
group, it will forward the signal again.

A signal of the group HUP,INT,QUIT,TERM and USR1 tells multiwatch to go into "shutdown"
mode, so it won't restart children after receiving it.

EXAMPLE


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

Use multiwatch online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Osu!
    Osu!
    Osu! is a simple rhythm game with a well
    thought out learning curve for players
    of all skill levels. One of the great
    aspects of Osu! is that it is
    community-dr...
    Download Osu!
  • 2
    LIBPNG: PNG reference library
    LIBPNG: PNG reference library
    Reference library for supporting the
    Portable Network Graphics (PNG) format.
    Audience: Developers. Programming
    Language: C. This is an application that
    can also...
    Download LIBPNG: PNG reference library
  • 3
    Metal detector based on  RP2040
    Metal detector based on RP2040
    Based on Raspberry Pi Pico board, this
    metal detector is included in pulse
    induction metal detectors category, with
    well known advantages and disadvantages.
    RP...
    Download Metal detector based on RP2040
  • 4
    PAC Manager
    PAC Manager
    PAC is a Perl/GTK replacement for
    SecureCRT/Putty/etc (linux
    ssh/telnet/... gui)... It provides a GUI
    to configure connections: users,
    passwords, EXPECT regula...
    Download PAC Manager
  • 5
    GeoServer
    GeoServer
    GeoServer is an open-source software
    server written in Java that allows users
    to share and edit geospatial data.
    Designed for interoperability, it
    publishes da...
    Download GeoServer
  • 6
    Firefly III
    Firefly III
    A free and open-source personal finance
    manager. Firefly III features a
    double-entry bookkeeping system. You can
    quickly enter and organize your
    transactions i...
    Download Firefly III
  • More »

Linux commands

Ad