title: How to check the status(running/stopped) of a process/daemon in Mac?
body: <p>In Linux, we have the command <code>/etc/init.d/process_name status</code>, this will give whether the process/daemon is running or stopped.</p>
  
  <h2>For Example In Ubuntu:</h2>
  
  <pre><code>root@Ubu91032b-Bassu:~# /etc/init.d/ssh status  
   * sshd is running  
  root@Ubu91032b-Bassu:~#
  </code></pre>
  
  <p>My question is, is there any command (like above) in Mac to check the status of a daemon/process?</p>