An elegant web & terminal interface for Unitech/PM2.
Compatible with PM2 v0.12.7+ If you wanna update to pm2-gui@latest, make sure you've read the change logs. You can track lifecycle by pm2-ant


PM2 processes are watched by a subscribed emitter.PM2 through RPC socket directly.PM2 processes in a real-time.pm2-gui works without any suck.$ npm install pm2-gui -g
$ pm2-gui <cmd> [options]
# or
$ npm install pm2-gui --production
$ cd node_modules/pm2-gui
# or (recommends)
$ git clone https://github.com/Tjatse/pm2-gui.git
$ cd pm2-gui
$ npm install --production
# run monitor
$ ./pm2-gui <cmd> [options]
Run the following command to get usage helps:
$ pm2-gui
Directly:
$ node pm2-gui.js <cmd> [options]
Programmable:
var pm2GUI = require('pm2-gui');
pm2GUI.startWebServer([ini_config_file]);
pm2GUI.startAgent([ini_config_file]);
pm2GUI.dashboard([ini_config_file]);
Edit the pm2-gui/pm2-gui.ini file or copy the config example to /etc/pm2-gui.ini (starting with pm2-gui start /etc/pm2-gui.ini):
Curses-like dashboard:

Authorization

Home

Processes

Describe Complete Information

CPU && Memory Usage

Tail Logs

$ npm test
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
$ claude mcp add pm2-gui \
-- python -m otcore.mcp_server <graph>