How do I list the user that started a service in freebsd

Just a simple question, but I've looked everywhere and can't seem to find this. I just need to know what user started a particular service. In this case, I want to know what user runs the headphones service (headphones plugin in a FreeNAS jail).

I tried using service headphones status but that just gives me the PID (23069). Is there a way to list the user using the PID instead? I tried that as well using: ps 23069 but that only gives the time running and path.

0
задан 23 August 2016 в 16:38
1 ответ

'ps aux' покажет список всех пользовательских процессов

2
ответ дан 4 December 2019 в 13:38

Теги

Похожие вопросы