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.

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

1 Answer 1


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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .