Search Results

Search: Posts Made By: kannan84
1,249
Posted By kannan84
list files command output
Hi All,

Below is the 2 different ouputs of the command "ls -lrt", my question is what exactly "total 0" & "total 8" means here ?

$ ls -rtl
total 0
-rw-r--r-- 1 oracle dba ...
1,210
Posted By kannan84
Thanks a lot Jay its working !!! Regards ...
Thanks a lot Jay its working !!!

Regards
Kannan
1,210
Posted By kannan84
To get the exact column data
Hi All,
I have a input file contains below data


crw-r--r-- 1 oracle dba 34, 10 Nov 26 11:50 asm_aue2cu_arch01
crw-r--r-- 1 oracle dba 34, 9 Dec 8 11:00...
2,889
Posted By kannan84
ahamed, Below command is perfectly working...
ahamed,

Below command is perfectly working !! Thanks a lot :)


awk 'NR==FNR{x[$5$6]=$NF;next} x[$5$6]{print x[$5$6],$NF}' asm.txt power.txt


somehow the rest of the codes are not...
2,889
Posted By kannan84
Amamed, Please find the debug output ...
Amamed,
Please find the debug output


$ sh -x script.sh

+ 0< asm.txt
+ read line
+ + echo crw-r--r-- 1 oracle dba 34, 3 Jun 21 20:06 /dev/asm_disk1
+ awk {print $5, $6, $10}
arr=34, 3...
2,889
Posted By kannan84
Ahamed, gawk is not installed in my AIX...
Ahamed,
gawk is not installed in my AIX machine, also i have tried your code line by line seems "$val" is not coming up. Pls find the output


cat asm.txt | while read line
> do
> ...
2,889
Posted By kannan84
Hi Ahamed, i am using AIX Regards ...
Hi Ahamed,

i am using AIX

Regards
Kamal
2,889
Posted By kannan84
dude2cool, Thanks for the reply "comma"...
dude2cool,
Thanks for the reply

"comma" is already there in the variable $mj. Below is the debug output. Problem is grepping the major & minor number from the hdiskpower lists



+ ls -l...
2,889
Posted By kannan84
Disk report generation problem
Hello everyone,

I have a list of inputs as below. My logic is to get the particular powerdisk which matches for ASM disk which means take the major & minor number of each asm disk and matches...
Showing results 1 to 9 of 9

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