Skip to content

Add 'pm2 summary' command for concise process overview #6008

Open
@AvitalHass

Description

@AvitalHass

Feature Request: pm2 summary Command

Overview

Add a new CLI command, pm2 summary, to provide a concise single-line summary of all managed processes. This command should help users quickly understand the state of all their applications without parsing the full, detailed output of pm2 status or pm2 list.

Example Output

3 apps online, 1 app stopped, 0 app errored

Proposed Features

  • New CLI command: pm2 summary
  • Outputs number of processes by state (online, stopped, errored, etc.)
  • Optional --json flag to output summary in JSON format for scripting/automation

Benefits

  • Provides a quick, human-readable overview
  • Useful for dashboards, scripts, and monitoring tools

Additional Notes

  • Should reuse existing process state detection logic where possible
  • Should require minimal changes to core architecture

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions