redhat 6 get user who owns a given pid code example Example: check owner of process id linux ps -o user= -p PIDHERE