AGENT SKILL
pm2
Use this skill when the user wants to manage Node.js processes with pm2.
- License 许可
- MIT
- 最近更新
- 2026-11-02
- Stars
- ★ 57
- Forks
- 5
01 前言 Front Matter
- name
- pm2
- description
- Use this skill when the user wants to manage Node.js processes with pm2.
03 SKILL.md 正文
PM2 Plugin
Process manager for Node.js applications. Production-grade process manager.
Commands
Process Management
pm2 process list— List all processespm2 process start— Start a processpm2 process stop— Stop a processpm2 process restart— Restart a processpm2 process delete— Delete a process
Usage Examples
- "pm2 process start --script index.js"
- "pm2 process stop --id 0"
- "pm2 process list"
Installation
npm install -g pm2
Examples
# Start a script
pm2 start index.js
# Start with custom name
pm2 start index.js --name myapp
# Start multiple instances
pm2 start index.js -i 4
# List all processes
pm2 list
# Stop a process
pm2 stop 0
pm2 stop myapp
# Restart a process
pm2 restart 0
pm2 restart all
# Delete a process
pm2 delete 0
pm2 delete all
# View logs
pm2 logs
# Monitor
pm2 monit
# Save process list
pm2 save
# Startup script
pm2 startup
Key Features
- Process management (start, stop, restart, delete)
- Clustering mode for load balancing
- Automatic restart on crash
- Log management
- Monitoring and metrics
- Zero-downtime reloads
- Process persistence across reboots
04 同仓库更多 Skills
sc-machin-mcp
暂无简介
★ 57
supercli.quickstart
SuperCLI capability router — discover and execute CLI commands through namespace.resource.action interface
★ 57
zzdoc
Use this skill to compile scdoc manpages with a fast Zig-based compiler.
★ 57
zx
Use this skill when the user wants to a tool for writing better scripts using node.js.
★ 57
zvm
Use this skill when the user wants to manage multiple Zig compiler versions.
★ 57
quickstart
暂无简介
★ 57