From owner-freebsd-questions Sun Oct 1 11: 8:25 2000 Delivered-To: freebsd-questions@freebsd.org Received: from gatekeeper.appworx.com (appworx.com [216.122.67.134]) by hub.freebsd.org (Postfix) with ESMTP id 8BD8637B503 for ; Sun, 1 Oct 2000 11:08:19 -0700 (PDT) Received: œthrough gatekeeper.appworx.com with SMTPœ id e91I8DT12808 for ; Sun, 1 Oct 2000 11:08:13 -0700 From: "krishna vallapareddy" To: Subject: statuses of background jobs in shell scripts Date: Sun, 1 Oct 2000 14:03:46 -0400 Message-ID: <00d801c02bd1$f18b4790$7ac9010a@kvalpareddy_lp.appworx.com> MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_NextPart_000_00D9_01C02BB0.6A79A790" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_00D9_01C02BB0.6A79A790 Content-Type: multipart/alternative; boundary="----=_NextPart_001_00DA_01C02BB0.6A7CB4D0" ------=_NextPart_001_00DA_01C02BB0.6A7CB4D0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Hi, I would like to know how I can redirect the 'Done x' messages that you would get if a job were submitted at the command line to a file. Also, this does not happen when the job is submitted in a shell script. My problem is, I need to submit a lot of jobs in the background in a loop based on a counter that I increment using expr command. After that I need to track the statuses of each of these jobs. If the job has not finished, I could use the wait command but how do I get the statuses of the jobs that have already finished? Any help in this regard is highly appreciated. _________APPWORX__________________________ Krishna Vallapareddy Systems Engineer AppWorx Corporation Phone: 301.987.0000 - Fax: 301.987.7225 Cell: 516-449-5009 E-mail: krishnav@appworx.com http://www.appworx.com ------=_NextPart_001_00DA_01C02BB0.6A7CB4D0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi,
  I would like to know how I can = redirect the=20 'Done x'
messages that you would get if a job = were submitted=20 at
the command line to a file. Also, this = does not=20 happen
when the job is submitted  in a = shell=20 script.
    My problem is, I need = to submit a=20 lot of jobs in the
background in a loop based on a counter = that I=20 increment using expr command. After that I need to
track the statuses of each of these = jobs. If the job=20 has
not finished, I could use the wait = command but how=20 do I
get the statuses of the jobs that have = already=20 finished?
 
   Any help in this regard is highly=20 appreciated.
 

_________APPWORX__________________________
Krishna Vallapareddy
Systems Engineer
AppWorx=20 Corporation
Phone: 301.987.0000  - Fax:=20 301.987.7225          &= nbsp;     =20 Cell: 516-449-5009
E-mail: krishnav@appworx.com
http://www.appworx.com

------=_NextPart_001_00DA_01C02BB0.6A7CB4D0-- ------=_NextPart_000_00D9_01C02BB0.6A79A790 Content-Type: image/jpeg; name="Notebook.jpg" Content-Transfer-Encoding: base64 Content-ID: <123105817@01102000-1f71> /9j/4AAQSkZJRgABAgEASABIAAD/7QSyUGhvdG9zaG9wIDMuMAA4QklNA+kAAAAAAHgAAwAAAEgA SAAAAAADBgJS//f/9wMPAlsDRwUoA/wAAgAAAEgASAAAAAAC2AIoAAEAAABkAAAAAQADAwMAAAAB Jw8AAQABAAAAAAAAAAAAAAAAYAgAGQGQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4 QklNA+0AAAAAABAASAAAAAEAAQBIAAAAAQABOEJJTQPzAAAAAAAIAAAAAAAAAAA4QklNBAoAAAAA AAEAADhCSU0nEAAAAAAACgABAAAAAAAAAAI4QklNA/UAAAAAAEgAL2ZmAAEAbGZmAAYAAAAAAAEA L2ZmAAEAoZmaAAYAAAAAAAEAMgAAAAEAWgAAAAYAAAAAAAEANQAAAAEALQAAAAYAAAAAAAE4QklN A/gAAAAAAHAAAP////////////////////////////8D6AAAAAD///////////////////////// ////A+gAAAAA/////////////////////////////wPoAAAAAP////////////////////////// //8D6AAAOEJJTQQAAAAAAAACAAA4QklNBAIAAAAAAAIAADhCSU0EC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