linux command to check running java process code example Example: list java processes ps aux | grep java