Forrest logo
back to the pm2 tool

pm2:tldr:2abd6

pm2: List processes.
$ pm2 list
try on your machine

The command "pm2 list" is used to display a list of all the processes managed by PM2, a process manager for Node.js applications.

When you execute "pm2 list" in the command line, it will show you a table with detailed information about each process. The table usually includes the following columns:

  • App Name: The name of the application or process being managed.
  • Mode: The process execution mode (e.g., cluster, fork, etc.).
  • PID: The process ID assigned by PM2.
  • CPU: The CPU usage percentage of the process.
  • Memory: The memory usage of the process.
  • Status: The current status of the process (e.g., online, stopped, errored, etc.).
  • Restart: The number of times the process has been restarted.
  • Uptime: The time elapsed since the process was started.

This command is helpful to monitor and track the status and performance of the processes managed by PM2.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the pm2 tool