Identify the systemd unit file from process name

خرید بک لینک

For some service unit files the unit file name does not correspond to the name of the daemon.

Example postfix. The unit file is called postix.service but the underlying daemons launched are named "master" (main daemon) and qmgr, tlsmgr (helper daemons).

Looking for a way to get the unit name based on any of the daemon names.

Using systemctl status postfix (as an example) I can see that it shows the processes it has spawned.

Using systemctl --all status I can get everything .... but just a plain grep into that mess is not going to get the unit name back.

Any ideas?

Recent Questions...

ما را در سایت Recent Questions دنبال می‌کنید

برچسب: نویسنده: استخدام کار بازدید: 198 تاريخ: چهارشنبه 25 فروردين 1395 ساعت: 14:38

صفحه بندی