How to check if Sendmail is running

How to get the status of send mail and know if it’s running or not.

You can use the following SSH command :

ps waux | grep sendmail

You should get a similar result to this :

root     15516  0.0  0.0  12684  1692 pts/0    S+   08:47   0:00 grep sendmail