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