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 strongm 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: *

  1. imFrank

    Log Size Exceeds Limit

    Sounds like the application you're using is configuration file controled. Somewhere on your system it probably has a configuration file "text file" that specfies/defines a log file size limit. We have to find that file and change it. When you get the error message, look at the last few lines of...
  2. imFrank

    vi editor for Windows

    Got it. Installed it. Will test... Thanks Single Guru.
  3. imFrank

    vi editor for Windows

    Can anyone recommend a "vi" editor that works in Windows XP? I would rather use a recommended vi editor that just going out and finding one on-line. I am very familar with vi, I'm looking for one someone can use on their PC for training.
  4. imFrank

    Lookup Parameter Name From File1 Get Detailed Data From File 2

    Annihilannic, Many thanks for the help - worked perfectly!!! imFrank
  5. imFrank

    Lookup Parameter Name From File1 Get Detailed Data From File 2

    Lookup Parameter Name From File1 Get Detailed Data From File 2 Using awk95 on Windows XP I have one file that contains multiple lists. Each list begins with @NAME:, followed by the list name. Each list contains a list of parameter names. Each parameter name begins with @PARAM:. The @NUM_PARS...
  6. imFrank

    String Search in Data Block

    feherke, Sorry for the trouble. I've copied and pasted the code you provided (13 Aug) and it works as is. Thank you for taking time for the detailed explaination of code syntax. imFrank
  7. imFrank

    String Search in Data Block

    feherke, With the code so far, I'm getting more output than I want. Within the blocks of data, I only want to print out the data when @NAME is equal to ASALARM_HBT_SS. And when @NAME is equal to ASALARM_HBT_SS, I want to also print the value following @ENABLE_LIMITS. In the sample data I...
  8. imFrank

    String Search in Data Block

    feherke, Will try your suggestions today and let you know the results. Thanks, imFrank
  9. imFrank

    String Search in Data Block

    THIS IS THE CODE I AM USING. I AM RUNNING AWK ON SGI IRIX. {if ( $1~/@NAME/ && $2~/ASalarm_HBT_SS/ ) {a=$2} {t1=1}} {if ( /@ENABLE_LIMITS:/ ) {b=$0} {t2=1}} {if (t1==1 && t2==1) printf "%s %s", FILENAME " " a, b "\n"} {a=""} {b=""} {t1=0} {t2=0} {if (/@FMT/) {printf...
  10. imFrank

    Check contents of files for a string?

    Another alternative would be to execute the find with the "-print" option. And you can "Tee" the output to a text file. That way you can see that there is activity. And when it's done, you can grep the resulting text file for the string you're searching for. It's kind of the long way around, but...
  11. imFrank

    Can not boot out of disk space

    From the Maintenance Menu: Select option to “Enter Command Monitor” At Command Monitor Prompt type: >> single <cr> The system will begin to boot Unix to “Single-User” mode. You will be prompted to enter the “root” password. If you don’t have it, you cannot get in. After you provide the root...
  12. imFrank

    Pull Specific Data From Block of Data

    Thank you both for your excellent suggestions. I also saw another Tek-Tip with a reference to awk95 which I just downloaded. You guys have made my life a lot easier. PVH - it worked as is - Thank you!
  13. imFrank

    Pull Specific Data From Block of Data

    futurelet, I've awk'd, and nawk'd, and gawk'd and pawk'd and everyone around the office is beginning to think I've joined the Natural Wildlife foundation. Just and FYI - I'm running SGI IRIX version 6.5.21. And I've tried different awk's on two different veresions of Linux. Of the different...
  14. imFrank

    Pull Specific Data From Block of Data

    futurelet I have entered the code as is. It generates output which is very close to what I need. There are two issues. 1. The output is coming out in multiple lines per block of data instead of one line per block of data. SAMPLE OUTPUT: MC09AA001---X VCAFT_CB_ACL_T1 2 -5.137934e+00...
  15. imFrank

    Pull Specific Data From Block of Data

    The four lines below are sample data I am trying to pull out of the blocks of @NAME, @DESC… data. If you examine the @NAME and @DESC data, you will see the data always begin with @NAME and @DATA and they always end with an @FMT statement. Everything else in between is not consistent other than...
  16. imFrank

    Two Lines Output to One Line

    futurelet, I've discovered with your code, the original substr I wrote left off the tail end of @DESC: data. I've corrected that mistake. In the @NAME: field, I only wanted to see the first three characters following @NAME:, plus I wanted to see the value following @STREAM:. I've modified the...
  17. imFrank

    Two Lines Output to One Line

    NEED HELP CHANGING FORMAT OF OUTPUT FROM TWO LINES FOR EACH BLOCK OF DATA READ TO ONE LINE OF OUTPUT. Using C-Shell THIS IS WHAT I GET: OUTPUT IS SPLIT INTO TWO LINES ws8 94% awk -f /usr/tmp/get_par.awk DATA.par AS HARDDEF SPAR VEH ALARM HEARTBEAT AS COMMAND SPAR VEH ALARM HEARTBEAT RV...
  18. imFrank

    Help noob cant reboot!

    First my discalimer, I'm not a hardware expert but... You didn't say what kind of SGI you have??? The /te/node/xtalk/9/pci... error to me, means something in your pci slot is causing the system to fail power on. So, if you have any pci cards installed in this machine, you may try removing them...
  19. imFrank

    Change IP Address

    Smiller, The command "uname -R" will tell you what version of irix you're running. You should only have to change one file. It depends on how it was configured... First file is /etc/hosts. Locate your workstation hostname in /etc/hosts and change the IP as desired. NOTE: the workstation...
  20. imFrank

    'Model' Command?

    Lisa, I found out one more way to get the information I orginally described above (in HTML format). Execute the following command (on the remote SGI): /var/www/sgi-bin/ghinv/ghinvMain > /tmp/output.html Then FTP the html file to your PC and you should be able to double-click the html file and...

Part and Inventory Search

Back
Top