
Security News
CVE Volume Surges Past 48,000 in 2025 as WordPress Plugin Ecosystem Drives Growth
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.
@667/ps-list
Advanced tools
Get running processes
Works on macOS, Linux, and Windows.
Primary difference between sindresorhus/ps-list is the use of native PowerShell instead of fastlist.exe. PowerShell is native to Windows, and provides much more information than available otherwise.
Previously WMIC was used, however it is now deprecated by Microsoft.
Additionally, this fork:
$ npm install @667/ps-list
const psList = require('@667/ps-list');
(async () => {
console.log(await psList());
//=> [{pid: 3213, name: 'node', cmd: 'node test.js', ppid: 1, uid: 501, cpu: 0.1, memory: 1.5}, …]
})();
or on Windows:
/*
=> [{caption: "node.exe",
cmd: "node "C:\..\nodemon.js" test.js",
commandline: "node "C:\..\nodemon.js" --inspect test.js",
cpu: 0,
creationclassname: "Win32_Process",
creationdate: "20200421203634.377920-420",
cscreationclassname: "Win32_ComputerSystem",
csname: "DESKTOP-ARG34AZ",
description: "node.exe",
executablepath: "C:\Program Files\nodejs\node.exe",
executionstate: "",
handle: "12604",
handlecount: "173",
installdate: "",
kernelmodetime: "4687500",
maximumworkingsetsize: "1380",
memory: 19742720,
minimumworkingsetsize: "200",
name: "node.exe",
node: "DESKTOP-ARG34AZ",
oscreationclassname: "Win32_OperatingSystem",
osname: "Microsoft Windows 10 Pro|C:\WINDOWS|",
otheroperationcount: "9878",
othertransfercount: "396344",
pagefaults: "14660",
pagefileusage: "16584",
parentprocessid: "10976",
peakpagefileusage: "23184",
peakvirtualsize: "4587802624",
peakworkingsetsize: "31452",
pid: 12604,
ppid: 10976,
priority: "8",
privatepagecount: "16982016",
processid: "12604",
quotanonpagedpoolusage: "19",
quotapagedpoolusage: "170",
quotapeaknonpagedpoolusage: "22",
quotapeakpagedpoolusage: "206",
readoperationcount: "312",
readtransfercount: "557407",
sessionid: "1",
status: "",
terminationdate: "",
threadcount: "14",
usermodetime: "5312500",
virtualsize: "4586491904",
windowsversion: "10.0.19041",
workingsetsize: "28581888",
writeoperationcount: "1",
writetransfercount: "55"}, …]
*/
The
uidproperty is not yet supported on Windows.
Returns a Promise<Array> with the running processes.
Type: Object
Type: boolean
Default: true
Return other users' processes as well as your own.
On Windows this has no effect and will always be the users' own processes.
Type: regex or array
The regex being what you want to replace, and in the case of an array type, the second array item is the replacement string.
Example:
{ redact: /secret/g }{ redact: [ /secret/g, '***wouldntyouliketoknow***' ] }
MIT © June07
FAQs
Get running processes
We found that @667/ps-list demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.

Security News
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.