3.29.2006

How to monitor a terminal session

shadow/view/watch a telnet session:

on the viewer's telnet session: chmod 666 /dev/pts/xx

on the "watched" session side, do: program_name | tee /dev/pts/xx

or just: script /dev/pts/xx

No comments: