<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Batch Mailing in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/batch-mailing/m-p/3184490#M795448</link>
    <description>Hi Aziz,&lt;BR /&gt;&lt;BR /&gt;Yes. There will be a performance gain. With every message sending, you are reading the file 'message' per mailx process.&lt;BR /&gt;&lt;BR /&gt;However, once the file is read first time, it will be available in buffer cache for subsequent reads. But still there will be a slight overhead of system calls.&lt;BR /&gt;&lt;BR /&gt;You can do it yourself. Have the script run with 'timex ./script'. Modify the script to add multiple recepients and run it again with timex and see the difference. You should see some incrase in "usr time" and quite a bit in "sys time".&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
    <pubDate>Thu, 05 Feb 2004 13:43:42 GMT</pubDate>
    <dc:creator>Sridhar Bhaskarla</dc:creator>
    <dc:date>2004-02-05T13:43:42Z</dc:date>
    <item>
      <title>Batch Mailing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/batch-mailing/m-p/3184489#M795447</link>
      <description>Greetings,&lt;BR /&gt;&lt;BR /&gt;I have a question regarding email generation.&lt;BR /&gt;&lt;BR /&gt;Right now, a process generates a shell script that contains 1000 to 2000 emails to be sent, Timesheet Email Alerts, like this:&lt;BR /&gt;&lt;BR /&gt;mailx -s "Alert Reminder" joe@abc.com &amp;lt; message&lt;BR /&gt;mailx -s "Alert Reminder" jim@abc.com &amp;lt; message&lt;BR /&gt;...&lt;BR /&gt;.&lt;BR /&gt;.&lt;BR /&gt;&lt;BR /&gt;The email Admins don't like it, they want me to change it and send the entire batch in one time, instead of multiple mailx commands.&lt;BR /&gt;&lt;BR /&gt;Now, is there really a performance gain doing it like above versus one batch ?&lt;BR /&gt;&lt;BR /&gt;Also, what would be the best way to implement this in a single batch versus the above ? for privacy concerns, I don't want all the email addresses to appear in the "To:" box when someone gets his/her alert.&lt;BR /&gt;&lt;BR /&gt;Thank you.</description>
      <pubDate>Thu, 05 Feb 2004 13:40:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/batch-mailing/m-p/3184489#M795447</guid>
      <dc:creator>Aziz Zouagui</dc:creator>
      <dc:date>2004-02-05T13:40:22Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Mailing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/batch-mailing/m-p/3184490#M795448</link>
      <description>Hi Aziz,&lt;BR /&gt;&lt;BR /&gt;Yes. There will be a performance gain. With every message sending, you are reading the file 'message' per mailx process.&lt;BR /&gt;&lt;BR /&gt;However, once the file is read first time, it will be available in buffer cache for subsequent reads. But still there will be a slight overhead of system calls.&lt;BR /&gt;&lt;BR /&gt;You can do it yourself. Have the script run with 'timex ./script'. Modify the script to add multiple recepients and run it again with timex and see the difference. You should see some incrase in "usr time" and quite a bit in "sys time".&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Thu, 05 Feb 2004 13:43:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/batch-mailing/m-p/3184490#M795448</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-02-05T13:43:42Z</dc:date>
    </item>
    <item>
      <title>Re: Batch Mailing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/batch-mailing/m-p/3184491#M795449</link>
      <description>&lt;BR /&gt;&lt;BR /&gt;while read -r recip&lt;BR /&gt;do&lt;BR /&gt;&lt;BR /&gt;  mailx -s "Alert Reminder" $recip &amp;lt; message&lt;BR /&gt;done &amp;lt; recipient.list.text&lt;BR /&gt;&lt;BR /&gt;SEP&lt;BR /&gt;</description>
      <pubDate>Thu, 05 Feb 2004 13:59:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/batch-mailing/m-p/3184491#M795449</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2004-02-05T13:59:47Z</dc:date>
    </item>
  </channel>
</rss>

