pmx

Advanced PM2 API client for process management and monitoring.

npmmacoslinuxwindows
Try with needOr install directly
Source

About

PM2/Keymetrics advanced API

Commands

pmx

Examples

monitor CPU and memory usage of running processes$ pmx monitor
start a Node.js application with PM2 process manager$ pmx start app.js
view logs from a managed process in real time$ pmx logs app-name
gracefully restart all running processes$ pmx restart all
stop and remove all processes managed by PM2$ pmx delete all