1# ProcessRunningInfo 2 3> **NOTE** 4> 5> The initial APIs of this module are supported since API version 8. Newly added APIs will be marked with a superscript to indicate their earliest API version. 6 7 8Provides process running information. 9 10## Modules to Import 11 12```js 13import appManager from '@ohos.application.appManager' 14``` 15 16## Usage 17 18 19The process running information is obtained through an **appManager** instance. 20 21```js 22import appManager from '@ohos.application.appManager'; 23appManager.getProcessRunningInfos((error,data) => { 24 console.log("getProcessRunningInfos error: " + error.code + " data: " + JSON.stringify(data)); 25}); 26``` 27 28 29## Attributes 30 31**System capability**: SystemCapability.Ability.AbilityRuntime.Core 32 33| Name| Type| Readable| Writable| Description| 34| -------- | -------- | -------- | -------- | -------- | 35| pid | number | Yes| No| Process ID.| 36| uid | number | Yes| No| User ID.| 37| processName | string | Yes| No| Process name.| 38| bundleNames | Array<string> | Yes| No| Names of all bundles running in the process.| 39