From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Jonathan Williams Newsgroups: gmane.os.tru64.managers Subject: SUMMARY2: Job in Limbo Date: Wed, 12 Jun 2002 14:31:56 -0400 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <006a01c2123f$6ea8a1a0$8315000a@shubertorg.com> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1023907939 3831 127.0.0.1 (12 Jun 2002 18:52:19 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 12 Jun 2002 18:52:19 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.33 #1 (Debian)) id 17IDEA-0000zg-00 for ; Wed, 12 Jun 2002 20:52:18 +0200 Original-Received: (qmail 28334 invoked by uid 5); 12 Jun 2002 18:32:05 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 28326 invoked from network); 12 Jun 2002 18:32:04 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (128.219.159.41) by 0 with SMTP; 12 Jun 2002 18:32:04 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0GXL00712VHB4B@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 12 Jun 2002 14:32:04 -0400 (EDT) Original-Received: from mailhost.Shubertorg.com ([207.246.208.40]) by emroute2.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0GXL003BJVH8P0@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Wed, 12 Jun 2002 14:31:57 -0400 (EDT) Original-Received: from memnoch [207.238.217.205] by mailhost.Shubertorg.com (SMTPD32-7.10) id A5BA1B820128; Wed, 12 Jun 2002 14:40:58 -0400 Original-To: "Tru64 \(E-mail\)" X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-Priority: 3 X-MSMail-priority: Normal Xref: main.gmane.org gmane.os.tru64.managers:544 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:544 Ok, I go a few replies so figure I should make a proper summary. Here they are: Dr. Thomas Blinn wrote: >There is no way to associate a disconnected job like that with a new >stdin/stdout/stderr (that is, a new controlling terminal). It would >be nice to be able to do this, but there's no facility in the product >code. > >If the job tries to access the X display, it will get an error, but >depending on what it does with the error (that is, the exact logic in >the program), that may or may not cause a problem. > >I tend to run long-running processes in a batch or at job (I usually >use "at" over "batch"). The system (cron) creates a log file in /tmp >with all the job output messages (both stdout and stderr are logged >in the file), and mails it to you on job completion if there are no >errors. While the job is running, you can read the file (e.g., you >can do a "tail -f" on it in a window), since you own the file if you >submitted the job. If the job is running on a remote server, then by >using "at" or "batch" you know that as long as the server stays up and >running, the job will run to completion, even if the remote system from >which you submitted it dies or you lose the network connection or... > >Tom Tim Cutts wrote: >The short answer is no, but you can use a program like 'screen' to start >processes in a terminal which is detachable. This program is a godsend >for sysadmins - you can start something going at work, detach the >terminal, go home, dial in and reattach to see how far it's got. Cool! > >You can download the sources from www.debian.org, amongst other places. >The Linux sources compile fine on Tru64. Jonathan Williams Unix Systems Administrator The Shubert Organization, Inc. ----- Original Message ----- From: "Jonathan Williams" To: "Tru64 (E-mail)" Sent: Tuesday, June 11, 2002 7:47 PM Subject: Job in Limbo > Hi, I had a job running on my desktop from one of our ES40's (5.1 patch 3) > through an excursion DECterm connection. I lost power to my office, so > obviously the DECterm session closed as well. I just checked and the job is > running still (thank goodness), but its just got ?? where the terminal would be. > Is there anyway to reconnect this job to a terminal so I can watch its progress? > Or do I just have to let it finish. This particular job will finish without any > user intervention, so it would never stop to wait at a prompt or anything. > Also, losing the displlay of the job wouldn't effect the job would it? Should I > just cancel this job and start over? I'm running an Informix dbimport (which > has been running for 22 hours so far). Any help would be appreciated. > > Jonathan Williams > Unix Systems Administrator > The Shubert Organization, Inc >