Process Management Controller (PMC)
Overview
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
Features
- Start, stop, and restart processes.
- 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 process
# Stop/Kill a process
# Remove a process
# Get process info
# Get process env
# List all processes
# Get process logs
For more commands, check out pmc --help
Installation
Pre-built binaries for Linux, MacOS, and WSL can be found on the releases page.
There is no windows support yet. Install from crates.io using cargo install pmc
(requires clang++)
Building
- Clone the project
- Open a terminal in the project folder
- Check if you have cargo (Rust's package manager) installed, just type in
cargo
- If cargo is installed, run
cargo build --release
- Put the executable into one of your PATH entries, usually
/bin/
or/usr/bin/