// Personal website of
Chris Smith
About
Posts
Projects
3D Prints
Snippets
Systemd » Find unit that owns a PID
Simply:
systemctl status
$PID