NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm
npm, #4294 most downloaded on npm
Cross-platform process cpu % and memory usage of a PID
Latest stable
4.1.0
Last release 1 months ago
13 Oct 2026
Release timing varies
gaps range from 2 weeks to 2.3 years
Some releases are documented
notes for 18 of 53 stable releases
Nothing withdrawn
no release was ever pulled
13 years old
53 releases · first in 2014
Drag across the ruler to compare, or tap a release to open it.
fixes DEP0190 deprecation warning on node 24
-NoProfile -NonInteractive so stats polling no longer executes user profile scriptsuseGwmi option to skip the detectionsafe-buffer, pidusage has no runtime dependencies anymorefix spawned wmic processes not exiting after wmic/gwmi detection in packaged apps, leading to infinite build up of "WMI Commandline Utility" processes
Your coding agent can read these notes before it upgrades. Set up the MCP server →
fix wmic removed on Windows 11 and add gwmi support
Nothing published for this version
removed dynamic requires to allow for bundling #154
environment variables to configure pidusage (PIDUSAGE_USE_PS, PIDUSAGE_MAXAGE, PIDUSAGE_SILENT)
PIDUSAGE_USE_PS, PIDUSAGE_MAXAGE, PIDUSAGE_SILENT)uptime returns undefinedNothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
allow to manually clear the event loop when needed it'll clear itself after a given timeout (default to 60000ms but you can specify it with the maxage
60000ms but you can specify it with the maxage option, see this file) 1740a4ffix ps on darwin, centisenconds multiplier was wrong and was giving bad cpu usage values bcda538
Fix Buffer.alloc for node < 4.5
Nothing published for this version
fix #69 with ps use elapsed instead of etime to avoid negative cpu values 0994268
Nothing published for this version
aix is using ps (was changed by mistake), still no aix CI though
Nothing published for this version
After further discussion cpu formula got reverted to the initial one f990f72
Cpu formula changed a bit because of multi thread issues see issue #58 88972d8
procfiles are back because of performance issues 85e20fa
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
don't use /proc (procfiles) anymore but use ps instead
advanced option/proc (procfiles) anymore but use ps insteadstat method, module exports a single functionunmonitor method, this is handed internally{
cpu: 10.0, // percentage (it may happen to be greater than 100%)
memory: 357306368, // bytes
ppid: 312, // PPID
pid: 727, // PID
ctime: 867000, // ms user + system time
elapsed: 6650000, // ms since the start of the process
timestamp: 864000000 // ms since epoch
}
Introduce advanced option to get time, and start
Introduce advanced option to get time, and start
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Windows: (wmic) goes back to the first version of wmic, naming wmic process {pid} get workingsetsize,usermodetime,kernelmodetime. CPU usage % is compu
Windows: (wmic) goes back to the first version of wmic, naming wmic process {pid} get workingsetsize,usermodetime,kernelmodetime. CPU usage % is computed on the flight, per pid.
Nothing published for this version
Nothing published for this version
Nothing published for this version
Windows: (wmic) Use raw data instead of formatted this should speed up wmic
Windows: (wmic) Use raw data instead of formatted this should speed up wmic
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
API changes: ` require('pidusage').stat(pid, fn) instead of: require('pidusage')(pid, fn) Adds a unmonitor` method to clear process history
API changes:
require('pidusage').stat(pid, fn)
instead of:
require('pidusage')(pid, fn)
Adds a unmonitor method to clear process history
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
One column per quarter.