LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to determine the full path of sendmail running on the system. (https://www.linuxquestions.org/questions/linux-software-2/how-to-determine-the-full-path-of-sendmail-running-on-the-system-844633/)

clbarnard 11-16-2010 10:43 AM

How to determine the full path of sendmail running on the system.
 
checking the process table for the running sendmail,

ps -ef | grep sendmail
root 4532 1 0 Nov15 ? 00:00:00 sendmail: accepting connections
smmsp 4559 1 0 Nov15 ? 00:00:00 sendmail: Queue runner@01:00:00 for /var/spool/clientmqueue

I would like to know the full path to the sendmail binary a la the ps -ef on a Sun or other servers. How do I get ps to give me the actual path, or should I use a different tool on my Linux servers?

Christopher Barnard

roreilly 11-16-2010 10:58 AM

Try ps gaux |grep sendmail

clbarnard 11-16-2010 11:31 AM

Quote:

Originally Posted by roreilly (Post 4160839)
Try ps gaux |grep sendmail

Nope.
cbar-linux:~$ ps gaux | grep sendmail
root 1709 0.0 0.0 71864 1024 ? Ss Nov11 0:06 sendmail: accepting connections
smmsp 1718 0.0 0.0 59176 620 ? Ss Nov11 0:00 sendmail: Queue runner@01:00:00 for /var/spool/clientmqueue


All times are GMT -5. The time now is 08:18 PM.