Overview
PM2
PM2 is a production process manager for Node.js/Bun applications with a built-in
Content and agent signals
For agents (AI-generated): PM2 documentation for the Node.js/Bun production process manager: starting, restarting, monitoring, logs, restart strategies and startup scripts.
pm2node.js process managerprocess monitoringlog managementrestart strategies
Files
Publisher files and the directory’s indexed copy.
Read the cached llms.txt preview
Their llms.txt
The beginning of the file, from our validated copy saved 2026-11-03T18:48:31.020Z. Cached copy · Source on keymetrics.io
# PM2
> PM2 is a production process manager for Node.js/Bun applications with a built-in
> load balancer. It keeps applications alive forever, reloads them without
> downtime, manages logs, and facilitates common system admin tasks.
Install with `npm install pm2 -g`. The full documentation is available as a
single Markdown file at https://pm2.keymetrics.io/llms-full.txt
## Getting Started
- [Quick Start](https://pm2.keymetrics.io/docs/usage/quick-start/index.html.md): install PM2, then start, manage and monitor Node.js applications
## Process Management
- [Process Management](https://pm2.keymetrics.io/docs/usage/process-management/index.html.md): start, stop, restart, delete and list processes
- [CLI Reference](https://pm2.keymetrics.io/docs/usage/commands/index.html.md): every pm2 command in one page, grouped by theme
- [Restart Strategies](https://pm2.keymetrics.io/docs/usage/restart-strategies/index.html.md): automatic crash restart, exponential backoff, cron restarts and exit-code rules
- [Logs](https://pm2.keymetrics.io/docs/usage/log-management/index.html.md): stream logs in realtime, locate log files, flush and rotate them
- [Persistent Application](https://pm2.keymetrics.io/docs/usage/startup/index.html.md): pm2 startup scripts to restart processes at server boot (systemd, upstart, launchd)
- [Configuration File](https://pm2.keymetrics.io/docs/usage/application-declaration/index.html.md): the ecosystem file to declare multiple applications, with all attributes
- [Cluster Mode](https://pm2.keymetrics.io/docs/usage/cluster-mode/index.html.md): scale Node.js across all CPU cores with zero-downtime reload, no code changes
- [Watch & Restart](https://pm2.keymetrics.io/docs/usage/watch-and-restart/index.html.md): restart automatically on file change, with ignore rules
- [Memory Limit](https://pm2.keymetrics.io/docs/usage/memory-limit/index.html.md): reload applications exceeding a memory threshold (max-memory-restart)
- [PM2 as a Static Server](https://pm2.keymetrics.io/docs/usage/expose/index.html.md): serve static files and SPAs over HTTP with pm2 serve
- [Deployment System](https://pm2.keymetrics.io/docs/usage/deployment/index.html.md): deploy to one or many servers over SSH with setup, update and rollback
- [Environment Variables](https://pm2.keymetrics.io/docs/usage/environment/index.html.md): per-environment configuration and --env switching
- [Update PM2](https://pm2.keymetrics.io/docs/usage/update-pm2/index.html.md): update the daemon in-memory without losing processes
## Advanced
- [Graceful Start/Shutdown](https://pm2.keymetrics.io/docs/usage/signals-clean-restart/index.html.md): signal handling, SIGINT, kill timeout tuning and clean restarts
- [Exposing RPC Functions](https://pm2.keymetrics.io/docs/usage/process-actions/index.html.md): trigger custom in-code actions remotely with pm2 trigger
- [Exposing Metrics](https://pm2.keymetrics.io/docs/usage/process-metrics/index.html.md): expose custom metrics and monitor them with pm
…
Published headings
6 indexed headings in this publisher record.
Headings describe indexed content. They do not establish a working integration or endorsement.
Agent access
Review the publisher’s own access terms before automated use.
Machine-readable: GET /v1/resolve?q=keymetrics.io · GET /v1/domain/keymetrics.io · this page as Accept: application/json or text/markdown · MCP lookup_domain
Automatically discovered from public files. Inclusion does not imply endorsement or publisher participation.
Indexing evidence
Authority, classification and country evidence
Own or manage this website?
If you own or manage keymetrics.io, you can update its listing and review file health, discovery activity and score history.
Manage this listing — optional
What verification unlocks
See how your site is discovered—and control what agents see.
- See your website in the map
Review your indexed topics, nearby publishers sharing headings, measured listing exposure and map snapshots in a private report for your website.
- Control what agents see
Edit your listing description, tags, public contact details and additional llms.txt paths. Publish your terms for automated access, attribution and pricing.
- Make your profile eligible for search
A valid, listed, unblocked, verified profile can appear in our publisher sitemap and become eligible for search-engine visibility. Search engines decide what to index and rank.
- Appear in our llms-full.txt
Eligible verified publishers are listed by name, with their file links and summaries, in the service overview agents can read.
Free account required for verification and live checks. No backlink or payment required. Public discovery remains available without verification.
Let your coding agent verify it
If your coding agent is authorized to manage this website, paste these instructions into it.
Claim my listing on Agent Web Map for keymetrics.io:
1. POST https://agentwebmap.com/v1/sites/keymetrics.io/claims and keep claim_id and claim_secret private.
2. Publish the verification line "AgentWebMap verification: <token>" (token from step 1) in https://keymetrics.io/llms.txt, or use the DNS, meta-tag or well-known method the response describes. This only verifies the listing; your website and domain remain yours.
3. POST https://agentwebmap.com/v1/sites/keymetrics.io/verify with {"claim_id": "...", "claim_secret": "..."}.
4. Save the api_key from the answer; it manages the listing (PATCH https://agentwebmap.com/v1/sites/keymetrics.io).
MCP equivalent: tools begin_ownership_claim, then verify_domain, at https://agentwebmap.com/mcp. Docs: https://agentwebmap.com/docs#verifyCorrections or removal requests: contact the directory.