linux get command line of running process code example Example: check running process in linux ps -aux # (print all processes owned by a user named "x")