Support for Chrome's Processes API (aka Task Manager: CPU usage, memory usage, etc)
APIs
Dev APIs
These APIs are only available in the Chrome Dev channel
- https://developer.chrome.com/docs/extensions/reference/processes/
-
Use the
chrome.processesAPI to interact with the browser's processes. - https://developer.chrome.com/docs/extensions/reference/processes/#method-getProcessIdForTab
-
Returns the ID of the renderer process for the specified tab.
-
- https://developer.chrome.com/docs/extensions/reference/processes/#method-getProcessInfo
-
Retrieves the process information for each process ID specified.
-
- https://developer.chrome.com/docs/extensions/reference/processes/#method-terminate
-
Terminates the specified renderer process. Equivalent to visiting
about:crash, but without changing the tab's URL.
-
- https://developer.chrome.com/docs/extensions/reference/processes/#event-onCreated
-
Fired each time a process is created, providing the corresponding
Processobject.
-
- https://developer.chrome.com/docs/extensions/reference/processes/#event-onExited
-
Fired each time a process is terminated, providing the type of exit.
-
- https://developer.chrome.com/docs/extensions/reference/processes/#event-onUnresponsive
-
Fired each time a process becomes unresponsive, providing the corresponding
Processobject.
-
- https://developer.chrome.com/docs/extensions/reference/processes/#event-onUpdated
-
Fired each time the Task Manager updates its process statistics, providing the dictionary of updated Process objects, indexed by process ID.
-
- https://developer.chrome.com/docs/extensions/reference/processes/#event-onUpdatedWithMemory
-
Fired each time the Task Manager updates its process statistics, providing the dictionary of updated
Processobjects, indexed by process ID. Identical toonUpdate, with the addition of memory usage details included in eachProcessobject. Note, collecting memory usage information incurs extra CPU usage and should only be listened for when needed.
-
-
- https://developer.chrome.com/docs/extensions/reference/api/permissions
-
chrome.permissions
-