I have two hosts for eg.
having regions on diffrent ports for eg. a) a1region (port 0011) b) b1region (port 0012) c) c1region (port 0013)
having regions on diffrent ports for eg. a) a2region (port 0021) b) b2region (port 0022) c) c2region (port 0023)
I need to login in to 00.00.00.01 with my user id.
Once I logged in I need to login in to the different region using "su" and run one script (eg. abc) which create one log file.
so here I need to do this thing manually by going to each region and need to check all 6 logs.
I need a script which will do all these things without login in to the different regions and create only one log file at my profile level for eg at host 00.00.00.01 with all output.