You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+12-4Lines changed: 12 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,11 +4,19 @@
4
4
### Bug Fixes
5
5
6
6
- Fix `pm2 serve` returning 403 Forbidden on Windows — traversal guard used hardcoded `/` separator #6109
7
-
- Fix `pm2 ls` table misalignment when a username exceeds the `user` column width — cli-tableau's `truncate()` miscounts ANSI bytes, so styled usernames were cut too short and leaked bold into the `watching` column
8
-
-`pm2 ls` host-metrics line now only lists network interfaces that are actually carrying traffic (hides idle interfaces like utun, awdl, bridge, anpi, and unused en*)
9
-
-`pm2 ls` host-metrics line: replaced `mem free` with `ram usage` (%), added GPU memory/temperature when a GPU reports it, and per-interface network errors/drops shown only when non-zero
10
-
-`pm2 ls` now switches to the condensed layout based on the table's actual computed width vs. the terminal width (instead of a fixed column-count threshold that ignored the dynamic name column), and caps the `name` column at 40 chars so a long process name can't overflow the table
7
+
- Fix `pm2 ls` table misalignment when a username exceeds the `user` column width — cli-tableau's `truncate()` miscounts ANSI bytes, leaking bold into the `watching` column
8
+
- Fix long status lines (e.g. `Applying action … on app […]`) wrapping on narrow terminals — `Common.printOut` now ANSI-aware crops single-line TTY output to terminal width (piped output unaffected)
11
9
10
+
### Features
11
+
12
+
-`pm2 ls` host-metrics line now shown by default`pm2 update`)
13
+
-`pm2 ls` adaptive layout: picks the widest layout that fits the terminal — full → condensed → new ultra-compact `mini` (`id · name · status · cpu · mem`) — and caps the `name` column so long names can't overflow the table
14
+
-`pm2 ls` host-metrics line only lists network interfaces carrying traffic (hides idle utun/awdl/bridge/anpi/unused en*)
15
+
-`pm2 ls` host-metrics line: replaced `mem free` with `ram usage` (%), added GPU memory/temperature when reported, per-interface network errors/drops shown when non-zero
16
+
17
+
### Core Refactor
18
+
19
+
- Replace the bundled `pm2-sysmonit` module and `systeminformation` with `lib/tools/SysMetrics.js` (Linux/macOS); `pm2 slist`/`getSystemData` and the Docker metrics path now read this collector. Covered by `test/programmatic/sysmetrics.mocha.js`
0 commit comments