Search Results

Search: Posts Made By: gray380
2,021
Posted By gray380
bump ;) I found out how to create array in...
bump ;)

I found out how to create array in which indices are uniqe combination of two fields and value is intersecting of these field, f.e.:

array[$NF, $1] = $2

But I stuck how to print it...
2,021
Posted By gray380
Parsing file: preparing data for charts (gnuplot, calc,...)
Hi there,

I have files (tsv) like this:

CTLPort IO Rate(IOPS) Read Hit(%) Write Hit(%) Timestamp
0A 136 97 100 09:36:48
0B 3 100 100 09:36:48
0C 88 35 100 09:36:48
0A 87 100 100 ...
2,485
Posted By gray380
Okay. About my second task (fields merging). If...
Okay. About my second task (fields merging). If number of fields is known value then it's easy:


awk 'BEGIN {FS="\t"; OFS="\t"} {print $1$2, $3, $4, $5, $6, $7, $8, $9, $10 }'


what is the...
2,485
Posted By gray380
regular expressions! of course! where was...
regular expressions! of course!
where was mind? ;)

going to manual page to learn what "1" after breket does mean

---------- Post updated 22-11-11 at 12:02 AM ---------- Previous update was...
2,485
Posted By gray380
Thanx a lot, but I forgot to mention that the...
Thanx a lot, but I forgot to mention that the "inputfile" is a result of my previous parsing other files in which I use 'awk' and 'csplit' and for further parsing I plan to use the same tools plus...
2,485
Posted By gray380
variable fixed-width fields
Hi there,


CTL Port IO Rate(IOPS) Read Rate(IOPS) Write Rate(IOPS) Read Hit(%) Write Hit(%) Trans. Rate(MB/S) Read Trans. Rate(MB/S) Write Trans. Rate(MB/S) 09:36:48
0 ...
Showing results 1 to 6 of 6

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