1.0.6 • Published 2 years ago
nv-cli-how-many-procs v1.0.6
nv-cli-how-many-procs
- cli tool
- to test how many procs (nodejs ) could be created on your machine
- each proc only has a http-server AND a aggressive SetInterval(timeout 1)
install
- npm install nv-cli-how-many-procs -g
usage
Usage: nv_cli_how_many_procs [options]
Options:
-c, --count procs count to be created, default 250
-g, --gap wait time before creat next proc, default 0 ms
-d, --duration the obsever duration after all are created, default 1000*60 ms: one minute
-f, --freq frequence to print cpu usage during observe, default 2000 ms
-p, --parallel_creat dont wait online message one by one, default false, which means creat at the same time
-h, --help usage
example
mkdir WORKDIR
cd WORKDIR
nv_cli_how_many_procs
// just wait for serveral minutes
/*
*/
LICENSE
- ISC
1.0.6
2 years ago