Skip to content
Commit beae8176 authored by David Edmundson's avatar David Edmundson Committed by David Edmundson
Browse files

Introduce API for handling cgroups

A model is exposed that groups processes by cgroup and provides grouped
information.

The model can be started and stopped and can be set to follow a given
root. All system units, all users, or a specific slice within that.

Information for all pids is calcuated totalled and included via the
ProcessAttribute helpers.

Cgroups are set to handle applications that follow
https://systemd.io/DESKTOP_ENVIRONMENTS for grouping of applications. A
convenience model ApplicationDataModel subclass exposes this directly.

The exposed model is a 1:1 mapping of ProcessDataModel for easy drop-in.
parent a4a978a3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment