今天在定位一个问题时,查看message日志,需要知道message日志中的记录分别是哪个Xterm终端操作的.比较了半天才发现原来日志中可以通过pts来进行区分.如下所示: --12T15:::|notice|[/bin/bash]|[-- :: root cd test/] return code=[], execute success by [root] from [pts/0 (9.4.90.52)] ], execute success by [root] from [pts/1 (9…
相关包: ttyrec: ttyrec is a tty recorder. Recorded data can be played back with the included ttyplay command. ttyrec is just a derivative of script command for recording timing information with microsecond accuracy as well. It can record emacs -nw, vi,…