Ps /
ps Usage
ps(1) can be used to check on active processes on the system.
The command below lists all processes and useful information:
$ ps -aux
This can be useful to see if a daemon or process is running. For example, if you used rcctl? to stop the web server, double check to ensure it has actually stopped with ps(1) and grep(1), or pgrep(1):
$ pgrep httpd
If all httpd processes have been stopped, you should see no output. If you see a number representing a process ID, see the guides on killing processes.