ttylog is a Perl script written by Rob Brown intended for attaching to currently running pty or tty sessions. It is essentially a pretty-printing wrapper for
strace -e read,write -s16384 -x -o $write -p $pidwhere $pid is the process-id of a running pty. It can be used for logging or helping users. Great for spying on suspect users or possible hackers.
The source is available from CPAN, rather oddly under Apache/BBB.
(This utility should not to be confused with the binary utility called ttylog which copies output from /dev/tty* to stdout.)
...previous | up (conts) | next... |