(Running on an Ubuntu 10.04 64-bit server)
Yesterday, I made the mistake of starting a process (which I didn't realize was going to take several days to run) over SSH without using screen. I've spent all day today trying to figure out some way that I can pry the process's output from SSH's iron grasp so that I can reboot my client machine, but am not getting anywhere.
I tried using gdb and following the instructions at the bottom of this page, but when I run the first gdb command to create a file, I get an error message stating
No symbol table is loaded. Use the "file" command. From what I gathered, this means I have to recompile the program whose output I'm trying to redirect, which of course is absolutely no help to me now that it's already running.
I also thought I might be able to use retty to redirect output to another terminal, but evidently it does not compile on 64-bit platforms.
How can I redirect this process's output to another terminal or to a file?