how to remote log in to a system A to system B ,execute commands in it and collect the log in system A from B using TCL script??
Answer Posted / srinivas b.n
From System A, ssh to system B and get the spawn ID of System B into System A , use "set val [send -i $spawn_id <command>]" which would run a command in System B from system A context, Now whatever is content in val (puts $val) would be the logs from System B run in System A.
Is This Answer Correct ? | 2 Yes | 5 No |
Post New Answer View All Answers
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category