|
NAMENet::OpenSSH::OSTracer - trace ssh master process at the OS levelSYNOPSISuse Net::OpenSSH; $Net::OpenSSH::debug |= 512; Net::OpenSSH->new($host)->system("echo hello world"); system "less /tmp/net_openssh_master.*.strace"; DESCRIPTIONThis is a Net::OpenSSH helper module that allows you to trace the master "ssh" process at the operating system level using the proper utility available in your system (e.g., "strace", "truss", "ktruss", "tusc", etc.).This feature can be used when debugging your programs or to report bugs on the module. It is enabled setting the flag 512 on the $Net::OpenSSH::debug variable: $Net::OpenSSH::debug |= 512; By default the output files of the tracer are saved as "/tmp/net_openssh_master.$pid.$tracer_type". Also, the output send by the tracer to stdout/stderr is saved as "/tmp/net_openssh_master.$pid.txt". The module can be configured through the following global variables:
BUGSThis module has not been tested under all the operating systems is says to support.If you find any problem, just report it, please! COPYRIGHT AND LICENSECopyright (C) 2012 by Salvador Fandiño (sfandino@yahoo.com)This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.0 or, at your option, any later version of Perl 5 you may have available.
Visit the GSP FreeBSD Man Page Interface. |