How to check if nginx is running on your ubuntu machine
Just run the following command
ps waux | grep nginx
You should get a list showing one master process and a few worker processes if nginx is active.
In case you are new to nginx, here's how you would install, start/stop/restart nginx