node package manager
Stop writing boring code. Discover, share, and reuse within your team. Create a free org »

is-running

Test if a process with a given pid is running

Build Status Dependency Status Dependency tracking by David

Installation

npm install is-running

Usage

require('is-running')(897245) // returns true if a process with pid 897245 is running