How can UNIX Multi-process with Multi-process interface

How can UNIX Multi-process with Multi-process interface

Post by Doug Sh » Fri, 16 Dec 1994 04:54:15



I am fairly new to UNIX so pardon me if the following questions seem trivial.
I have some basic UNIX books, but they do not cover the following:

I have two applications that can run totally independent.  My goal is to
link the two programs via stdout and file sharing.  Because each process
is computationally intensive, I would like to run the process concurrently
on two different processors (either one machine when dual processors are
available to me, or two machines).  I realize this is a global hunger
problem so my initial goal is to have both programs running on one machine
concurrently.

From my simple point of view, two possibilities come to mind:

        1.  Have each process run in the background of a single shell
        2.  Have each process run under seperate shells

I would appreciate any information on how to accomplish this task or where
I can get the information to accomplish this task.

Note:  I have an HP 715/50 and reading the man pages on the shell (ksh) has
only confused me.

 
 
 

How can UNIX Multi-process with Multi-process interface

Post by Ray Jon » Mon, 19 Dec 1994 02:05:09


: I am fairly new to UNIX so pardon me if the following questions seem trivial.
: I have some basic UNIX books, but they do not cover the following:

: I have two applications that can run totally independent.  My goal is to
: link the two programs via stdout and file sharing.  Because each process
: is computationally intensive, I would like to run the process concurrently
: on two different processors (either one machine when dual processors are
: available to me, or two machines).  I realize this is a global hunger
: problem so my initial goal is to have both programs running on one machine
: concurrently.

: From my simple point of view, two possibilities come to mind:

:       1.  Have each process run in the background of a single shell

(command1 | command2)&
tough, huh?

:       2.  Have each process run under seperate shells

Running commands on two seperate, networked machines
command1 | rcomand machine2 command2
  -or-
to do it in the background
(command1 | rcomand machine2 command2)&

: I would appreciate any information on how to accomplish this task or where
: I can get the information to accomplish this task.

Welcome to the world of Unix.

: Note:  I have an HP 715/50 and reading the man pages on the shell (ksh) has
: only confused me.

--

URL: http://www.celestial.com         8545 SE 68 St.
Manufacturer of Internet Gateways     Mercer Island, WA 98040; (206) 236-1676
The probability of one or more spelling errors in this missive approaches
unity.  If this bothers you, run it through your spell checker!

 
 
 

How can UNIX Multi-process with Multi-process interface

Post by S. Jason Enya » Fri, 23 Dec 1994 04:25:24



> Welcome to the world of Unix.

A nice place to live, but I wouldn't want to visit.
--
S. Jason Enyart              Voice: 317.451.0802      Mail Stop CT200
EDS/Delco Electronics        Fax:   317.451.0174      One Corporate Center
Systems Administrator                                 P.O. Box 9005