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 list to verify the process is visible.
  • Use logs before restarting to understand the failure mode.
  • Use delete when you no longer want PM2 to manage the process.

Next

  1. Read Zero-Downtime Workflows.
  2. Read CLI Commands for the full PM2 syntax.
SkyPort

SkyPort Docs

Self-hosted infrastructure platform