Search Results

Search: Posts Made By: port43
1,392
Posted By port43
I like this quite a bit! awk '/<api/{s=$NF}...
I like this quite a bit!
awk '/<api/{s=$NF} /r100595/ && p=="BUNDLE-GIM" {print s, p, $NF} {p=$NF}' file as it is very clean.

Thank you, Scrutinizer.
1,392
Posted By port43
Thank you, Rudi!
Thank you, Rudi!
1,392
Posted By port43
awk with if, getline, and another if
Howdy Folks,
It seems like it is always awk that confuses the heck out of me and I even have books and examples.

I have this line:
awk '{if (/clientIP/)(SRV = $NF); if ($2 ~ /BUNDLE-GIM/)...
2,161
Posted By port43
Thank you for taking the time to dissect that and...
Thank you for taking the time to dissect that and notice it, bakunin. I was assuming a 1:1 and, well, assume...

In past positions I always tried to make sure everything was split/mirrored 1:1 to...
2,161
Posted By port43
Thank you all for clearing this up for me. Old...
Thank you all for clearing this up for me. Old habits die hard.
2,161
Posted By port43
Bash variable assignment failure/unary operator expected
I have a little code block (executing on AIX 7.1) that I cannot understand why the NOTFREE=0 does not appear to be assigned even though it goes through that block. This causes a unary operator...
1,580
Posted By port43
you are correct so I edited it.
you are correct so I edited it.
1,580
Posted By port43
awk '{print (substr($0,52,5) - substr($0,59,4)) /...
awk '{print (substr($0,52,5) - substr($0,59,4)) / 100}' <yourfile>
Forum: HP-UX 08-31-2015
4,557
Posted By port43
This was a misunderstanding on my part. I was...
This was a misunderstanding on my part. I was under the assumption that cstm queried the system and generated its output at that time. This is not true.

When the status of a device changes, a...
Forum: HP-UX 08-31-2015
4,557
Posted By port43
The GSP shows, correctly, that slot 1 is "Normal"...
The GSP shows, correctly, that slot 1 is "Normal" because the power supply has been replaced. Resetting the GSP with that command did nothing for the status in cstm which shows "component failed"...
Forum: HP-UX 08-31-2015
4,557
Posted By port43
Sorry I left that out; you are correct, it is a...
Sorry I left that out; you are correct, it is a very old HP-UX B.11.11 U 9000/800
Forum: HP-UX 08-31-2015
4,557
Posted By port43
Cstm and gsp conflict on power status
Hello all,
I have a case where the power supply in slot 1 was replaced last week as it had failed. Prior to that it was showing failed in cstm:
Cabinet 0 Hardware Inventory:
Component ...
2,765
Posted By port43
Makes perfect sense; thank you!
Makes perfect sense; thank you!
2,765
Posted By port43
ksh while read issue
Hello,
I have used a chunk of ksh script similar to this in many places without any issue:

while :
do
print;
read OPTION?"Enter a number (q to quit): "
expr...
Forum: HP-UX 06-12-2014
7,232
Posted By port43
In an amazing display of Murphy's Law, this is no...
In an amazing display of Murphy's Law, this is no longer an issue as the site took a power hit last night and the server is fried. And no, I was nowhere near it.
Forum: HP-UX 06-11-2014
7,232
Posted By port43
So, I decided to unmirror everything and...
So, I decided to unmirror everything and reorganize the logical volumes since some of them were spread over disks on the same controller or mirrored onto the same physical volume.

I got it to...
Forum: HP-UX 06-11-2014
7,232
Posted By port43
I always use the HP doc ""When Good Disks Go...
I always use the HP doc ""When Good Disks Go Bad...
Forum: HP-UX 06-11-2014
7,232
Posted By port43
The pvdisplay is on the first page of this thread...
The pvdisplay is on the first page of this thread and looks fine to me, except for the one stale part.

I looked into the fact that it has a "strict" allocation policy and from what I glean from...
Forum: HP-UX 06-10-2014
7,232
Posted By port43
Ah, yes, there are three disks in use on each...
Ah, yes, there are three disks in use on each controller. Whoever initially set this up wasn't thinking and didn't keep the mirrors on distinct controllers since some volumes have data on both sides...
Forum: HP-UX 06-10-2014
7,232
Posted By port43
I inherited the server support and the people...
I inherited the server support and the people responsible for the initial setup are long gone so I do not know much of the history and the server is located in another part of the country where I...
Forum: HP-UX 06-10-2014
7,232
Posted By port43
What other information can I provide that would...
What other information can I provide that would help? I'll pass on any information I can.

This is an old N4000 and the disks are in a Jamaica enclosure. None of it is supported by HP anymore so...
Forum: HP-UX 06-10-2014
7,232
Posted By port43
@#%$ !! Thanks Corona688. ---------- Post...
@#%$ !! Thanks Corona688.

---------- Post updated 06-10-14 at 10:23 AM ---------- Previous update was 06-09-14 at 01:04 PM ----------

After reducing the logical volume and reducing the volume...
Forum: HP-UX 06-09-2014
7,232
Posted By port43
Bypass stale PE ?
Hello,
I have an ancient HP-UX 11.11 system where I have a logical volume marked stale and I can't get it sync'd. I have tried lvsync and lvreduce/lvextend to no avail. It is just one 4Mb PE on...
Forum: Linux 03-06-2014
2,138
Posted By port43
I think the reason it is failing is because the...
I think the reason it is failing is because the directory string is enclosed in double quotes in the variable CMD_LINE and it has to do with the way the shell sees this when you try to execute it as...
Forum: Linux 03-06-2014
2,138
Posted By port43
The first thing I would do is take the double...
The first thing I would do is take the double quotes off of the contents of $SH_FILE:
export OMP_NUM_THREADS=1;
cd /cadhome/analysis/username/lms_example1/...
Showing results 1 to 25 of 70

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