script -t action 2>time

image 

scriptreplay  time action

image

生成了两个文件 ,其中 time 记录了时间  action 记录了动作  。文件名可自定义

image