Search Results

Search: Posts Made By: csmklee
2,373
Posted By csmklee
calculate diff in csv
I wrote a func to calculcate integers difference in csv.

getSegLatency() {
latencies=0$1
E2E=0`echo $2 | sed 's/\.000000//g'`
integer segLatency=0
set -A arr `echo $latencies | sed...
10,228
Posted By csmklee
Great Thanks!!!
Initially, we implemented the sed solution. It does work, but hang up in some of our hosts (occupying 99.9% of cpu time and drive no output) when the log file size when up to 100MB.

Then, we...
10,228
Posted By csmklee
any better way to remove line breaks
Hi,

I got some log files which print the whole xml message in separate lines:
e.g.
2008-10-01 14:21:44,561 INFO do something
2008-10-01 14:21:44,561 INFO print xml : <?xml version="1.0"...
Showing results 1 to 3 of 3

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