LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-16-2010, 10:43 AM   #1
clbarnard
LQ Newbie
 
Registered: Nov 2008
Location: Chicago
Posts: 4

Rep: Reputation: 0
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
 
Old 11-16-2010, 10:58 AM   #2
roreilly
Member
 
Registered: Aug 2006
Location: Canada
Distribution: Debian, Slackware
Posts: 106

Rep: Reputation: 28
Try ps gaux |grep sendmail
 
Old 11-16-2010, 11:31 AM   #3
clbarnard
LQ Newbie
 
Registered: Nov 2008
Location: Chicago
Posts: 4

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by roreilly View Post
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How linux system can understand just icon-name, dont need a full path? Thursapr Slackware 4 04-15-2010 03:31 PM
How to Determine the remote system in LAN running idle borganve Linux - Networking 1 10-09-2009 09:10 AM
How do you determine what's in your path royeo Linux - Newbie 2 06-08-2007 12:49 AM
How can I determine the path of a shell script that I'm running right now ? basher400 Linux - General 7 10-25-2006 08:31 AM
how to determine script path cxc Programming 3 09-10-2005 08:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration