Skip to content
This repository has been archived by the owner on May 23, 2022. It is now read-only.
/ xps Public archive

Cross-platform module for listing and killing processes

License

Notifications You must be signed in to change notification settings

sorellabs/xps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xps - Cross-Platform Process Management

Build status NPM version Dependencies status Licence Stability: Experimental

xps is a cross-platform library for listing and killing processes.

Example

var ps = require('xps');

ps.list().fork(
  function(error) {
    throw error
  },
  function(processes) {
    processes.forEach(function(process){
      console.log(process.name + ': ' + process.pid)
    })
  }
);

ps.kill(123).fork(
  function(error){ console.log('Unable to kill 123') },
  function(){ console.log('Killed 123') }
);

Installing

You can grab the latest release from npm:

$ npm install xps

Platform support

xps requires either io.js or Node.js 0.10+

Licence

Copyright (c) 2015 Quildreen Motta.

Released under the MIT licence.