File manager - Edit - /usr/local/lib/node_modules/ghost-cli/node_modules/ps-list/index.d.ts
Back
declare namespace psList { interface Options { /** Include other users' processes as well as your own. On Windows this has no effect and will always be the users' own processes. @default true */ readonly all?: boolean; } interface ProcessDescriptor { readonly pid: number; readonly name: string; readonly ppid: number; /** Not supported on Windows. */ readonly cmd?: string; /** Not supported on Windows. */ readonly cpu?: number; /** Not supported on Windows. */ readonly memory?: number; /** Not supported on Windows. */ readonly uid?: number; } } /** Get running processes. @returns List of running processes. @example ``` import psList = require('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}, …] })(); ``` */ declare function psList(options?: psList.Options): Promise<psList.ProcessDescriptor[]>; export = psList;
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings