Skip to content
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

systemd service / unit enrichment #228

Open
hillu opened this issue Oct 17, 2024 · 0 comments
Open

systemd service / unit enrichment #228

hillu opened this issue Oct 17, 2024 · 0 comments

Comments

@hillu
Copy link
Collaborator

hillu commented Oct 17, 2024

systemd puts all(?) ths services it starts into cgroups.

# pidof nginx | tr ' ' '\n' | sudo xargs --verbose --replace -n1 cat /proc/{}/cgroup
cat /proc/1951/cgroup
0::/system.slice/nginx.service
cat /proc/1949/cgroup
0::/system.slice/nginx.service
cat /proc/1945/cgroup
0::/system.slice/nginx.service
cat /proc/1944/cgroup
0::/system.slice/nginx.service
cat /proc/1943/cgroup
0::/system.slice/nginx.service

We should log those, just like container IDs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant