1# ProcessInformation 2 3The **ProcessInformation** module defines the running information of a process. 4 5> **NOTE** 6> 7> The initial APIs of this module are supported since API version 9. Newly added APIs will be marked with a superscript to indicate their earliest API version. 8 9## How to Use 10 11The process information is obtained by calling [getRunningProcessInformation](js-apis-app-ability-appManager.md#appmanagergetrunningprocessinformation9) of the **appManager** module. 12 13```ts 14import appManager from '@ohos.app.ability.appManager'; 15 16appManager.getRunningProcessInformation((error, data) => { 17 console.log('error: ' + error.code + ' data: ' + JSON.stringify(data)); 18}); 19``` 20 21## Attributes 22 23**System capability**: SystemCapability.Ability.AbilityRuntime.Core 24 25| Name| Type| Readable| Writable| Description| 26| -------- | -------- | -------- | -------- | -------- | 27| pid | number | Yes| No| Process ID.| 28| uid | number | Yes| No| User ID.| 29| processName | string | Yes| No| Process name.| 30| bundleNames | Array<string> | Yes| No| Names of all running bundles in the process.| 31