keerthi2016
Programmer
Currently i am sending the list of process running in the backend to the user as below.
ps -ef | grep "Srv" | mailx -s "Server Currently Running " xyz@gmail.com
Current Output :
dba 3108 17851 0 Jul 7 ? 13:36 expres63 /var/tmp/xsauthn /var/tmp/xsauthz Srv634P 27 32 33
dba 6501 17851 0 Jul 17 ? 2:34 expres63 /var/tmp/xsauthn /var/tmp/xsauthz Srv634 27 32 33 3
Expected Output :
Need to amend the below email information in the body of the email.
dba 3108 17851 0 Jul 7 ? 13:36 expres63 /var/tmp/xsauthn /var/tmp/xsauthz Srv634P 27 32 33
dba 6501 17851 0 Jul 17 ? 2:34 expres63 /var/tmp/xsauthn /var/tmp/xsauthz Srv634 27 32 33 3
Srv634P -> used for client acecssing.
Srv634 -> Used for server acessing.
ps -ef | grep "Srv" | mailx -s "Server Currently Running " xyz@gmail.com
Current Output :
dba 3108 17851 0 Jul 7 ? 13:36 expres63 /var/tmp/xsauthn /var/tmp/xsauthz Srv634P 27 32 33
dba 6501 17851 0 Jul 17 ? 2:34 expres63 /var/tmp/xsauthn /var/tmp/xsauthz Srv634 27 32 33 3
Expected Output :
Need to amend the below email information in the body of the email.
dba 3108 17851 0 Jul 7 ? 13:36 expres63 /var/tmp/xsauthn /var/tmp/xsauthz Srv634P 27 32 33
dba 6501 17851 0 Jul 17 ? 2:34 expres63 /var/tmp/xsauthn /var/tmp/xsauthz Srv634 27 32 33 3
Srv634P -> used for client acecssing.
Srv634 -> Used for server acessing.