You are not logged in.
I found an instance of /usr/bin/sleep running by my root user. Through some detective work, I found that one of my systemd service units calls a script which therein runs /usr/bin/sleep. Is there systemctl function I can use to track a pid back to the unit that initiated it?
Last edited by graysky (2016-09-14 15:38:57)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Online
Moved, by request
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
I found an instance of /usr/bin/sleep running by my root user. Through some detective work, I found that one of my systemd service units calls a script which therein runs /usr/bin/sleep. Is there systemctl function I can use to track a pid back to the unit that initiated it?
systemctl status <pid>
Offline
@pdc - Worked like a charm, thank you.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Online