PMC (Process Management Controller) is a simple PM2 alternative written in Rust. It provides a command-line/api interface to start, stop, restart, and manage fork processes
Skipping v1.7.0 binary release due to complications and issues with the code
New features and changes:
Ability to start/stop all processes
Fixed optional fields in config
[hotfix] Fixed child processes not killed
Revise remote command system
Improved UX in command line
Migrate to rustls-tls
Ability to restore process statues from dumpfile
All process related commands refactored to support id and name
Added commands usage:
# Save all processes to dumpfilepmc save# Restore all processespmc restore# Add new Ssrverpmc server new# List serverspmc server list [--format <format>]# Remove serverpmc server remove <name># Set default serverpmc server default [<name>]
List all running processes with customizable output formats.
Retrieve detailed information about a specific process.
Use HTTP/rust api to control processes.
Usage:
# Start/Restart a processpmc start <id/name>or<script> [--name <name>]# Stop/Kill a processpmc stop <id/name># Remove a processpmc remove <id/name># Get process infopmc info <id/name># Get process envpmc env <id/name># List all processespmc list [--format <raw|json|default>]# Get process logspmc logs <id/name> [--lines <num_lines>]