What is DODBA tools?DODBA Tools is a console-based remote monitoring tool that does not need to install any software on the local/remote system, it collects real-time performance status data of the operating system, MySQL, InnoDB in real time, and can generate doing log files to help you quickly understand/ Optimized s
program
Key code:
#include
2. Performance testing tools
In Linux:
Find.-Name "*. c" | xargs WC-lTime-execute commands and timing
Time find.-Name "*. c" | xargs WC-l // count the command execution time
Real 0m33. 748 sUser 0m0. 772 sSys 0m1. 044 s
1) Real Time: the elapsed time from command line execution to running termination;
2) User CPU time: the user CPU time spent on command execution completion,
A fully running Linux system consists of many subsystems (introduction, Cpu,memory,io,network, ...). ), monitoring and evaluating these subsystems is part of the performance monitoring. We often need macroscopic view of the whole system state, also need microscopic look at the operation of each subsystem. Fortunately, we don't have to reinvent the wheel to monito
swpd freeFrom the above data you can see the points:
Context Switch (CS) is much higher than interrupts (in), which means the kernel has to switch processes back and forth;
Further observation shows that system time (SY) is very high and user time (US) is low, plus a high-frequency context switch (CS), indicating that a large number of system calls are being invoked by the running application;
Run Queue (R) is above 14 threads, according to the hardware configuration of thi
There are many valid command-line tools in the Bin directory of the jdk, which are the encapsulation of the Jdk\lib\toos.jar class Library.first, jps: virtual machine process status tool, query out Lvmid.second, jstat: Virtual Machine Statistics monitoring tool,three, Jinfo:java Configuration Information toolView and adjust the parameters of a virtual machine in real Time.Iv. Jmap:java memory Image Tool: ge
indicator that can display system-wide delay type errors. It is the sum of memory\\pages input/sec and memory\\pages output/sec . is calculated using the number of pages, so that it can be compared with other page counts, such as memory\\page faults/sec , without having to do the conversion , which includes the file system cache to satisfy the error ( typically requested by the application The page is retrieved in a non-cached mapped memory file. Recommended indicatorsThis value should not exc
A fully running Linux system consists of many subsystems (introduction, Cpu,memory,io,network, ...). ), monitoring and evaluating these subsystems is part of the performance monitoring. We often need macroscopic view of the whole system state, also need microscopic look at the operation of each subsystem. Fortunately, we don't have to reinvent the wheel to monito
This article reads the reading notes for the deep understanding of Java Virtual Machine-JVM advanced features and best practices, and it organizes the performance monitoring and Troubleshooting section of the virtual machine.About the two parts of the guide map or hope that you can personally test the experience, there are a lot of articles on the Internet, here are excerpts from several individuals think g
The monitoring server is a critical part of server management. By using the appropriate monitoring tools, you can detect server problems, evaluate the results of changes to site content, and plan upgrades to facilitate user access to the site. Select the appropriate monitoring tool
"Turn" original source: ? tecmint-kuldeep Sharma??? Translation Source: Linux story- cold weather ??? Welcome to share the original to Bó Lè headlines in terms of monitoring system resources, system performance, and usage activity, Sysstat is indeed a handy tool. Sysstat packages are used more or less in our everyday basic tools . It also provides a tool th
The JDK provides us with a range of JVM performance monitoring and troubleshooting tools, which are documented here based on learning progress. Easy to read later1.JPS Virtual Machine Process ToolSimilar to the PS command in Linux systems for viewing virtual machine processes, the following features are commonly usedJps-l Show virtual machine process ID and proce
: Number of bytes sent per secondRXCMP/S: Compressed packets received per secondTXCMP/S: Compressed packets sent per secondRXMCST/S: Multicast packets received per secondb) Sar-n Edev 2 10Linux 2.6.18-53.el5pae (Localhost.localdomain) 03/29/200901:42:18 AM IFACE rxerr/s txerr/s coll/s rxdrop/s txdrop/s txcarr/s rxfram/s rxfifo/s txfifo/s01:42:20 AM Lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.0001:42:20 AM eth1 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.0001:42:20 AM sit0 0.00 0.00 0.00 0.00 0.00
Before you start
About this series
Writing code for an application is just the first phase of a lengthy process required to deliver a robust product quality program. The code must be tested to verify its operation and accuracy. It is also often necessary to analyze the code to eliminate performance bottlenecks and resource waste (especially memory). Code must also be monitored to locate faults, identify usage patterns, look for opportunities for fur
Linux performance monitoring, testing, and optimization tools
There are a lot of performance tools on the Linux platform, dazzled, long-term exploration and experience found that the best to use is those long-tested, simple gadgets. System
There are a lot of performance tools on the Linux platform, a dazzling, long-term groping and experience finding the best thing to use is the proven, simple gadgets. Brendan D. Gregg, a system performance expert, updated his famous talk (Linux performance Tools) and slides o
, generate a memory dump snapshot (heapdump file) of the virtual machine.5) JHAT:JVM Heap Dump Browser, which parses the Headdump file, establishes a http/html server that allows the user to view the results of the analysis on the browser6) Jstack:stack Trace for Java to generate a thread snapshot of the current moment of the virtual machine2. Visualization Tools1. Jconsle2. JVISULAVMRemote connection needs to be set for Java opt to use, see: http://www.cnblogs.com/Jtianlin/p/5021540.htmlJVM (4)
.
Vmid [Protocol:][//]lvmid[@hostname [:p Ort]/servername]
Interval: Query interval
Count: Number of times
Option: Represents the virtual machine information to query mainly three classes of class load, garbage collection, run-time compilation state
JSTAT-GC 2764 250 20 per 250ms query process 2764 garbage collection situation.
Common options
Jinfo Java configuration information
Format: jinfo [option] pid
The Windows platform has only the
A practical perspective on the world of Virtual machine memory management.First, the command-line tools of the JDKThe 1.JPS (JVM process Status tool) virtual machine processes health tools.Displays all of the hotspot virtual machine processes in the development system.Functionality is single, but most other JDK tools need to enter the Lvmid it queries to determine which virtual machine process to monitor. F
large, you may need to add-j-xmx512m This parameter specifies the maximum heap memory, which is jhat-j-xmx512m-port9998/tmp/dump.dat. Then you can enter the host address in the browser: 9998 viewed:4. Jstat (JVM Statistical monitoring tool)Jstat [generaloption | outputoptions vmid[interval[s|ms] [count]]Vmid is the Java Virtual machine ID, which is generally the process ID on the Linux/unix system. Interval is the sampling time interval. Count is the
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.