tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Jonathan Williams <jonathw@shubertorg.com>
Subject: SUMMARY2:  Job in Limbo
Date: Wed, 12 Jun 2002 14:31:56 -0400	[thread overview]
Message-ID: <006a01c2123f$6ea8a1a0$8315000a@shubertorg.com> (raw)

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" <jonathw@shubertorg.com>
To: "Tru64 (E-mail)" <tru64-unix-managers@ornl.gov>
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
>



                 reply	other threads:[~2002-06-12 18:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox