Skip to content

Read current slice setting #12

@jangaraj

Description

@jangaraj

Some units can use custom slice setting. Use that one for reading of cgroup performance counters (cpu, mem, ....) instead of hardcoded system.slice path. For example:

$  zabbix_get -s 127.0.0.1 -k systemd.unit[getty@tty1.service,Service,Slice]
system-getty.slice

Reference: #5

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions