Ant Kutschera
2018-10-09 15:32:48 UTC
Hi
I'm trying to write a little program to monitor CPU and Memory usage of the
"renderer process" which handles our intranet application. I've tried
making an extension and using the processes API. Something like this would
be ideal, because I can find the tab using the
title: https://developer.chrome.com/extensions/processes#method-getProcessIdForTab
Unfontunately that API is only available on the dev channel which isn't an
option for us.
I've got a dotnet application running which can determine all tab titles.
It is based on https://github.com/jasonfah/chrome-tab-titles. Unfortunately
it appears as though the tab belongs to a window whose handle belongs to
the main chrome process, rather than a renderer process. E.g. chromes main
process is number 80, it starts a renderer process for my site: number
25004. The tab with the title "Our Intranet Application" comes from a
window with a handle being held by process 80, rather than 25004.
*So is it possible to programatically determine which child-process is
being used to do all the work for the tab displaying our site?*
Thanks,
Ant
I'm trying to write a little program to monitor CPU and Memory usage of the
"renderer process" which handles our intranet application. I've tried
making an extension and using the processes API. Something like this would
be ideal, because I can find the tab using the
title: https://developer.chrome.com/extensions/processes#method-getProcessIdForTab
Unfontunately that API is only available on the dev channel which isn't an
option for us.
I've got a dotnet application running which can determine all tab titles.
It is based on https://github.com/jasonfah/chrome-tab-titles. Unfortunately
it appears as though the tab belongs to a window whose handle belongs to
the main chrome process, rather than a renderer process. E.g. chromes main
process is number 80, it starts a renderer process for my site: number
25004. The tab with the title "Our Intranet Application" comes from a
window with a handle being held by process 80, rather than 25004.
*So is it possible to programatically determine which child-process is
being used to do all the work for the tab displaying our site?*
Thanks,
Ant
--
--
Chromium Discussion mailing list: chromium-***@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss
---
You received this message because you are subscribed to the Google Groups "Chromium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discuss+***@chromium.org.
--
Chromium Discussion mailing list: chromium-***@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss
---
You received this message because you are subscribed to the Google Groups "Chromium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discuss+***@chromium.org.