Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: mailx is not working
Steve Howard wrote:
> muddu wrote:
> > Hi ,
> >
> > I am running a simple unix script but mailx option is not working .
> > please help me out.
> >
> > DAT=`date +%m%d%Y`
> > MAIL=mudassar.dba_at_gmail.com
> > AUDIT_DIR=$ORACLE_HOME/rdbms/audit
> > DIR=/opt/oracle/adminscripts
> > . $DIR/parfiles/jobprofile
> >
> > cd $AUDIT_DIR
> >
> > #merge all .aud files to audit.log
> > cat *.aud > audit_$DAT.log
> >
> > mv audit_$DAT.log $DIR/logs/audit/
> > cd $DIR/logs/audit/
> >
> > #send audit.log to the mail recipient
> > mailx -s "Audit log file" $MAIL < audit_$DAT.log
> >
> > Thanks.
>
> ps -ef | grep send
>
> ...to make sure sendmail is running.
I executed this command and it is showing like this
ps -ef|grep send
oracle 4632 4468 0 23:00:01 pts/3 0:00 grep send
Can you please explain me regarding above numbers 4632 and 4468 ,0 , pts/3.
thanks Received on Thu Aug 31 2006 - 17:04:27 CDT
![]() |
![]() |