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.

compcentral
  • 179
  • 2
  • 7

1 Answers1

2

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

yagmoth555
  • 16,758
  • 4
  • 29
  • 50