Search Results

Search: Posts Made By: Joseph_TKLee
Forum: HP-UX 01-16-2013
5,050
Posted By Joseph_TKLee
I believe you know about Mirror. DRD is for...
I believe you know about Mirror.
DRD is for normally OS patching like Solaris Live Upgrade..
We can do OS patch on DRD on business hours and then just reboot from DRD disk to get a patched OS.
It...
1,809
Posted By Joseph_TKLee
Tested it successfully. cat input.txt | awk...
Tested it successfully.

cat input.txt | awk '{ if ( $2 ~ /T$/ ) Total+=substr($2,1,length($2)-1)*1000000; else if ( $2 ~/G$/ ) Total+=substr($2,1,length($2)-1)*1000; else...
1,316
Posted By Joseph_TKLee
awk '/^[A-Z]/ {print $0} /^[0-9]/ { for...
awk '/^[A-Z]/ {print $0} /^[0-9]/ { for (i=1;i<=NF;i=i+2) print $i,$(i+1) }' input.txt


Cheers,
Forum: Hardware 12-10-2012
1,624
Posted By Joseph_TKLee
I would say the controllers you are talking about...
I would say the controllers you are talking about might be on a disk storage which has normally 2 controllers on it.

Cheers,
24,106
Posted By Joseph_TKLee
From your log, I have made the commands below on...
From your log, I have made the commands below on Solaris OS.
# cat LOG | awk '{ for ( i=1;i<=NF;i++ ) Vword[$i]++ } END { for( WORD in Vword ) print WORD }' > word.tmp
# cat word.tmp | awk -F/...
1,029
Posted By Joseph_TKLee
awk '{ for (i=1; i <=NF; i++) if(substr($i,1,1)...
awk '{ for (i=1; i <=NF; i++) if(substr($i,1,1) == "V") print $i }' file_name


Cheers,
1,640
Posted By Joseph_TKLee
I have tested it below # ./test.sh aaaa ...
I have tested it below
# ./test.sh
aaaa
./test.sh: line 2: -e: command not found
NO SUCH FILE
# vi test.sh
# ./test.sh
asdfa
NO SUCH FILE
# cat test.sh
read file
if [ -e "$file" ]
then...
1,640
Posted By Joseph_TKLee
The following need to be modified. if (-e...
The following need to be modified.
if (-e "$file") ==> if [ -e $file ]

Cheers,
1,821
Posted By Joseph_TKLee
run the follows on your environment. ( not sure...
run the follows on your environment. ( not sure which one is correct $user or $USER in your environment)
# echo $user
# echo $USER
# w | grep $user | cut -c19-30

You will get an idea what it...
Forum: HP-UX 11-27-2012
11,106
Posted By Joseph_TKLee
I have had a quick look and found a few issue. ...
I have had a quick look and found a few issue.
You can't deactivate vg00 as this is a root VG neither import to vg00 on another server.
mknod /dev/vg00/group c 64 0x010000 => 0x000000 is right but...
Showing results 1 to 10 of 10

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