Methods
getProcesses() → {Array.<BasicProcessInfo>}
Get basic information about all the processes that currently running
Note: root
is required on Linux and MacOS.
- Source:
Returns:
- Type
- Array.<BasicProcessInfo>
Type Definitions
Addr
Address
Type:
- number | BigInt
- Source:
BasicProcessInfo
Basic Process Info
Type:
- Object
Properties:
Name | Type | Description |
---|---|---|
pid |
number | PID |
ppid |
number | undefined | PPID |
name |
string | Name |
- Source: