??????????????????????????????????????????????????????????????Щ????????????????У????????????????????????佇?????Linux?п???????????????????????????????
???????????????????????Щ?????????????????????????????????????????????ɡ?
?????????????????????????????????????????????????????????????????????????????????ɡ?
?????????????????????script??scriptreplay.
?????????????????????μ???????ɡ??????м???????????????????????????????????????
????$ script -t 2> time.log -a record.session
????Script started?? file is record.session
????$ echo test begin
????test begin
????$ echo test start
????test start
????$ echo test end
????test end
????$ exit
????exit
????Script done?? file is record.session
?????????????????????????????scriptreplay?????????????
????$ scriptreplay time.log record.session
???????????????????????????????????????????????????????????????????о????г?С?
???????????????????????????????????time.log??record.session????????????????????????????????????ɡ?
??????????????????????????????????????????????
????$ cat time.log
????0.350314 17
????0.052705 1
????1.176860 1
????0.241008 1
????0.064975 1
????????????