Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: 12bpm
  • Order by date
  1. 12bpm

    Connecting to 4 different boxes using status successful

    hey thank you so much for your time and effort in doing this script. i wish i could get a few hours with you to go over some unix as im new to it. But as this is only a unix forum, you have been more than helpful. The script worked fine and returned all dr hosts successful. + echo xirdrhp4 is...
  2. 12bpm

    Connecting to 4 different boxes using status successful

    hi what is protocol in reference to? i dont understand how what you have given me a solution as to hows i can pull fields from the drhosts file. there are 4 hosts you can rsh or ssh on to them some of them have physical location Eg: /tools/xirdba/dr/bin/standby_delay_report.ksh others have...
  3. 12bpm

    Connecting to 4 different boxes using status successful

    hi you have been a great help to me. i want to be able to loop through each of the four hosts and check rsh connection status by searching hostname,rsh/shh or physical/virtual using the awk command from below file cat drhosts ------------------------- xirslo8dr rsh physical xirmesd1-dr1 ssh...
  4. 12bpm

    Connecting to 4 different boxes using status successful

    hi thank you for your help however i need to cat the host names into a logfile does the below script seem appropriate? script=call_dr_scripts_central.ksh dr_status=0 log_dr=/tools/xirdba/dr/bin/call_dr_scripts_central.log touch $log_dr for host in `cat /tools/xirdba/dr/bin/drhosts` do if [...
  5. 12bpm

    Connecting to 4 different boxes using status successful

    check_lagtime() rshstatus=`rsh -n lilo /db/p2/oracle/names9208/restart_names.sh` if $rshstatus <>0 then errstatus=1 mailx -s "xirsol8dr" ordba@xilinx.com >> $log_dr else if errstatus=0 echo "status to xirsol8dr successful" this is the logic behind what im looking to do i want to be able to...
  6. 12bpm

    sending email if file exists or not in unix script

    anyone any other ideas?
  7. 12bpm

    sending email if file exists or not in unix script

    thanks columb :) il give it a go
  8. 12bpm

    sending email if file exists or not in unix script

    this is what i want to get - IF the gap >= 10 and file /tmp/<dbname>_alert does not exist THEN o send an email to create a new case and dispatch to aim_dba o Create the file /tmp/dbname_alert If /tmp/<dbname>_alert exists and the gap <=9 ? Remove the file /tmp/<dbname>_alert...

Part and Inventory Search

Back
Top