win-proc-info
v0.0.2
Published
Node native addon for the GetProcessMemoryInfo function of the Windows Process Status API.
Downloads
8
Maintainers
Readme
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