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 |
Try ps gaux |grep sendmail
|
Quote:
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. |