05-19-2011
Hi Ahamed,
Please find the sample data from the lof file
Quote:
<?xml version="1.0" ?>
<verbosegc version="200811_07">
************ Start Display Current Environment ************
Log file started at: [10/27/10 7:12:50:640 GMT]
************* End Display Current Environment *************
<af type="tenured" id="1" timestamp="Nov 15 22:55:30 2010" intervalms="0.000">
<minimum requested_bytes="80" />
<time exclusiveaccessms="0.025" />
<tenured freebytes="93952000" totalbytes="1879048192" percent="4" >
<soa freebytes="0" totalbytes="1785096192" percent="0" />
<loa freebytes="93952000" totalbytes="93952000" percent="100" />
</tenured>
<gc type="global" id="1" totalid="1" intervalms="0.000">
<classloadersunloaded count="4" timetakenms="74.752" />
<refs_cleared soft="361" threshold="32" weak="1475" phantom="0" />
<finalization objectsqueued="679559" />
<timesms mark="229.402" sweep="5.824" compact="0.000" total="311.549" />
<tenured freebytes="1540577312" totalbytes="1879048192" percent="81" >
<soa freebytes="1446625312" totalbytes="1785096192" percent="81" />
<loa freebytes="93952000" totalbytes="93952000" percent="100" />
</tenured>
</gc>
<tenured freebytes="1540576416" totalbytes="1879048192" percent="81" >
<soa freebytes="1446624416" totalbytes="1785096192" percent="81" />
<loa freebytes="93952000" totalbytes="93952000" percent="100" />
</tenured>
<time totalms="314.244" />
</af>
<?xml version="1.0" ?>
<verbosegc version="200811_07">
************ Start Display Current Environment ************
Log file started at: [11/26/10 4:23:17:674 GMT]
************* End Display Current Environment *************
</verbosegc>
<?xml version="1.0" ?>
<verbosegc version="200811_07">
log4j:WARN [log4j.configDebug] is deprecated. Use [log4j.debug] instead.
************ Start Display Current Environment ************
Log file started at: [12/1/10 7:27:37:925 GMT]
************* End Display Current Environment *************
<af type="tenured" id="1" timestamp="Dec 01 21:14:42 2010" intervalms="0.000">
<minimum requested_bytes="48" />
<time exclusiveaccessms="0.022" />
<tenured freebytes="93952000" totalbytes="1879048192" percent="4" >
<soa freebytes="0" totalbytes="1785096192" percent="0" />
<loa freebytes="93952000" totalbytes="93952000" percent="100" />
</tenured>
<gc type="global" id="1" totalid="1" intervalms="0.000">
<classloadersunloaded count="12" timetakenms="47.053" />
<refs_cleared soft="393" threshold="32" weak="2487" phantom="0" />
<finalization objectsqueued="20322" />
<timesms mark="44.634" sweep="6.555" compact="0.000" total="98.408" />
<tenured freebytes="1837688976" totalbytes="1879048192" percent="97" >
<soa freebytes="1743736976" totalbytes="1785096192" percent="97" />
<loa freebytes="93952000" totalbytes="93952000" percent="100" />
</tenured>
</gc>
<tenured freebytes="1837688072" totalbytes="1879048192" percent="97" >
<soa freebytes="1743736072" totalbytes="1785096192" percent="97" />
<loa freebytes="93952000" totalbytes="93952000" percent="100" />
</tenured>
<time totalms="98.611" />
</af>
<af type="tenured" id="2" timestamp="Dec 02 15:17:29 2010" intervalms="64967168.737">
<minimum requested_bytes="200" />
<time exclusiveaccessms="0.032" />
<tenured freebytes="93952000" totalbytes="1879048192" percent="4" >
<soa freebytes="0" totalbytes="1785096192" percent="0" />
<loa freebytes="93952000" totalbytes="93952000" percent="100" />
</tenured>
<gc type="global" id="2" totalid="2" intervalms="64967168.943">
<classloadersunloaded count="9" timetakenms="41.615" />
<refs_cleared soft="0" threshold="32" weak="3" phantom="0" />
<finalization objectsqueued="26024" />
<timesms mark="36.866" sweep="5.572" compact="0.000" total="84.225" />
<tenured freebytes="1835536744" totalbytes="1879048192" percent="97" >
<soa freebytes="1741584744" totalbytes="1785096192" percent="97" />
<loa freebytes="93952000" totalbytes="93952000" percent="100" />
</tenured>
</gc>
<tenured freebytes="1835535840" totalbytes="1879048192" percent="97" >
<soa freebytes="1741583840" totalbytes="1785096192" percent="97" />
<loa freebytes="93952000" totalbytes="93952000" percent="100" />
</tenured>
<time totalms="84.461" />
</af>
<af type="tenured" id="3" timestamp="Dec 03 09:18:55 2010" intervalms="64885769.755">
<minimum requested_bytes="200" />
<time exclusiveaccessms="0.022" />
<tenured freebytes="93952000" totalbytes="1879048192" percent="4" >
<soa freebytes="0" totalbytes="1785096192" percent="0" />
<loa freebytes="93952000" totalbytes="93952000" percent="100" />
</tenured>
<gc type="global" id="3" totalid="3" intervalms="64885769.920">
<classloadersunloaded count="10" timetakenms="45.009" />
<refs_cleared soft="0" threshold="32" weak="6" phantom="0" />
<finalization objectsqueued="25992" />
<timesms mark="37.044" sweep="5.616" compact="0.000" total="87.835" />
<tenured freebytes="1835551552" totalbytes="1879048192" percent="97" >
<soa freebytes="1741599552" totalbytes="1785096192" percent="97" />
<loa freebytes="93952000" totalbytes="93952000" percent="100" />
</tenured>
</gc>
<tenured freebytes="1835550648" totalbytes="1879048192" percent="97" >
<soa freebytes="1741598648" totalbytes="1785096192" percent="97" />
<loa freebytes="93952000" totalbytes="93952000" percent="100" />
</tenured>
<time totalms="88.022" />
</af>
<af type="tenured" id="4" timestamp="Dec 04 03:20:35 2010" intervalms="64900049.085">
<minimum requested_bytes="80" />
<time exclusiveaccessms="0.022" />
<tenured freebytes="93952000" totalbytes="1879048192" percent="4" >
<soa freebytes="0" totalbytes="1785096192" percent="0" />
<loa freebytes="93952000" totalbytes="93952000" percent="100" />
</tenured>
<gc type="global" id="4" totalid="4" intervalms="64900049.279">
<classloadersunloaded count="8" timetakenms="38.021" />
<refs_cleared soft="0" threshold="32" weak="3" phantom="0" />
<finalization objectsqueued="25998" />
<timesms mark="36.790" sweep="5.527" compact="0.000" total="80.503" />
<tenured freebytes="1835518208" totalbytes="1879048192" percent="97" >
<soa freebytes="1741566208" totalbytes="1785096192" percent="97" />
<loa freebytes="93952000" totalbytes="93952000" percent="100" />
</tenured>
</gc>
<tenured freebytes="1835517304" totalbytes="1879048192" percent="97" >
<soa freebytes="1741565304" totalbytes="1785096192" percent="97" />
<loa freebytes="93952000" totalbytes="93952000" percent="100" />
</tenured>
<time totalms="80.720" />
</af>
<af type="tenured" id="5" timestamp="Dec 04 21:22:04 2010" intervalms="64888700.530">
<minimum requested_bytes="80" />
<time exclusiveaccessms="0.023" />
<tenured freebytes="93952000" totalbytes="1879048192" percent="4" >
<soa freebytes="0" totalbytes="1785096192" percent="0" />
<loa freebytes="93952000" totalbytes="93952000" percent="100" />
</tenured>
<gc type="global" id="5" totalid="5" intervalms="64888700.703">
<classloadersunloaded count="10" timetakenms="39.908" />
<refs_cleared soft="0" threshold="32" weak="6" phantom="0" />
<finalization objectsqueued="25990" />
<timesms mark="36.152" sweep="5.605" compact="0.000" total="81.829" />
<tenured freebytes="1835509608" totalbytes="1879048192" percent="97" >
<soa freebytes="1760348008" totalbytes="1803886592" percent="97" />
<loa freebytes="75161600" totalbytes="75161600" percent="100" />
</tenured>
</gc>
<tenured freebytes="1835508704" totalbytes="1879048192" percent="97" >
<soa freebytes="1760347104" totalbytes="1803886592" percent="97" />
<loa freebytes="75161600" totalbytes="75161600" percent="100" />
</tenured>
<time totalms="82.025" />
</af>
<af type="tenured" id="6" timestamp="Dec 05 15:35:11 2010" intervalms="65586596.415">
<minimum requested_bytes="80" />
<time exclusiveaccessms="0.024" />
<tenured freebytes="75161600" totalbytes="1879048192" percent="3" >
<soa freebytes="0" totalbytes="1803886592" percent="0" />
<loa freebytes="75161600" totalbytes="75161600" percent="100" />
</tenured>
<gc type="global" id="6" totalid="6" intervalms="65586596.587">
<classloadersunloaded count="10" timetakenms="36.938" />
<refs_cleared soft="0" threshold="32" weak="3" phantom="0" />
<finalization objectsqueued="26273" />
<timesms mark="36.522" sweep="5.575" compact="0.000" total="79.200" />
<tenured freebytes="1835368576" totalbytes="1879048192" percent="97" >
<soa freebytes="1778997376" totalbytes="1822676992" percent="97" />
<loa freebytes="56371200" totalbytes="56371200" percent="100" />
</tenured>
</gc>
<tenured freebytes="1835367672" totalbytes="1879048192" percent="97" >
<soa freebytes="1778996472" totalbytes="1822676992" percent="97" />
<loa freebytes="56371200" totalbytes="56371200" percent="100" />
</tenured>
<time totalms="79.396" />
</af>
---------- Post updated at 12:27 PM ---------- Previous update was at 12:17 PM ----------
Expected result from the above sample data
Quote:
hostname, gc type, datetime, duration, location, intervalms, percent
tkdp2csmftp50, af, Nov 15 22:55:30 2010, .314244, PJPETLbatch, 0, 81
tkdp2csmftp50, af, Dec 01 21:14:42 2010, .098611, PJPETLbatch, 0, 97
tkdp2csmftp50, af, Dec 02 15:17:29 2010, .084461, PJPETLbatch, 64967.2, 97
tkdp2csmftp50, af, Dec 03 09:18:55 2010, .088022, PJPETLbatch, 64885.8, 97
tkdp2csmftp50, af, Dec 04 03:20:35 2010, .080720, PJPETLbatch, 64900, 97
tkdp2csmftp50, af, Dec 04 21:22:04 2010, .082025, PJPETLbatch, 64888.7, 97
tkdp2csmftp50, af, Dec 05 15:35:11 2010, .079396, PJPETLbatch, 65586.6, 97
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello All,
I have a file whose data looks something like this
I want to extract just the id, name and city fields in a csv format and sort them by id. Output should look like this.
1,psi,zzz
2,beta,pqr
3,theta,xyz
4,alpha,abc
5,gamma,jkl (12 Replies)
Discussion started by: grajp002
12 Replies
2. UNIX for Dummies Questions & Answers
Hi all,
I need to extract lines between the lines 'RD' and 'QA' from a text file (following). there are more that one of such pattern in the file and I need to extract all of them. however, the number of lines between them is varied in the file. Therefore, I can not just use 'grep -A' command.... (6 Replies)
Discussion started by: johnshembb
6 Replies
3. UNIX for Dummies Questions & Answers
I want to search files (basically .cc files) in /xx folder and subfolders.
Those files (*.cc files) must contain #include "header.h" AND x() function.
I am writing it another way to make it clear,
I wanna list of *.cc files that have 'header.h' & 'x()'. They must have two strings, header.h... (2 Replies)
Discussion started by: ritikaSharma
2 Replies
4. Shell Programming and Scripting
input file
Desired csv output
gc_type, date/time, milli secs
af, Mar 17 13:09:04 2011, 144.596
af, Mar 20 00:37:37 2011, 144.242
af, ar 20 21:30:59 2011, 108.518
Hi All,
Any help in acheiving the above would be appreciated. I would like to parse through lines within one file and... (5 Replies)
Discussion started by: satish.vampire
5 Replies
5. Shell Programming and Scripting
Hello everyone,
ive been trying to replace a string "kw01" in an xml file with the contents of a txt file having multiple lines. im a unix newbie and all the sed combinations i tried resulted to being garbled. Below is the contents of the txt file:
RAISEDATTIME
--------------------... (13 Replies)
Discussion started by: 4dirk1
13 Replies
6. Shell Programming and Scripting
Hi Fellows,
I have been struggling to fix an issue in csv records to compose sql statements and have been really losing sleep over it. Here is the problem:
I have csv files in the following pipe-delimited format:
Column1|Column2|Column3|Column4|NEWLINE
Address Type|some descriptive... (4 Replies)
Discussion started by: khayal
4 Replies
7. Shell Programming and Scripting
I am trying to extract multiple strings from snmp-mib files like below.
-----
$ cat IF-MIB.mib
<snip>
linkDown NOTIFICATION-TYPE
OBJECTS { ifIndex, ifAdminStatus, ifOperStatus }
STATUS current
DESCRIPTION
"A linkDown trap signifies that the SNMP entity, acting in... (5 Replies)
Discussion started by: genzo
5 Replies
8. Shell Programming and Scripting
I have a file that has some lines starts with *
I want to get these lines, then get the word between "diac" and "lex".
ex.
file:
;;WORD AlAx
*0.942490 diac:Al>ax lex:>ax_1 bw:Al/DET+>ax/NOUN+ gloss:brother pos:noun prc3:0 prc2:0 prc1:0 prc0:Al_det per:na asp:na vox:na mod:na gen:m num:s... (4 Replies)
Discussion started by: Viernes
4 Replies
9. Shell Programming and Scripting
Hi
I have a txt file and I would like to use egrep without using -v option to exclude the lines which matches with multiple Strings.
Let's say I have some text in the txt file. The command should not fetch lines if they have strings something like
CAT MAT DAT
The command should fetch me... (4 Replies)
Discussion started by: Sathwik
4 Replies
10. Solaris
Hello,
I have spent considerable amount of time breaking my head on this and reached out here. here is the back ground.
OS - Solaris 10
There are two strings '<Orin>sop' and '<Dup>two' which I wanted to look for in a file without the quotes on different lines and ONLY if both strings are... (5 Replies)
Discussion started by: keithTait309875
5 Replies