I need bash script in the below scenario.
Menu
-
Upload trace file and alert log
-
upload sundiag
-
upload diagcollection.sh
-
exit
-
Upload trace file and alert log
input the line number and search the .trc files then
Input the gateway server ip and transfer that file to gateway server through scp.
- Upload sundiag
run the sundiag script under - /opt/oracle.Supportool/sundiag.sh and
Input the gateway server ip and transfer that file to gateway server through scp.
- Upload diagcollection.sh
run the diagncollection.sh under /opt/oracle.Supportool/diagcollection.sh and Input the gateway server ip and transfer that file to gateway server through scp.