Learn about microservice performance monitoring, we have the largest and most updated microservice performance monitoring information on alibabacloud.com
Java virtual machine performance monitoring and troubleshooting tools, virtual machine troubleshooting
1. jdk command line tool
1) jps: Virtual Machine Process status Tool
Jps [option] [hostid]
Main parameters:
2) jstat: Virtual Machine statistics monitoring tool
Jstat-
Main parameters:
For example, if the gc information of process 8675 is queried twice every 8
:\zabbix_agentd.conf--install2.3 Starting the Agent clientThe start command is as follows:C:\zabbix_agentd start2.4 Finally open the Control Panel, find the service, find the zabbix_agent, change to automatic startMonitoring item: CPU, memory is not said, plus TEM os windows template comes withMainly on the monitoring of the hard disk key, before the online check also did not find. In fact, it is very simple to monitor the C-drive.650) this.width=650;
1. QuestionsOutOfMemoryError: Insufficient memory;Memory leaksThread deadlockLock Competition (lock contention)Java consumes too much CPU2. Java Common Health ToolsJPS (Java Virtual Machine Process Status tool) monitors JVM process state informationUse format:JPS [Options] [HostID]-M: output parameters that pass in the Main method-L: Displays the fully qualified name of the main class or Jar-V: Displays the parameters specified for the JVM virtual machineJstack : View the thread stack informatio
to current time4. Test data is written to the CSV file and stored in the phone5, can choose to open the floating window function, floating window real-time display of the measured application occupancy performance data information6, in the floating window can quickly start or turn off the phone's WiFi network002.pngTwo tools more similar function, the latter one more traffic monitoring, the advantage is on
1. Open JprofilerThe default is to start the Quick window "or use the menu Session→start Center" to openLocal Java programs are monitored here, so theMain interface2. Viewing the Monitoring interfaceYou can then view the amount of Instance count instance data and size, etc.You can also view the heap and other information by mailSee Example: http://www.cnblogs.com/langtianya/p/3172180.htmljava-jprofiler-performance
Real-time monitoring commands, watch is a very useful command, can help you to monitor the results of a command in real time, save the manual run over and over again. The two most common options for this command are-D and-N, where-n indicates how many seconds interval is executed "command", and-D indicates where the highlight has changed.Examples of usage:1) Execute the WHO command once every second to monitor the status of the server's current user l
courier START process, but they do not belong to the user ZahnLsof-p30297 //show those files are turned on by the PID 30297 processLSOF-D/tmp shows all theThe tmp folder opens the process for instance and files. But the symbol file is not listed lsof-u1000//View the file usage of the user's process UID is 100Lsof-utony//view file Usage for user Tony's processLsof-u^tony//view file Usage for processes that are not user Tony (^ is inverse meaning)Lsof-i//Show all open portsLsof-i: the //Show all
--------------------------------------------------------------------------------------Note: ServerAgent boot to rely on JDK Oh, JDK installation process slightly ( install a Linux version of the JDK, first of all, to view the Linux operating system information to facilitate the download of the appropriate JDK version )installation configuration JDK environment variables encountered problems: With the vi edit configuration file/etc profile, save always prompt is rejected, and then use sudo vi pro
View I/O:1, TopUs:is meaning of "user CPU time"Sy:is meaning of "system CPU Time"Ni:is meaning of "nice CPU time"Id:is Meaning of "idle"Wa:is meaning of "iowait"Hi:is meaning of "hardware IRQ"Si:is meaning of "software IRQ"St:is meaning of "steal time"The Chinese translation is:US user space consumes CPU percentSY kernel space consumes CPU percentageCPU percentage of processes that have changed priority in NI user process spaceID Idle CPU percentWA waits the percentage of CPU time for input and
MongoDB comes with a web interface monitor.Configuration is simple, only need to add parameters at boot time:--httpinterface or write httpinterface=true to the configuration file to restart. Enter in the browser: Ip:mongodb port number +1000 For example, the database port is 20011, the monitoring page is: ip:21011/export/mongodb/bin/mongod-f/export/mongodb/conf/mongod.conf--httpinterfaceYou can also add a--rest parameter. can see more parameters/expor
1. Display Server Status: Db.serverstatus () 2. MongoDB can monitor data through profile to optimize it.
Check whether the profile function is currently turned on: Db.getprofilinglevel () returns level, value 0|1|2, meaning: 0 for off, 1 for slow command, 2 for all
Open profile function: Db.setprofilinglevel (level,slowms); #level等级. At level 1 o'clock, the slow command defaults to SLOWMS (unit ms)(that is, execution time is greater than slowms for slow commands).
View the curr
added nDo not add nnTcpdump-nn-c 10-w 1.cap only catch 10 packets and save to 1.cap file, 1.cap is not cat'sIf you want to view 1.cap to use the commandTcpdump-r/tmp/1.capTshark needs to be installedRemember this command, check the network card capture specific information, you can clearly see what time there is what IP visited the site, access to the site of what linksTshark-n-T a-r http.request-t fields-e "Frame.time"-E "ip.src"-E "http.host"-E "Http.request.method"-E "http.requ Est.uri "Exte
Linux performance testing and monitoring sar commands
Sar (System Activity Reporter System Activity Report) is one of the most comprehensive System performance analysis tools on Linux. It can report System activities from multiple parties, including: file read/write, system call usage, disk I/O, CPU efficiency, memory usage, process activity, and IPC-related acti
request processing to different controllers. Similarly, Struts Actionservlet is delegated to the Action subclass that acts as a controller.
In the second part of the article exploring performance monitoring with AspectJ, I extended the Glassbox Inspector to provide more meaningful information about application performance by adding monitors. These monitors trac
Now, in addition to new jobs, I have basically been dealing with servers, and it takes a short time to develop front-end services.
Currently, the company's performance monitoring and testing: Xhprof and AB testing
Xhprof-facebook's open-source, lightweight PHP performance analysis tool: includes the number of function calls, the time spent (the time spent and t
Php performance monitoring module XHProf
1. What is XHProf?
XHProf is a hierarchical PHP performance analysis tool. It reports the number of requests and various metrics at the function level, including the blocking time, CPU time, and memory usage. The overhead of a function can be subdivided into the overhead of callers and callers. In the XHProf data collectio
Performance statistics, such as memory CPU process information, have long been written, but have not tried to graphically visualize their data through the interface.One is that you are unfamiliar with the interface and have been learning about other aspects.Just recently saw a good code on the CodeProject website and decided to try to use his code to try to visualize system performance data.Graph Code for C
Shanghai Tian Dan Solution-City Farm business performance monitoring SolutionsShanghai Tian Dan BPC Business Performance monitoring solution, help City firm with controllable input to establish flexible and open business operation and maintenance system, and support the city firm to carry out financial innovation based
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.