Krishna Yenduri wrote: > Hi, > > This is not directly related to mdb. But, I was wondering if some one knows > a solution for the following case - > > . I have a mdb session/process on a machine > krishna 23941 8687 0 12:45:04 pts/13 54:42 mdb -k unix.0 vmcore.0 > > . I am now logged remotely from home and I would like to > attach to this session. This is because I ran a ::typegraph in that > session > that took a very long time and I do not want to run it again. > > This would have been possible if I ran the mdb command on the > console on a machine with a console server. It is not the case here. > And it seems I can not use vnc since it does not run on X86.
It doesn't? News to me; I use it all the time... > I assume this is possible if one could change the controlling terminal > of a process without killing the process. Some thing like > pstop <pid> > prun <pid> <new_pty> > > May be there is some tool out there already that can do this? Other than screen, which of course you have to run first, enclosing the terminal session containing mdb, I don't know of any way to unbind/rebind ex post facto.