PM2
Process Management
Manage PM2 processes with SkyPort.
SkyPort integrates with PM2 through the backend and CLI. The CLI supports list, logs, start, stop, restart, and delete flows.

Common Commands
terminal
skyport pm2 list
skyport pm2 logs my-app
skyport pm2 restart my-app
skyport pm2 stop my-app
skyport pm2 delete my-app
Start A New Process
terminal
skyport pm2 start my-app --script ./app.js --args "--port 3000"
The --script flag is required by the CLI.
Dashboard Perspective
The backend PM2 module exposes process status and log access to the dashboard, so you can inspect the same data without leaving the UI.
Useful Patterns
- Use
listto verify the process is visible. - Use
logsbefore restarting to understand the failure mode. - Use
deletewhen you no longer want PM2 to manage the process.
Next
- Read Zero-Downtime Workflows.
- Read CLI Commands for the full PM2 syntax.
