{"id":17108853,"url":"https://github.com/reklatsmasters/node-process-list","last_synced_at":"2025-04-13T02:51:49.079Z","repository":{"id":19540817,"uuid":"22788844","full_name":"reklatsmasters/node-process-list","owner":"reklatsmasters","description":"Cross-platform native  method to receive the list of the launched processes","archived":false,"fork":false,"pushed_at":"2019-10-18T19:09:56.000Z","size":490,"stargazers_count":67,"open_issues_count":10,"forks_count":20,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-26T20:11:09.701Z","etag":null,"topics":["bytes","c-plus-plus","cpp","cross-platform-native","js","node","prebuild","prebuilt","prebuilt-packages","process","process-list","process-monitor","process-tree","processes","task-list","tasklist","taskmanager","taskmgr"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"lian-yue/vue-upload-component","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/reklatsmasters.png","metadata":{"files":{"readme":"README.md","changelog":"changelog.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-08-09T15:22:51.000Z","updated_at":"2024-06-24T11:25:06.000Z","dependencies_parsed_at":"2022-08-20T18:10:19.672Z","dependency_job_id":null,"html_url":"https://github.com/reklatsmasters/node-process-list","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reklatsmasters%2Fnode-process-list","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reklatsmasters%2Fnode-process-list/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reklatsmasters%2Fnode-process-list/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reklatsmasters%2Fnode-process-list/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reklatsmasters","download_url":"https://codeload.github.com/reklatsmasters/node-process-list/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248605688,"owners_count":21132217,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bytes","c-plus-plus","cpp","cross-platform-native","js","node","prebuild","prebuilt","prebuilt-packages","process","process-list","process-monitor","process-tree","processes","task-list","tasklist","taskmanager","taskmgr"],"created_at":"2024-10-14T16:06:24.573Z","updated_at":"2025-04-13T02:51:49.049Z","avatar_url":"https://github.com/reklatsmasters.png","language":"C++","readme":"\u003cp align='center'\u003e\n  \u003cimg src='logo.png' height='250' width='483' alt='logo' /\u003e\n  \u003cp align='center'\u003eCross-platform native method to receive the list of the launched processes\u003c/p\u003e\n\u003c/p\u003e\n\n[![Build Status](https://travis-ci.org/reklatsmasters/node-process-list.svg?branch=master)](https://travis-ci.org/reklatsmasters/node-process-list) [![Build status](https://ci.appveyor.com/api/projects/status/oy0sbnie2a0d5hou?svg=true)](https://ci.appveyor.com/project/ReklatsMasters/node-process-list) [![npm](https://img.shields.io/npm/v/process-list.svg)](https://npmjs.org/package/process-list) [![license](https://img.shields.io/npm/l/process-list.svg)](https://npmjs.org/package/process-list) [![downloads](https://img.shields.io/npm/dm/process-list.svg)](https://npmjs.org/package/process-list) \n[![Greenkeeper badge](https://badges.greenkeeper.io/reklatsmasters/node-process-list.svg)](https://greenkeeper.io/)\n\n### Install\n\n```bash\nnpm i process-list\n# or\nyarn add process-list\n```\n\nIt's that easy! npm will download one of the [prebuilt](https://github.com/reklatsmasters/node-process-list/releases/latest) binaries for your OS. If you need to build `process-list`, see [node-gyp](https://npmjs.org/package/node-gyp) for more details.\n\n### Supported OS\n\n* `Windows` Windows 7+, Windows Server 2008 R2+\n* `Linux` any Linux-based distributives\n* `OS X` *Soon...*\n\n### Usage\n```js\nconst { snapshot } = require(\"process-list\");\n\nconst tasks = await snapshot('pid', 'name');\nconsole.log(tasks);\n\n// output\n// [{\n//    name: \"1.exe\",\n//    pid: 1234,\n// }, ... ]\n```\n\n### API\n\n##### `snapshot(...field: String): Promise\u003c[]Object\u003e`\nReturns the list of the launched processes.\n\n##### `allowedFields: []String`\nList of allowed fields.\n\n* `pid: Number` - process pid\n* `ppid: Number` - parent process pid\n* `name: String` - process name (title)\n* `path: String` - full path to the process binary file\n* `threads: Number` - threads per process\n* `owner: String` - the owner of the process\n* `priority: Number` - an os-specific process priority\n* `cmdline: String` - full command line of the process\n* `starttime: Date` - the process start date / time\n* `vmem: String` - virtual memory size in bytes used by process\n* `pmem: String` - physical memory size in bytes used by process\n* `cpu: Number` - cpu usage by process in percent\n* `utime: String` - amount of time in ms that this process has been scheduled in user mode\n* `stime: String` - amount of time that in ms this process has been scheduled in kernel mode\n\n## License\n\nMIT, Copyright \u0026copy; 2014 - 2019 Dmitry Tsvettsikh\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freklatsmasters%2Fnode-process-list","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freklatsmasters%2Fnode-process-list","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freklatsmasters%2Fnode-process-list/lists"}