AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
 View Only
  • 1.  resume tty session

    Posted Thu August 27, 2009 03:52 PM

    Originally posted by: Mike_Grove


    How can you resume a tty connection that is still alive after you loose your connection to the AIX server.

    For example, if you are logged into a server and ssh to another server, but you loose your session (putty or xwindows).

    After loggin back in, I can see that my process is still alive from the "w" command...

    tty login@ idle JCPU PCPU what
    pts/13 08:41AM 4:45 0 0 /usr/bin/ksh

    and the fuser command shows the pids:

    fuser /dev/pts/13
    /dev/pts/13: 1024092 1134652 1486976

    ps -ef |grep 1024092
    root 1486976 1024092 0 09:43:51 pts/13 0:00 ssh <hostname>

    Is there any way to resume that pts/13
    #AIX-Forum


  • 2.  Re: resume tty session

    Posted Thu August 27, 2009 11:02 PM

    Originally posted by: chriswick


    Hi Mike

    The only way I can think of is if you were running GNU screen at the time the session disconnected.

    http://www.gnu.org/software/screen/
    #AIX-Forum