Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
PMT is a process manager for node.js.
$ npm install pmt -g
See test/test.js and test/index.js to use pmt.
var pmt = require('pmt');
pmt.start({
'name' : 'myTitan', // your app name
'entrance' : 'index.js', // your app entrance js
'worker_count' : 0, // worker count, 0 for cpu count, default : 0
'args' : '--harmony', // your app args
'max_momery' : '128', // worker max momery restart / MB, 0 for not based on max memory to restart,default : 0
'auto_restart' : false // auto restart if worker stopped or errored, default : false
},function (){
pmt.disconnect();
});
var net = require('net');
var server = net.createServer(function(c) {
c.write('hello world');
c.end();
});
server.listen(8080);
$ node test.js
$ npm install pmt --save # for require
$ npm install pmt -g # for easy CLI
$ pmt start [appName]/all # start [appName]/all when stop
$ pmt stop [appName]/all # stop [appName]/all
$ pmt kill # kill pmt daemon
$ pmt reboot # reboot pmt daemon
$ pmt restart [appName]/all # restart [appName]/all
$ pmt grestart [appName]/all # restart [appName]/all gracefully
$ pmt list # list all workers status
$ pmt monit # monit all workers status/cpu/monery
$ pmt logs # tail your app log
$ pmt daemonlogs # tail pmt daemon log
MIT
FAQs
a nodejs process manager package
The npm package pmt receives a total of 18 weekly downloads. As such, pmt popularity was classified as not popular.
We found that pmt demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.