<?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: queue (FIFO) execution in HP UX in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/queue-fifo-execution-in-hp-ux/m-p/4430553#M355689</link>
    <description>&amp;gt;Is there a way using mkfifo to insure the process run in FIFO but one after another.&lt;BR /&gt;&lt;BR /&gt;Only what you invent.  A FIFO, a pipe, only serializes data.  You could write into the pipe the name of the script to execute.&lt;BR /&gt;The reader could simply read the script name, then execute it, then remove the file.&lt;BR /&gt;&lt;BR /&gt;I suppose you can use batch(1), and set the queue size to 1.  See queuedefs(4).</description>
    <pubDate>Tue, 02 Jun 2009 07:13:18 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2009-06-02T07:13:18Z</dc:date>
    <item>
      <title>queue (FIFO) execution in HP UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/queue-fifo-execution-in-hp-ux/m-p/4430546#M355682</link>
      <description>Hello,&lt;BR /&gt; &lt;BR /&gt;i was wondering if you could assist me in the following situation:&lt;BR /&gt; &lt;BR /&gt;i am trying to queue a group execution commands (same command but different parameters) submited from an openVMS system to a Unix system (HP UX). The commands should run in sequence; the next starts after prev finish. The commands are submitted in random order at any time.&lt;BR /&gt; &lt;BR /&gt;So far the only option i see is writing a solution from scratch. generally speaking, this solution will involve copying the command as they come in from the openVms server into a file and having another process check this file for the next command insuring the commands are executed in FIFO order. the process will check the file continously or within specified constraint&lt;BR /&gt; &lt;BR /&gt;this said, i was wondering if there are any unix commands that can do similar function or could help in this case?&lt;BR /&gt;</description>
      <pubDate>Mon, 01 Jun 2009 17:11:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/queue-fifo-execution-in-hp-ux/m-p/4430546#M355682</guid>
      <dc:creator>w ko</dc:creator>
      <dc:date>2009-06-01T17:11:35Z</dc:date>
    </item>
    <item>
      <title>Re: queue (FIFO) execution in HP UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/queue-fifo-execution-in-hp-ux/m-p/4430547#M355683</link>
      <description>There is no operating system provided job scheduling tool like OpenVMS' scheduler, on hpux or any other unix platform for that matter. There are add on products but they are usually expensive and come with their own rules of implementation. If your VMS server is going to make a request to the UNIX side, it had better wait for the first request to finish before submitting the second one if the sequential output is desired. Or, as you have indicated, you can build the intelligence, using a script on the hpux side, yourself</description>
      <pubDate>Mon, 01 Jun 2009 17:23:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/queue-fifo-execution-in-hp-ux/m-p/4430547#M355683</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2009-06-01T17:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: queue (FIFO) execution in HP UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/queue-fifo-execution-in-hp-ux/m-p/4430548#M355684</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;I agree this is something you will have to build yourself.&lt;BR /&gt;&lt;BR /&gt;If you do, you might be able to sell it.&lt;BR /&gt;&lt;BR /&gt;There are some commercial job schedulers out there but I don't think they meet this specific need.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 01 Jun 2009 17:30:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/queue-fifo-execution-in-hp-ux/m-p/4430548#M355684</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2009-06-01T17:30:55Z</dc:date>
    </item>
    <item>
      <title>Re: queue (FIFO) execution in HP UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/queue-fifo-execution-in-hp-ux/m-p/4430549#M355685</link>
      <description>&lt;!--!*#--&gt;VMS has queues.  Why not do the queuing&lt;BR /&gt;there?  It should be relatively easy to rig&lt;BR /&gt;a VMS batch queue to manage the jobs, and&lt;BR /&gt;use RSH (or SSH, or something) to get the&lt;BR /&gt;jobs (commands) run on the HP-UX system.</description>
      <pubDate>Mon, 01 Jun 2009 17:44:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/queue-fifo-execution-in-hp-ux/m-p/4430549#M355685</guid>
      <dc:creator>Steven Schweda</dc:creator>
      <dc:date>2009-06-01T17:44:28Z</dc:date>
    </item>
    <item>
      <title>Re: queue (FIFO) execution in HP UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/queue-fifo-execution-in-hp-ux/m-p/4430550#M355686</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Thank you all for the quick response. &lt;BR /&gt;&lt;BR /&gt;i actually found a command called mkfifo that might be helpful. are you familiar with this command?&lt;BR /&gt;&lt;BR /&gt;thank you</description>
      <pubDate>Mon, 01 Jun 2009 22:29:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/queue-fifo-execution-in-hp-ux/m-p/4430550#M355686</guid>
      <dc:creator>w ko</dc:creator>
      <dc:date>2009-06-01T22:29:29Z</dc:date>
    </item>
    <item>
      <title>Re: queue (FIFO) execution in HP UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/queue-fifo-execution-in-hp-ux/m-p/4430551#M355687</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;Yes, 'mkfifo()' makes a named pipe or "first-in-first-out" file.  Data that is written into the pipe is buffered and read back in the same order as it was written.&lt;BR /&gt;&lt;BR /&gt;One process should open the pipe for reading while a second process should open the pipe for writing.  In this fashion, you will achieve a synchronization of read/write activity in FIFO order.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 01 Jun 2009 23:17:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/queue-fifo-execution-in-hp-ux/m-p/4430551#M355687</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-06-01T23:17:58Z</dc:date>
    </item>
    <item>
      <title>Re: queue (FIFO) execution in HP UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/queue-fifo-execution-in-hp-ux/m-p/4430552#M355688</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;is there a way using mkfifo to insure the process run in FIFO but one after another. ie the next command runs only after the prev has completed.&lt;BR /&gt;&lt;BR /&gt;thank you</description>
      <pubDate>Tue, 02 Jun 2009 06:49:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/queue-fifo-execution-in-hp-ux/m-p/4430552#M355688</guid>
      <dc:creator>w ko</dc:creator>
      <dc:date>2009-06-02T06:49:42Z</dc:date>
    </item>
    <item>
      <title>Re: queue (FIFO) execution in HP UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/queue-fifo-execution-in-hp-ux/m-p/4430553#M355689</link>
      <description>&amp;gt;Is there a way using mkfifo to insure the process run in FIFO but one after another.&lt;BR /&gt;&lt;BR /&gt;Only what you invent.  A FIFO, a pipe, only serializes data.  You could write into the pipe the name of the script to execute.&lt;BR /&gt;The reader could simply read the script name, then execute it, then remove the file.&lt;BR /&gt;&lt;BR /&gt;I suppose you can use batch(1), and set the queue size to 1.  See queuedefs(4).</description>
      <pubDate>Tue, 02 Jun 2009 07:13:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/queue-fifo-execution-in-hp-ux/m-p/4430553#M355689</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-06-02T07:13:18Z</dc:date>
    </item>
    <item>
      <title>Re: queue (FIFO) execution in HP UX</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/queue-fifo-execution-in-hp-ux/m-p/4430554#M355690</link>
      <description>Thank you all for the reponses,&lt;BR /&gt;&lt;BR /&gt;i actually found an easy way of doing this. bascially instead of passing the command to pipe file i just pass the command string and then i have another deamon process reading and executing the strings one at a time.&lt;BR /&gt;&lt;BR /&gt;thanks</description>
      <pubDate>Thu, 04 Jun 2009 00:05:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/queue-fifo-execution-in-hp-ux/m-p/4430554#M355690</guid>
      <dc:creator>w ko</dc:creator>
      <dc:date>2009-06-04T00:05:58Z</dc:date>
    </item>
  </channel>
</rss>

