how to find the owner of a process in linux code example Example: check owner of process id linux ps -o user= -p PIDHERE