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
By issuing the command "pm2 prettylist" is possible to get the information about the current monitored process.
Within the generated json, we can get the number of restarts (restart_time) and the uptime (pm_uptime). My question is regarding the second, pm_uptime, what is the time unit? How can one get the current period (in hour or minute) a process is running?
For example: I am getting huge values, for instance, pm_uptime: 1740443604065 (I suppose this is timestamp). How to convert this to hours to have the uptime of that process for instance?
The text was updated successfully, but these errors were encountered:
Hello,
By issuing the command "pm2 prettylist" is possible to get the information about the current monitored process.
Within the generated json, we can get the number of restarts (restart_time) and the uptime (pm_uptime). My question is regarding the second, pm_uptime, what is the time unit? How can one get the current period (in hour or minute) a process is running?
For example: I am getting huge values, for instance, pm_uptime: 1740443604065 (I suppose this is timestamp). How to convert this to hours to have the uptime of that process for instance?
The text was updated successfully, but these errors were encountered: