On 8/2/07, Jim Stapleton <[EMAIL PROTECTED]> wrote: > > On 8/2/07, Jeremy Gransden <[EMAIL PROTECTED]> wrote: > > > > > > > > On 8/2/07, Jim Stapleton <[EMAIL PROTECTED]> wrote: > > > Sorry if my question is a bit confusing - I'm not even sure the proper > > > terminology, so I don't know what the best way to start looking is. > > > > > > I'm rebuilding a system at home, and I'd like to check how the build > > > is going at a slow time at work sometimes. I can connect to the system > > > from work (ssh into my main box, and then from there, ssh to the > > > system I'm working on). I have a terminal opened on that system > > > (actually, another ssh session fron the main box), and I'd like to > > > have my new connection attach to that terminal session, if possible, > > > so that I can just pick up where I left off, and monitor it from here. > > > Is this possible? > > > > > > > > Maybe your looking for screen. > > > > try > > man screen > > for more details. > > thanks, > > jeremy > > > > I was actually thinking console for that part of the terminology, but > yeah, that's what I want to attach to, the man page didn't tell me how > though. > > This seemed relevant: > Output to a virtual console that not currently is on the display is > saved > in a buffer that holds a "screenfull" (normally 25) lines. Any output > written to /dev/console (the original console device) is echoed to > /dev/ttyv0. > > However, cat'ing and less'ing the device did nothing, except act as if > it were waiting for input, and none was coming. > > I however did find out which screen I'm on using ps -A and grep: > [EMAIL PROTECTED] 12:01:15 (0) /ports/java/diablo-jdk15 > ps -A | grep tty > sjss 0.0 0 0:00.33 0.6 0 0 0 26343 26339 > sshd: [EMAIL PROTECTED] (sshd) > sjss 0.0 0 0:09.61 0.5 0 0 0 43906 43903 > sshd: [EMAIL PROTECTED] (sshd) > > So, I want to see what is going on with ttyp0 > ttyp0 > > Thanks, > -Jim Stapleton >
I guess i was a little vauge..... sorry. What you will need to do is run the program screen, (sysutils/screen), on the macine that you will want to monitor, BEFORE you start your processes. the man page should be able to tell you how to attach/detach from the screen session. I use this all the time in much the same manner as you are trying. thanks, jeremy _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
