-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
App Category should use cgroups to retrieve the running applications #7
Comments
Thanks for bringing it up! Implemented in 51e24a9 |
Thank you a ton for this update! Makes WSysMon already better then standard GNOME's system monitor, to me. While it's correct that flatpak applications are wrapped in (multiple) Fyi, here is
and gnome-text-editor's tree:
Finally: since the csgroup should use an appID that is unique and attributable to a thanks a lot! |
bwrap containers are now filtered with 5494d99 Could you run Yes, getting names and icons will be implemented but at a later date. |
i still get bwrap entries in the "App" section. However, they are not expandable and the corresponding flatpak apps are visible as well. Regarding firefox i dunno what happened, but it's now rightfully displayed in "Apps"!
I as well can't see GNOME Terminal even tho it's in
However at that same depth they are sibilings with clearly other background services such as On the contrary, in
sure. It makes sense to first have a working structure |
5a85c7c should contain some fixes. I forgot to test Nautilus, you´re right it is not displayed. But the structure under dbus makes it very hard to code a universal solution. I could implement exceptions for everything but that would be very time consuming. Maybe there is another way? I´ve created a list with background services which are excluded, so evolution etc. are no longer displayed in Apps. Regarding xdg-dbus-proxy: it is not a child process of the application listed in cgtop. It is a seperate process, so technically it is correctly displayed. |
yeah, i just noticed that. You basically put some services in a blacklists. I see!
Yeah, I imagined that the apps under
that said, you might be interested in this old KDE snippet: https://invent.kde.org/-/snippets/1111 This, however, also shows that WSysMon's parsing is a bit off. Technically an app could also be run with the following command and still follow the standard:
I am afraid I don't fully understand this bit. What's the name of the list? I can't spot both
oh. Isn't it weird that i see it in the Speaking of which: I think resource usage reported by WSysMon are a bit off. I'm having 3 windows open of firefox, with ~30 tabs open, and it reports i'm using only ~650MiB. |
actually, reading the snippet from KDE I saw that there is a nice way to get this info!
|
I will look into it deeper, but it currently don´t have much time sadly.
That´s weird. I´ve never encountered this on my devices while testing. Maybe some missing child processes? |
got it. Dw, I don't have a hurry. I may even help after I graduated 8)
I'd say that's a reasonable option. If i open up GNOME system monitory it also reports numbers that, if summed up, are closer to the one reported by |
If use cgroup v2, |
The usage of cgroups to manage processes by DEs is an innovative approach pushed forward by both KDE & GNOME, and uses the application's ID to distinguish the various resources.
If you're interested in this approach i suggest you to read about the standard.
An axample of it usage can be seen running
systemd-cgtop
(e.g.systemd-cgtop -m --depth=6
) andsystemd-cgls
. This is what KDE Plasma uses with Plasma System Monitor (see this old bug report)The text was updated successfully, but these errors were encountered: