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

Procstat select pid of systemd service #3439

Closed
phemmer opened this issue Nov 6, 2017 · 0 comments
Closed

Procstat select pid of systemd service #3439

phemmer opened this issue Nov 6, 2017 · 0 comments

Comments

@phemmer
Copy link
Contributor

phemmer commented Nov 6, 2017

Feature Request

Opening a feature request kicks off a discussion.

Proposal:

The procstat input should be able to identify the process to monitor by using the systemd service

Current behavior:

Can only match processes by pidfile, exe, pattern, or user.

Desired behavior:

Match process by specifying systemd service name.
systemctl status foo.service provides a Main PID value. This is the value that should be tracked.
Optionally, it might be nice to include any descendent PIDs as well.

Use case: [Why is this important (helps with prioritizing requests)]

Sometimes it might be difficult or impossible to identify a specific process by using the existing matching patterns. Using the systemd service PID could make it easy to identify these.

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