This free Mac app is a product of tagtraum industries incorporated. Gcviewer for Mac belongs to System Tools. Overview 1, background description 1) Problems in the production environmentOur website provides a free download of gcviewer 1.32 for Mac. Source code (zip) Source code (tar.gz) Mar 14, 2013.I. Download gcviewer-1.33.jar. Chewiebug released this Oct 15, 2014.It can display running data such as type load, memory, garbage collection, jit compilation, etc. 2, jstat - View JVM statistics 1 OverviewJSTAT (JVM Statistics Monitoring Tool): Command line tools for monitoring various operating status information of the virtual machine. For example: -XMS20M -XMX50M is the JVM parameter specified by the starter.Description: The above parameters can be used in combination.If a Java process turns off the default Userfdata parameter (ie uses parameters) -XX:-UsePerfData), Then JPS commands (and JSTAT described below) will not detect the Java process.How to enter information into the same level file:Syntax: Command> File Name 2hostid parametersThe host name registered in the RMI registry.If you want to monitor the Java program on the host remotely, you need to install JSTATD.For network venues with more stringent security practices, you may use-a custom policy file to display access to a specific trusted host or network, although this technology is easily attacked by IP address.If the security problem cannot be handled using a custom policy file, the safest operation is not running the JSTATD server, but uses JSTAT and JPS tools locally. Nameless name, etc.-l: Output the entire class name of the application primary class or if the process is executed is a JAR package, then output JAR complete path-m: Parameters passing to main type main () when outputting a virtual machine process startup-v: Lists the JVM parameters when the virtual machine process is started. 4) memory occupationThe size of the Java pile area 5) Relationship between mutualThroughput: Data of vehicles through the highway toll station dailyAnd number of vehicles that are driving on the highwayResponse time: speed Second, JVM monitoring and diagnostic tools - command line 1, JPS-View the running Java process 1 OverviewJps: Explicitly specify all HotSpot virtual machine processes in the system (see virtual machine process information), which can be used to query the running virtual machine process.Note: For local virtual machine processes, the local virtual machine ID of the process is consistent with the process ID of the operating system, is unique.2) Basic syntax jps // by additional parameters, print additional information-q: Only the LVMID (Local Virtual Machine ID), the local virtual machine unique-ID. -XX:MaxGCPauseMillisThe measurement of the workload (request) completed within the unit time.In GC: Run the time of the user code accounts for the proportion of the total run time (total running time: the run time of the program + memory recycling time) The throughput is 1-1 / (1 + n), where -xx :: gctimeratio = NAt the same time, the number of requests for the server have actual interaction.
Gcviewer Mac App IsIncluding the capacity of the Eden area, two Survivor, senior, permanent, etc., the space, GC time, etc.-gccapacity: The display content is basically the same as -gc, but the output is mainly concerned with the maximum and minimum space for each area of Java piles.-gcutil: The display content is basically the same as -GC, but the output mainly pays attention to the percentage of space that has been used.-gccause: Like the -gcuti1 function, it will additionally result in the cause of the GC generated by the last-once or currently occurring.-gcnew: Show new generation GC conditions-gcnewcapacity: The display content is the same as the -gcnew, and the output is mainly focused on the maximum, minimum space.-gcoldcapacity: The display content is basically the same as -gcold, and the output is mainly focused on the maximum, minimum space.-gcpermcapacity: Shows the maximum, minimum space for permanent generation.-compiler: Shows the method of compiled JIT compiler, time-consuming information-PrintCompilation: Output method that has been compiled by JITS0C is the size of the first survivor area (bytes)S1C is the size of the second survivor area (bytes)S0U is the size of the first survivor area (bytes)S1U is the size of the second survivor area (bytes)MU is the size of the method area has been usedCCSC is the size of the compressed class spaceCCSU is the size of the compressed class spaceYGC is the number of times when you start from the application to the sampleYGCT means that young GC consume time (seconds) when starting from the application to samplingThe FGC is the number of times the Full GC is started from the application to the sampleThe FGCT is a Full GC consumption time (second) when it starts from the application to the sample.GCT is the total time of GC when starting from an application to sampling 2Interval parametersThe period for specifying the output statistics, in milliseconds. 2) Basic syntax jstat - ]Where VMID is the process ID number 1Option parametersOption Option can be constructed of the following values.-class: Shows relevant information about ClassLoader: The amount of loading, uninstall, total space, class load consumes, etc.-gc: Displays the pile information related to GC. Commonly used to test garbage collection issues and memory leaks. Telecharger patch pes 2009 tunisie pc gratuit3) SupplementJSTAT can also be used to determine if memory leaks have occurred.In a long-running Java program, we can run the JStat command to continuously obtain multi-line performance data, and take the minimum of the OU column (i.e., the senile memory) in these lines. Unit: secondsWe can compare the startup time of the Java process and the total GC time (GCT column), or two measured intervals and increments of the total GC time to derive the proportion of the run time of the GC time.If the ratio exceeds 20%, the pressure of the current stack is large if the proportion exceeds 90%, there is almost no space in the stack, and the 00M exception may be thrown at any time.We execute jstat -gc -t 13152 1000 10, which prints 1 line in 1 second, a total of 10 lines, and -t represents the TimeStamp total running time, as follows:When the periodic data is output, the output is output after outputting a header information.
0 Comments
Leave a Reply. |
AuthorRoderick ArchivesCategories |