All Projects → reklatsmasters → Node Process List

reklatsmasters / Node Process List

Licence: mit
Cross-platform native method to receive the list of the launched processes

Programming Languages

cpp
1120 projects
js
455 projects

Projects that are alternatives of or similar to Node Process List

Immortal
⭕ A *nix cross-platform (OS agnostic) supervisor
Stars: ✭ 701 (+1274.51%)
Mutual labels:  process
Nsudo
Series of System Administration Tools
Stars: ✭ 945 (+1752.94%)
Mutual labels:  process
Qp Trie Rs
An idiomatic and fast QP-trie implementation in pure Rust.
Stars: ✭ 47 (-7.84%)
Mutual labels:  bytes
Fkill Cli
Fabulously kill processes. Cross-platform.
Stars: ✭ 6,418 (+12484.31%)
Mutual labels:  process
Cluster Dispatch
解决Node.js在Cluster模式下的连接/资源复用问题
Stars: ✭ 13 (-74.51%)
Mutual labels:  process
Principles.design
An open source collection of design principles and methods.
Stars: ✭ 975 (+1811.76%)
Mutual labels:  process
Open Shell Book
开源书籍:《Shell 编程范例》,面向操作对象学 Shell!本书作者发布了《360°剖析 Linux ELF》视频课程,欢迎订阅:https://www.cctalk.com/m/group/88089283
Stars: ✭ 666 (+1205.88%)
Mutual labels:  process
Process Migrator
Process migrator node.js utility for VSTS inherited process
Stars: ✭ 49 (-3.92%)
Mutual labels:  process
Processmaker
GLPI plugin that provides an interface with ProcessMaker (http://www.processmaker.com/)
Stars: ✭ 21 (-58.82%)
Mutual labels:  process
Mybox
Easy tools of document, image, file, network, location, color, and media.
Stars: ✭ 45 (-11.76%)
Mutual labels:  bytes
Bits
A bite sized library for dealing with bytes.
Stars: ✭ 16 (-68.63%)
Mutual labels:  bytes
Process
The Process component executes commands in sub-processes.
Stars: ✭ 6,942 (+13511.76%)
Mutual labels:  process
Filesize.js
JavaScript library to generate a human readable String describing the file size
Stars: ✭ 997 (+1854.9%)
Mutual labels:  bytes
Open C Book
开源书籍:《C语言编程透视》,配套视频课程《360° 剖析 Linux ELF》已上线,视频讲解更为系统和深入,欢迎订阅:https://www.cctalk.com/m/group/88089283
Stars: ✭ 715 (+1301.96%)
Mutual labels:  process
Relieve
Ease the implementation of multi processing accross your microservices
Stars: ✭ 47 (-7.84%)
Mutual labels:  process
Shipjs
Take control of what is going to be your next release.
Stars: ✭ 668 (+1209.8%)
Mutual labels:  process
Byte Size
Isomorphic function to convert a bytes value (e.g. 3456) to a human-readable string ('3.5 kB')
Stars: ✭ 33 (-35.29%)
Mutual labels:  bytes
Cliwrap
Library for running command line processes
Stars: ✭ 1,057 (+1972.55%)
Mutual labels:  process
Processjs
Stars: ✭ 48 (-5.88%)
Mutual labels:  process
Spm
A process manager similar to systemd and foreman with stop feature, written in Go.
Stars: ✭ 44 (-13.73%)
Mutual labels:  process

logo

Cross-platform native method to receive the list of the launched processes

Build Status Build status npm license downloads Greenkeeper badge

Install

npm i process-list
# or
yarn add process-list

It's that easy! npm will download one of the prebuilt binaries for your OS. If you need to build process-list, see node-gyp for more details.

Supported OS

  • Windows Windows 7+, Windows Server 2008 R2+
  • Linux any Linux-based distributives
  • OS X Soon...

Usage

const { snapshot } = require("process-list");

const tasks = await snapshot('pid', 'name');
console.log(tasks);

// output
// [{
//    name: "1.exe",
//    pid: 1234,
// }, ... ]

API

snapshot(...field: String): Promise<[]Object>

Returns the list of the launched processes.

allowedFields: []String

List of allowed fields.

  • pid: Number - process pid
  • ppid: Number - parent process pid
  • name: String - process name (title)
  • path: String - full path to the process binary file
  • threads: Number - threads per process
  • owner: String - the owner of the process
  • priority: Number - an os-specific process priority
  • cmdline: String - full command line of the process
  • starttime: Date - the process start date / time
  • vmem: String - virtual memory size in bytes used by process
  • pmem: String - physical memory size in bytes used by process
  • cpu: Number - cpu usage by process in percent
  • utime: String - amount of time in ms that this process has been scheduled in user mode
  • stime: String - amount of time that in ms this process has been scheduled in kernel mode

License

MIT, Copyright © 2014 - 2019 Dmitry Tsvettsikh

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].