node package manager
Easy sharing. Manage teams and permissions with one click. Create a free org »

procmon

Procmon

Local process monitor. Monitors and graphs memory, CPU and event loop lag.

Install

$ npm install procmon -g

Start

$ procmon-server
Procmon server PID (xxxx) listening on:
{"address":"0.0.0.0","family":"IPv4","port":8887}

Monitor

Open a browser window and point it to http://hostname:8887

Snapshot

You can monitor CPU and memory by providing a PID and pressing the "Monitor" button.

Monitor event loop lag

You can monitor the node event loop lag on a target process by installing and requiring the [procmon-agent](https://github.com/pgte/node-procmon-agent) module on the project:

$ npm install procmon-agent
require('procmon-agent')();

Files

You can watch and retrieve files. For this you need to start the procmon server with the path of a public directory to be served:

$ procmon-server --public ../out

License

ISC