Some % of Garbage Collection


 
Thread Tools Search this Thread
Top Forums UNIX for Beginners Questions & Answers Some % of Garbage Collection
# 1  
Old 06-13-2019
Some % of Garbage Collection

I need to write a python script that will
look at the local gc logs.
Code:
6 sys=0.00, real=0.06 secs]
2019-06-05T07:43:12.029-0500: 1072696.494: [Full GC (Ergonomics) [PSYoungGen: 12146K->0K(1368064K)] [ParOldGen: 2791209K->1995953K(2796544K)] 2803355K->1995953K(4164608K), [Metaspace: 747282K->742139K(1763328K)], 3.0299555 secs] [Times: user=9.22 sys=0.00, real=3.03 secs]
2019-06-05T07:43:17.149-0500: 1072701.614: [GC (Allocation Failure) [PSYoungGen: 1338368K->12240K(1371136K)] 3334321K->2008193K(4167680K), 0.0328488 secs] [Times: user=0.1

That will calculate the garbage collection % of full - like it's 99% full, checking every 5 minutes or something to see if it's increased?
Not sure on approach?
# 2  
Old 06-14-2019
Please find some info below I cut-and-pasted from the forum rules / guidelines:
  • Additional helpful guidelines for all posters (for better, faster replies to questions):
  • (A) Include as many pertinent details as possible in your post. Useful information usually includes: Vendor and version of hardware or software you are using, hardware platform, kernel version (if applicable).
  • (B) Use [code] tags when you post any code or data samples so others can easily read your code. You can easily do this by highlighting your code and then clicking on the # in the editing menu. (You can also type code tags [code] and [/code] by hand.)
  • (C) For hardware related questions include model name/number of any affected components. For software issues, indicate which commands you are issuing and any error messages if applicable. Accuracy is important -- copy and paste if possible.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Programming

Boehm garbage collector for C

is anybody out there experienced with the boehm gc? this is a very simple function: int fn1(){ int *p = (int *) GC_MALLOC(sizeof(int *)); return 0; }after leaving fn1() gc should free p. *** now another example: int* fn2(){ int* p= (int *) GC_MALLOC(sizeof(int... (1 Reply)
Discussion started by: dodona
1 Replies

2. Shell Programming and Scripting

Garbage value

I write a program to find a palindromic region in given sequences. but it dosen't seems to be run well. please give me your suggestions INPUT: AGCTAGCTCGAAGGTAG code is here #!/usr/bin/perl #Palindromic sequence print "enter the sequence:\n"; $rna = <STDIN>; chomp $rna; ... (3 Replies)
Discussion started by: sujit_singh
3 Replies

3. Programming

strcat outputs garbage

Anyone have any ideas why when using strcat function I would get some garbage at the beginning of the output string? what I'm doing is something like the following example. Code: char temp; char tempHolder; for(int i=0;i<something;i++){ sprintf(temp,"%u ", someVariable);... (2 Replies)
Discussion started by: airon23bball
2 Replies

4. UNIX for Dummies Questions & Answers

garbage collection not reflected in the nmon

i have my application running on AIX box (configuration given below) My application does garbage collection pretty well, as such the memory free shows 500 MB - 700 MB freed up in the log statements printed in the application, but the nmon shows the physical space going upwards and does not reflect... (1 Reply)
Discussion started by: mahesh_sivan
1 Replies

5. Filesystems, Disks and Memory

garbage collection not reflected in the nmon

i have my application running on AIX box (configuration given below) My application does garbage collection pretty well, as such the memory free shows 500 MB - 700 MB freed up in the log statements printed in the application, but the nmon shows the physical space going upwards and does not reflect... (1 Reply)
Discussion started by: mahesh_sivan
1 Replies

6. AIX

garbage collection not reflected in the nmon

i have my application running on AIX box (configuration given below) My application does garbage collection pretty well, as such the memory free shows 500 MB - 700 MB freed up in the log statements printed in the application, but the nmon shows the physical space going upwards and does not reflect... (0 Replies)
Discussion started by: mahesh_sivan
0 Replies

7. Shell Programming and Scripting

Remove Garbage Output

Hello Friends, In a script i m using different temporary file and i remove them in the end. During script execution i have some garbage output which is not required. For example: Garbage Output ++ rm temp_out temp_a temp_b temp_c ++ rm Filter1 Filter2 Script : Even i am redirecting rm... (7 Replies)
Discussion started by: Danish Shakil
7 Replies

8. Shell Programming and Scripting

Removing Garbage output

I am using following code to read myfile.ddl line by line. But the thing is it is printing lot of garbage which are the names of the files and directories in which myfile.ddl is present. Kindly refine the code so that only myfile.ddl contents are only read LOGFILE="logfile.txt"... (4 Replies)
Discussion started by: skyineyes
4 Replies

9. UNIX for Dummies Questions & Answers

Garbage characters in display

:confused: I recently left managment and came back to AIX administration. So I am a bit rusty to say the least. The issue I am having is with the term settings when I either simply telnet to my AIX unit or even when I use an emulator like puTTY or a VAR provided one. Once I am logged into... (0 Replies)
Discussion started by: Haleja001
0 Replies
Login or Register to Ask a Question