pm2-realtime

0.0.3 • Public • Published

pm2-realtime

monitor the project run by pm2 ,can monitor the logs and operate the process

two ways to use

  1. call api /logs/:pmId
    with the known pm process id , can get its real-time logs , default will get the last 30 lines(can be configured)

/process/:pmId
get the process information (runnging status, memory, cpu usage)

/os
get the os information from pm

/process/:processId
get the process(os process , not only process run by pm) usage 2. use socket(not finished)

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.3
    3
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.3
    3
  • 0.0.2
    0
  • 0.0.1
    1

Package Sidebar

Install

npm i pm2-realtime

Weekly Downloads

4

Version

0.0.3

License

MIT

Last publish

Collaborators

  • shawn_ljw