Search Results

Search: Posts Made By: maddysa
3,032
Posted By maddysa
Thanks a lot ! yesterday I verified the same and...
Thanks a lot ! yesterday I verified the same and my file 2 has no LUN* ...edited file 2 accordingly and it worked. Thanks again!!

now have an issue like few SGNAme:assfdf has no LUN's under...
3,032
Posted By maddysa
This is the output I am getting all capacity 0. I...
This is the output I am getting all capacity 0. I dint understand if the awk is rading the values to A[i] and B[i] here...please help me undertsandging what exactly is being done here......
3,032
Posted By maddysa
I used awk to merge but , SGNAME if file 1 is...
I used awk to merge but , SGNAME if file 1 is not displayed ;total i want to do later...

awk 'FNR == NR { arr[$0]=$2; next }
{ $(NF+1)=($1 in arr) ? arr[$1] : " "; print }' file1 file2
i get...
3,032
Posted By maddysa
Merge 2 files and sum in ksh
file 1
SGNAME:dgfdhf
LUN 2
LUN 1
LUN 9
LUN 30
LUN 32
SGNAME:sadgddhdfab_cluster
LUN 13
LUN 11
LUN 15
SGNAME:asgdg (sgdg)
LUN 110
LUN 111
LUN 112
LUN 113
LUN 114
LUN 115
LUN 116...
1,025
Posted By maddysa
help in appending "0" a column
<<command>>|grep "^[0-9]"|sed 's/^/Dev /'|awk '{print $1" "$2}'|sort -u
gives output like below for a part of ksh script...
Dev 022
Dev 01A
Dev 1123
Dev 324
Dev 2345
Dev 024

I need to...
3,564
Posted By maddysa
Thanks all for the quick response. It worked.....
Thanks all for the quick response. It worked.. thanks a lot!
3,564
Posted By maddysa
Help with ksh script to display output with specific contents
This is Input - starts with Storage Group Name and ends with Shareable and the loop continues all I need is Storage group name and Alu numbers in the below output format requested.

Storage Group...
Showing results 1 to 7 of 7

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