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 gkittelson 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: tbenn
  • Order by date
  1. tbenn

    "call home" script sends repetitive msgs to pager/email

    I have a "call home" script that detects an errpt -a -1 -"Error on Hostname" type of entry into file errpt.dta and sends a copy of that file to a Qmail Server in a mailer.dta file. Here's my problem - If a hardware error occurs in the "errpt" on ClientA the email is sent as it should to the...
  2. tbenn

    Extract Data and Average Backup Time and Speed

    I really didn't think I'd have this resolved before Turkey Day - so I really appreciate ALL of your hard work - I believe I might owe an apology to everyone involved by not presenting the file contents in the format as it was as opposed to getting it to fit in the "preview post" screens. Who...
  3. tbenn

    Extract Data and Average Backup Time and Speed

    I tried PHVs method and I added the following line to the script: +14 RS="[\r\n]" it seems to work - except it prints all those unwanted lines: here's what the first few lines look like: # of fields is 1 # of fields is 1 # of fields is 1 # of fields is 1 # of fields is 1 # of...
  4. tbenn

    Extract Data and Average Backup Time and Speed

    One more NOTE: the previous post showed the file contents resulting from the usage of the "more" command - for example: Command run: more BackUpCalc Here is the format of the same file resulting from the "pg" command - example: NOTE: there are no "^M" Control-Ms. Command run: pg...
  5. tbenn

    Extract Data and Average Backup Time and Speed

    Let's see if this helps - when I originally cut & pasted the "BackUpCalc" file contents, I altered the format to fit the page - here it is with no formatting: NOTE: I believe the " ^M " - Control-M, indicate "NewLine" - again, this is a SYSBACK-generated file...
  6. tbenn

    Extract Data and Average Backup Time and Speed

    I wish I could say it worked - but here's what I get with your first script: Command run: gawk -f CalcTimeSpeed2 BackUpCalc Estimated size: 131072 MB Actual size: 131112 MB gawk: CalcTimeSpeed2:38: (FILENAME=BackUpCalc FNR=96) fatal: division by zero attempted NOTE: I also tried...
  7. tbenn

    Extract Data and Average Backup Time and Speed

    It's still not working - of course I copy and pasted your program to "CalcTimeSpeed" as opposed to writing it. I downloaded gawk ver 3.1.4 and get the following: Command run: gawk -f CalcTimeSpeed BackUpCalc Estimated size: 131072 MB Actual size: 131112 MB...
  8. tbenn

    Extract Data and Average Backup Time and Speed

    Almost! When I save your script to "CalcTimeSpeed" and redirect output to "BackUpCalc", it actually prints out the entire log file - which is a duplicate of what I already have and I do not need that. It then tags the calcs on to the bottom of the file. It does NOT calculate the "Average of...
  9. tbenn

    Extract Data and Average Backup Time and Speed

    I have an Input file – InFileA containing some info: FIRST NOTE: There are many more lines to this file than printed below, but they are mostly between the “0 and 100” under the “% Complete” column. : SECOND NOTE: the notification Backing up / filesystem .. occurs throughout the 0 and 100 “%...

Part and Inventory Search

Back
Top