I have been trying to use sasftpagent.sh v3.0.2 to recollect an admin SO audit from an Oracle 10g within a HP-UX B.11.31 system with korn shell.
There is no posibility to use bash shell due business requeriments of the machine.
After changing some lines to accommodate the script to ksh but I have no idea what is the time threatment in ksh.
My timestamp is always: 1.48951e+09. Due this time complication the script enter in an infinite loop.
A disadvantage is that I have only permission to execute the agent, nothing else. So I cannot try so many things.
If someone know another posible implementation already created it would be great.
#sftp#sftpagent #sftp agent
After I realize that the shell was ksh88. No POSIX >3
Changing time gatherers and few functions more it works like a charm.