show processes mac code example Example 1: list all node processes $ ps -ef | grep node Example 2: view macos background processes #Activity monitor app