Check if PHP process is running

Just write the following command in the terminal window:

ps -aef | grep php

This will list all php processes that are currently working.

Check if Node JS process is running

Just write the following command in the terminal window:

ps -aef | grep node

This will list all node processes that are currently working.

terminal#terminal