how to retrieve the actual arguments being used in the sendmail daemon
On Linux, ps -ef |grep sendmail, it returns something like this:
root 1920 1 0 10:13 ? 00:00:00 sendmail: accepting connections
smmsp 19211 1 0 10:13 ? 00:00:00 sendmail: Queue runner@01:00:00 for /var/spool/clientmqueue
I know the "sendmail: accepting connections" is for displaying purpose. Do we have a way to retrive the real arguments for a running process if the arg[0] is set to something else in the end of the program?
Thanks.
|