<div dir="ltr">Hi folks,<div><br></div><div><blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px">I am looking for a good way to backtrace systemd service by a process id. The "systemctl status <pid>" command is available to do the magic. It will show a full status of the service that creates the<br>pid. But this command gives too many details. The only thing I need is the service unit name. Is there any simple way instead of parsing results from "systemctl status" ?<br><br>For example like<br><br>> systemctl service-get 5566<br>> nginx.service<br><br><br></blockquote>Thanks,<br>Kevin Hsu</div></div>