PyPTY is a log tool for power script users that desires to store logs of their operations on vital systems.
When using pypty, you have several options to consider. For example, you can use the "-a" flag to append the output to a file or typescript, retaining the prior contents. Alternatively, you can use the "-c" flag followed by a command to run a specific command. Additionally, you can choose whether to use dated files by using the "-d" flag.
To start pypty, just type "./pypty [file]" followed by any relevant flags. You can also use the "--help" flag to see a list of available options. Note that in dated mode, timing data is output to a .timing file, while in non-dated mode it goes to standard error.
Here's an example of how to use pypty:
$ ./pypty -d
Pypty started, file is 2008/06/01/typescript-1ZVUCW9Pvdnl-SXtwRhH9WEDZ
dstromberg-desktop-dstromberg:~/public_html/pypty/pypty-1.00 i486-pc-linux-gnu 24546 - above cmd done 2008 Sun Jun 01 01:21 PM
$ pwd
/home/dstromberg/public_html/pypty/pypty-1.00
dstromberg-desktop-dstromberg:~/public_html/pypty/pypty-1.00 i486-pc-linux-gnu 24546 - above cmd done 2008 Sun Jun 01 01:21 PM
$ Pypty finished, file was 2008/06/01/typescript-1ZVUCW9Pvdnl-SXtwRhH9WEDZ
(To be continued...)
Version 1.40: N/A