ADSM-L

Re: AIX Help

2001-05-09 18:50:28
Subject: Re: AIX Help
From: Ray <ray AT OPS.SELU DOT EDU>
Date: Wed, 9 May 2001 17:51:15 -0500
On Wed, 9 May 2001, Dearman, Richard wrote:

> I am trying to run the "nohup dsmc sched 2> /dev/null &" command on my AIX
> 4.3.3 machine and it works but every time I exit.  It says "There are jobs
> running"  so I exit again and whe I check the dsmc sched process is not
> running.  I thought the nohup command was suppose to let process run even
> after you logout.  What am I doing wrong.

I've had ksh do this to me.  nohup simply tells the process to ignore
SIGHUP signals, i don't think it has any say in what your shell lets you
do.

I worked around it by starting an sh subshell (i know it's still ksh...but
it works).  Just type sh, then run your nohup command, then exit.
You're returned to the original shell but the jobs stays running...now you
can logout.

later!
Ray
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Ray DeJean                                       http://www.r-a-y.org
Systems Administrator               Southeastern Louisiana University
IBM Certified Specialist              AIX Administration, AIX Support
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
<Prev in Thread] Current Thread [Next in Thread>