Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pm2

Package Overview
Dependencies
Maintainers
1
Versions
280
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pm2

Production process manager for Node.JS applications with a built-in load balancer.

  • 3.3.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2.2M
increased by0.37%
Maintainers
1
Weekly downloads
 
Created

What is pm2?

PM2 is a production process manager for Node.js applications with a built-in load balancer. It allows you to keep applications alive forever, to reload them without downtime, and to facilitate common system admin tasks.

What are pm2's main functionalities?

Process Management

Start an application with PM2 and keep it running in the background.

pm2 start app.js

Load Balancing

Enable load balancing by starting multiple instances of the application across all CPUs.

pm2 start app.js -i max

Monitoring

Monitor all processes launched with PM2 using a terminal-based dashboard.

pm2 monit

Logging

Display logs of all processes in real-time, or target specific processes.

pm2 logs

Startup Script

Generate a startup script to resurrect PM2 and all processes on server reboot.

pm2 startup

Update Processes

Reload all processes in the cluster without downtime.

pm2 reload all

Other packages similar to pm2

Keywords

FAQs

Package last updated on 18 Feb 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc