Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

procmon

1.0.0 • Public • Published

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

Keywords

none

install

npm i procmon

Downloadsweekly downloads

1

version

1.0.0

license

none

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability