Java - Java application monitoring tools
jcmd: Prints basic class, thread, and VM information for a Java process Example) 1 2 3 4 5 6 7 8 % jcmd <process_id> VM.uptime % jcmd <process_id>...
jcmd: Prints basic class, thread, and VM information for a Java process Example) 1 2 3 4 5 6 7 8 % jcmd <process_id> VM.uptime % jcmd <process_id>...
Memory utilization 1 2 3 4 5 vmstat 1 [/cpde] Disk utilization [code lang="C"] iostat -xm 5 Network utilization tool 1 nicstat Network connection status 1 ...
Java 8 -XX:+PrintGCDetails -XX:+PrintReferenceGC -XX:+PrintTenuringDistribution -Xloggc: -XX:+PrintGCTimeStamps Java 9 -Xlog:gc* ,gc+ref=debug ,gc+...
1. Serial -XX:+UseSerialGC JVM 2. Parallel default 3. CMS(Current Markup Sweep) -XX:+USeParNewGC 4. G1 –XX:+UseG1GC Note: Java8 and G1 collector can optimize...
Parse example 1 2 3 4 5 6 7 DateTimeFormatterBuilder builder = new DateTimeFormatterBuilder(); DateTimeFormatter formatter = builder .parseCaseInsens...