View previous topic :: View next topic |
Author |
Message |
fid n00b
Joined: 16 Apr 2017 Posts: 15
|
Posted: Sun Sep 26, 2021 8:19 am Post subject: OpenRC/CGroups in Plasma |
|
|
Has anybody gotten the "Applications view" in System Monitor to work with an OpenRC system? I tried the OpenRC/CGroups wiki: https://wiki.gentoo.org/wiki/OpenRC/CGroups and it seems to be working for OpenRC, but System monitor still says "Applications view is unsupported on your system". |
|
Back to top |
|
|
mrbassie l33t
Joined: 31 May 2013 Posts: 772 Location: over here
|
|
Back to top |
|
|
fid n00b
Joined: 16 Apr 2017 Posts: 15
|
Posted: Mon Oct 04, 2021 5:09 pm Post subject: |
|
|
Yeah, the thread speculates that this is a pure systemd feature. That's why I wondered if there was a workaround for OpenRC-systems... |
|
Back to top |
|
|
jhon987 Apprentice
Joined: 18 Nov 2013 Posts: 297
|
Posted: Sat Jul 23, 2022 8:57 am Post subject: |
|
|
Joining the question...
I recently came back to openrc from systemd (not a systemd hater though, I just feel openrc is a bit faster on my computer), google lead me here. |
|
Back to top |
|
|
Juippisi Developer
Joined: 30 Sep 2005 Posts: 723 Location: /home
|
Posted: Sun Jul 24, 2022 6:26 am Post subject: |
|
|
Don't use plasma but had my fair share of issues with cgroups compatibility...
What are your /etc/rc.conf's entries for "rc_cgroup_mode" and "rc_cgroup_controllers" (or "rc_controller_cgroups", never remember which is the right one on latest version...)?
Try switching between unified and hybrid (requires a reboot) and see if that helps. You can also try something like:
install -d /sys/fs/cgroup/systemd
mount -t cgroup -o none,name=systemd systemd /sys/fs/cgroup/systemd
as root if the directory does not exist already. May require plasma logout before it takes effect. No clue if it helps but something you can try. |
|
Back to top |
|
|
jhon987 Apprentice
Joined: 18 Nov 2013 Posts: 297
|
Posted: Sat Jul 30, 2022 9:53 am Post subject: |
|
|
Juippisi wrote: | Don't use plasma but had my fair share of issues with cgroups compatibility...
What are your /etc/rc.conf's entries for "rc_cgroup_mode" and "rc_cgroup_controllers" (or "rc_controller_cgroups", never remember which is the right one on latest version...)?
Try switching between unified and hybrid (requires a reboot) and see if that helps. You can also try something like:
install -d /sys/fs/cgroup/systemd
mount -t cgroup -o none,name=systemd systemd /sys/fs/cgroup/systemd
as root if the directory does not exist already. May require plasma logout before it takes effect. No clue if it helps but something you can try. |
Yeah, i tried all you suggested, alas to no avail...
Code: |
rc_cgroup_mode="unified"
#rc_cgroup_mode="hybrid"
rc_cgroup_controllers="YES" |
and also the install and mount commands with login out and in
I guess the app relies on something else that systemd does, besides just having the support for cgroup
source code is here: https://github.com/KDE/plasma-systemmonitor/blob/master/src/pages/applications.page
but i can't figure out from where does it draw its data |
|
Back to top |
|
|
|