pm2 icon indicating copy to clipboard operation
pm2 copied to clipboard

Ram and CPU are not shown

Open Mattia7494789 opened this issue 2 years ago • 1 comments

What's going wrong?

If I send pm2 ls or pm2 describe the cpu and memory are not shown

How could we reproduce this issue?

pm2 ls

Supporting information

--- Daemon logs --------------------------------------------
/root/.pm2/pm2.log last 20 lines:
PM2        | 2023-09-06T14:56:03: PM2 log: App [biscotto:31] starting in -fork mode-
PM2        | 2023-09-06T14:56:03: PM2 log: App [biscotto:31] online
PM2        | 2023-09-06T14:56:04: PM2 error: Error caught while calling pidusage
PM2        | 2023-09-06T14:56:04: PM2 error: TypeError: One of the pids provided is invalid
PM2        | 2023-09-06T14:56:05: PM2 error: Error caught while calling pidusage
PM2        | 2023-09-06T14:56:05: PM2 error: TypeError: One of the pids provided is invalid
PM2        | 2023-09-06T14:56:05: PM2 error: Error caught while calling pidusage
PM2        | 2023-09-06T14:56:05: PM2 error: TypeError: One of the pids provided is invalid
PM2        | 2023-09-06T14:56:06: PM2 error: Error caught while calling pidusage
PM2        | 2023-09-06T14:56:06: PM2 error: TypeError: One of the pids provided is invalid
PM2        | 2023-09-06T14:56:06: PM2 log: App [biscotto2:36] exited with code [0] via signal [SIGINT]
PM2        | 2023-09-06T14:56:06: PM2 log: App [biscotto2:36] starting in -fork mode-
PM2        | 2023-09-06T14:56:06: PM2 log: App [biscotto2:36] online
PM2        | 2023-09-06T14:56:06: PM2 log: App [biscotto:31] exited with code [0] via signal [SIGINT]
PM2        | 2023-09-06T14:56:06: PM2 log: App [biscotto:31] starting in -fork mode-
PM2        | 2023-09-06T14:56:06: PM2 log: App [biscotto:31] online
PM2        | 2023-09-06T14:56:07: PM2 error: Error caught while calling pidusage
PM2        | 2023-09-06T14:56:07: PM2 error: TypeError: One of the pids provided is invalid
PM2        | 2023-09-06T14:56:07: PM2 error: Error caught while calling pidusage
PM2        | 2023-09-06T14:56:07: PM2 error: TypeError: One of the pids provided is invalid

Mattia7494789 avatar Sep 06 '23 12:09 Mattia7494789

Try removing your .pm2 folder and re-running pm2 start, worked for me

BridgeSenseDev avatar Sep 17 '23 16:09 BridgeSenseDev