Forum Discussion
Satoshi_Toyosa1
Dec 12, 2019Employee
A sample tmsh script that writes configuration information of all the ltm virtuals to /tmp/sat.txt.
proc script::run {} {
set fd [open "/tmp/sat.txt" "w+"]
set virtuals [tmsh::get_config ltm virtual]
puts $fd $virtuals
close $fd
}
See also TMSH Configuration & Status Commands.