0.0.2 • Published 6 years ago

win-proc-info v0.0.2

Weekly downloads
5
License
MIT
Repository
github
Last release
6 years ago

node-win-proc-info

Node native addon for the GetProcessMemoryInfo function of the Windows Process Status API.

Installation

yarn add win-proc-info

Quickstart

const procInfo = require('win-proc-info')

console.log(procInfo(process.pid))
/* { pageFaultCount: 6178,
     pagefileUsage: 10211328,
     peakPagefileUsage: 10690560,
     peakWorkingSetSize: 21942272,
     privateUsage: 10211328,
     quotaNonPagedPoolUsage: 12960,
     quotaPagedPoolUsage: 164960,
     quotaPeakNonPagedPoolUsage: 12960,
     quotaPeakPagedPoolUsage: 164960,
     workingSetSize: 21942272 } */

License

MIT