Search Results

Search: Posts Made By: fsmik
4,332
Posted By fsmik
OK with a very small modification, it did succed...
OK with a very small modification, it did succed to get a good result.
sed should be modified to use empty line as a block seperator.

sed -n "/^Time,CPU/,/^$/P" input.log | grep -v "^Time" | grep...
4,332
Posted By fsmik
sorry, no I tried it, but it results in...
sorry, no

I tried it, but it results in nearly equal sized input file and output files.

ls -lrt input.log *.out
-rwxr--r-- 1 root 2001 178611404 Feb 14 07:50 input.log...
4,332
Posted By fsmik
Hi It is very fast, 15 sek for one 178 mb...
Hi

It is very fast, 15 sek for one 178 mb log file , but it does only list the first line for each block.

/fsmik
4,332
Posted By fsmik
Thanks, I have tested it on the small input.log...
Thanks, I have tested it on the small input.log file in this thread and it does work.

But when I do run it on a real file, it fails with below error
$ awk 'BEGIN{RS="";FS="\n"}
>...
4,332
Posted By fsmik
What Operating System and version do you have? ...
What Operating System and version do you have?
=> HP-UX 11.31, but it could also be executed on SuSe linux Version11.
What Shell are you using?
=> bourne shell
What is the runtime of the...
4,332
Posted By fsmik
format evaperf output
I want to split the blocks in the input.log file to one file per block type:

all blocks starting with
Time,Device,Path ID,Target ID,LUN,Product ID,Product Rev.,Ctlr,Serial,Hardware...
Showing results 1 to 6 of 6

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