0

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.

3
  • 1
    Tried ps aux ?.
    – yagmoth555
    Aug 23 '16 at 13:45
  • 1
    That was it. I knew it had to be something simple. Thanks! Aug 23 '16 at 13:52
  • 1
    glad it helped :) will write as an answer then
    – yagmoth555
    Aug 23 '16 at 13:54
2

'ps aux' will do the tip to list all users process

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.