Crates.io | pmc |
lib.rs | pmc |
version | 1.7.0 |
source | src |
created_at | 2023-11-16 08:32:19.040893 |
updated_at | 2024-01-12 03:40:00.848758 |
description | PMC is a simple and easy to use PM2 alternative |
homepage | |
repository | https://lab.themackabu.dev/self/pmc |
max_upload_size | |
id | 1037401 |
size | 951,424 |
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
# Start/Restart a process
pmc start <id> or <script> [--name <name>]
# Stop/Kill a process
pmc stop <id>
# Remove a process
pmc remove <id>
# Get process info
pmc info <id>
# Get process env
pmc env <id>
# List all processes
pmc list [--format <raw|json|default>]
# Get process logs
pmc logs <id> [--lines <num_lines>]
For more commands, check out pmc --help
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++)
cargo
cargo build --release
/bin/
or /usr/bin/