Skip to content

io.systemd.ManagedOOM

Property Value
Go package github.com/rossedman/sdvarlink/systemd/latest/managedoom
Socket /run/systemd/io.systemd.ManagedOOM
Available since systemd v257
Methods · types · errors 1 · 2 · 1

Methods

SubscribeManagedOOMCGroups

streaming optional

func (c *Client) SubscribeManagedOOMCGroups(ctx context.Context) (*SubscribeManagedOOMCGroupsOut, error)
func (c *Client) SubscribeManagedOOMCGroupsMore(ctx context.Context) iter.Seq2[*SubscribeManagedOOMCGroupsOut, error]

Reply

Field Type Description
cgroups []ControlGroup

Types

ManagedOOMMode

Value Description
auto
kill

ControlGroup

Field Type Description
mode ManagedOOMMode
path string
property string
limit ?int
duration ?int
rules ?[]string

Errors

Error Go type Description
SubscriptionTaken SubscriptionTakenError