Skip to content

Commit

Permalink
Added PM2_LS_CONDENSED_COLUMN_BREAKPOINT
Browse files Browse the repository at this point in the history
Completed as per [Pull Request](Unitech/pm2#5542 (comment))
  • Loading branch information
cseitz committed Mar 18, 2023
1 parent fabb15e commit 2e19571
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/features/quick-start.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,10 @@ $ pm2 [list|ls|status]

![https://i.imgur.com/LmRD3FN.png](https://i.imgur.com/LmRD3FN.png)

*Note*: If you experience issues with the table rendering too large, you can utilize the `PM2_LS_CONDENSED_COLUMN_BREAKPOINT` environment variable to force PM2 to render in condensed mode. (default is `120` columns).
- Example: `PM2_LS_CONDENSED_COLUMN_BREAKPOINT=300 pm2 ls`, all terminals less than 300 columns will be rendered in condensed mode.
- You can see how many columns your terminal is by running `node -e "console.log(process.stdout.columns)"`

### Display logs

To display logs in realtime:
Expand Down

0 comments on commit 2e19571

Please sign in to comment.