How to check the status(running/stopped) of a process/daemon in Mac?

Viewed 75695

In Linux, we have the command /etc/init.d/process_name status, this will give whether the process/daemon is running or stopped.

For Example In Ubuntu:

root@Ubu91032b-Bassu:~# /etc/init.d/ssh status  
 * sshd is running  
root@Ubu91032b-Bassu:~#

My question is, is there any command (like above) in Mac to check the status of a daemon/process?

3 Answers
Related