Re: Command terminates after log off

From: Green, Simon (Simon.Green@EU.ALTRIA.COM)
Date: Thu May 13 2004 - 09:03:28 EDT


Does it actually terminate? You always get the "There are running jobs."
message.
If so, try it with "at".
at now
<your command>
ctrl-d

--
Simon Green
Altria ITSC Europe Ltd
AIX-L Archive at https://new-lists.princeton.edu/listserv/aix-l.html
New to AIX? http://publib-b.boulder.ibm.com/redbooks.nsf/portals/UNIX
N.B. Unsolicited email from vendors will not be appreciated.
Please post all follow-ups to the list.
> -----Original Message-----
> From: faisalq@CYBER.NET.PK [mailto:faisalq@CYBER.NET.PK]
> Sent: 13 May 2004 13:47
> To: aix-l@Princeton.EDU
> Subject: Command terminates after log off
>
>
> Dear all,
>
> We are executing command using nohup in AIX 5.2, but at
> logoff, command
> terminates.
>
> How can this be resolved?
>
> Regards
>
> # /bin/nohup xinit -- -vfb -force :1 1>/dev/null 2>/dev/null &
> [1]     700516
> # ps -eaf | grep -y 'vfb'
>     root 434178 700516   0 17:38:29  pts/1  0:00 ksh
> /usr/lpp/X11/defaults/xserv
> errc -vfb -force :1
>     root 589968 434178   0 17:38:29  pts/1  0:00 /usr/lpp/X11/bin/X -D
> /usr/lib/
> X11/rgb -vfb -force :1
>     root 700516 696392   0 17:38:29  pts/1  0:00 xinit --
> -vfb -force :1
> #
> # exit
> There are running jobs.
>
>
>


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 22:17:54 EDT