All Projects → A → node-clusterize-cli

A / node-clusterize-cli

Licence: other
The simplest CLI interface for clusterize and demonize your apps

Programming Languages

javascript
184084 projects - #8 most used programming language
CSS
56736 projects
shell
77523 projects

Node Clusterize CLI

Build Status Code Climate

NPM

Simple CLI interface for clusterize, demonize your apps. Also, it starts again fallen instances of your application.

Install

npm i -g node-clusterize-cli

Usage

$ clusterize --app ./test/express/app.js --workers 32 --log ./cluster.log
done

Arguments

Usage: clusterize [options]

  Options:

    -h, --help           output usage information
    -V, --version        output the version number
    list                 list of running custers
    kill <pid>           stop daemon and all it's workers
    -a, --app <path>     Add path to demonizing app
    -w, --workers <q>    Set quantity of workers for your app. Defaut value is cpu.cores*2
    -l, --log <path>     Add path to demonizing app

Start

$ clusterize --app ./test/express/app.js --workers 32 --log ./cluster.log
done

List

$ clusterize list
53416 test/express/app.js

Kill

$ clusterize kill 53416
done
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].