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...
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.
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...
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
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...
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...
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...
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...
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!
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...
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...
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...
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...
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...
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.