Search Results

Search: Posts Made By: scottzx7rr
Forum: Solaris 05-24-2012
5,469
Posted By scottzx7rr
Verification of the Boot Block
Guys,

I have a rusty question that I need help with. It has been a while since I supoprted Solaris boxes. I have several hundred solaris systems running Sol 8 and Sol 10. I built the original...
1,198
Posted By scottzx7rr
Thanks guys for the input. I was able to resolve...
Thanks guys for the input. I was able to resolve my issue with your guys help.
1,198
Posted By scottzx7rr
Problems with an if statement
Hey guys/gals,

I am feeling extremely rusty today and having a problem with a monitoring script I am writing. I am trying to write a monitor using a entry in a line in log file. I can get the...
1,315
Posted By scottzx7rr
It might have to do with the flavor of O/S...
It might have to do with the flavor of O/S (Solaris 10) and the version of awk I have. I get the results when I use nawk that is loaded on the box.
1,315
Posted By scottzx7rr
When I try that logic it only does the last line...
When I try that logic it only does the last line of the extracted data file instead of returning results for each of the lines.

Thanks in Advance.
1,315
Posted By scottzx7rr
Trying to use a variable pulled from a for statement in a search string
Guys I am having trouble trying to pull some data from a file using a value returned from a for statement. Any help would greatly be apprecaited. I can't seem to get my script to pass the variable....
2,696
Posted By scottzx7rr
Thx Guys. I was able to tweak your suggestions...
Thx Guys. I was able to tweak your suggestions to use. I appreciate your assistance.
2,696
Posted By scottzx7rr
Trying to do a compare with multiple lines in a file
Hey guys I am having a problem with being able to find unused profiles in a configuration check script I am trying to create for accountability purposes for managing a large number of systems. What I...
3,972
Posted By scottzx7rr
Alister, Thanks for your help. I got it...
Alister,

Thanks for your help. I got it working with tweaking of your script.
3,972
Posted By scottzx7rr
Thx guys. Alister, that was my assumption...
Thx guys.

Alister, that was my assumption till I tried using your awk command. Yeah I found a wrinkle with the way the system writes the configuration file. So one version it is as listed...
3,972
Posted By scottzx7rr
Unfortunately I can't search for anything...
Unfortunately I can't search for anything specific in those lines cause it can be a port(80, 8080, etc...) or service name(https, dns, etc...)

Here is what I was working with and it works except...
3,972
Posted By scottzx7rr
Trying to do a count on multiple lines in a file
Guys I am having a problem with being able to do a count of entries in a file. What I am trying to get a count of the total number of members that are listed in the files. So I need to pull the...
3,427
Posted By scottzx7rr
Thx for your help! I was able to get it...
Thx for your help! I was able to get it functioning properly. I actually had a slight hiccup with the extract script that made me think it was the loops. Dang hidden MS word end of line...
3,427
Posted By scottzx7rr
Is it possible to have a for loop inside another for loop?
Is it possible to have a for loop nested inside another for loop? I am trying to run a script against specific files inside a child directory but I can't seem to find a solution that is clean and...
2,702
Posted By scottzx7rr
The O/S I am in is Solaris 10. But I was able to...
The O/S I am in is Solaris 10. But I was able to use nawk and it worked perfectly. So thanks a great deal!
2,702
Posted By scottzx7rr
Alister, Great thx. I think I am missing a...
Alister,

Great thx. I think I am missing a open { as I am getting an error trying to run it.
2,702
Posted By scottzx7rr
Allister, Thanks for your assistance. I...
Allister,

Thanks for your assistance. I just found out/remember that some might variate in the line location of the monitor. Some will be line 2 and other might be line 3 or 4. So with the...
2,702
Posted By scottzx7rr
How do you use pull data from multiple lines to do a for statement?
Guys I am having a problem with being able to find missing monitors in a configuration check script I am trying to create for accountability purposes for managing a large number of systems. What I am...
1,643
Posted By scottzx7rr
Yeah this is on Solaris 10 box and the orginal...
Yeah this is on Solaris 10 box and the orginal grep doesn't support the -A function as that was my first solution. Then I went to sunfreeware to grab their version hoping it supported it but no...
1,643
Posted By scottzx7rr
Thx Guys I got it. I used a combination of awk...
Thx Guys I got it. I used a combination of awk and sed in my report generator that worked for me. I hate being rusty and not using a skill for a long time and then relearning it again. Thx for...
1,643
Posted By scottzx7rr
Sorry I had a lot of detail in the first post...
Sorry I had a lot of detail in the first post that got wiped somehow. I am in need of the line entries from the log file that follow the Interface Data Line so that i could report on dropped...
1,643
Posted By scottzx7rr
Extremely rusty on my scripting and need help!
Hello everyone, hope that your holiday's were good. I am getting back into some System Admin work after taking last year off and feeling a little rust.

I am doing some reporting and I have a log...
2,920
Posted By scottzx7rr
It was a typo in the shell script that I use to...
It was a typo in the shell script that I use to call the perl script. It was pointing to the development script, so all the changes I was making were not working because I was using the wrong...
2,920
Posted By scottzx7rr
Yeah that was just the example I typed for...
Yeah that was just the example I typed for reference. It doesn't have that 1 in the file name. Here also is the output for what it is looking for so it appears to posting the information from the...
2,920
Posted By scottzx7rr
Sorry that is a typo. I have the period there. ...
Sorry that is a typo. I have the period there. I have updated the orginal post to reflect the typo.
Showing results 1 to 25 of 31

 
All times are GMT -4. The time now is 09:54 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy