2015-12-27 iOS DevelopmentFor every system administrator or network administrator, it is very difficult to monitor and debug Linux system performance issues every day. I've had 5 years of experience working with Linux administrators and know how to monitor the system to keep it running properly.To do this, we have written 20 command-line system monitoring tools that are useful and most commonly used by Linu
In addition to the integrated VISUALVM and Jconsole, the JDK itself provides performance tuning monitoring tools such as JPS, Jstack, Jmap, Jhat, and Jstat.In Java development, we sometimes encounter the following problems:OutOfMemoryError, Low memoryMemory leaksThread deadlockLock contention (lock contention)The Java process consumes too much CPU......These problems may be overlooked by many people in thei
Chapter 8 JVM performance monitoring and troubleshooting tools (2), jvm troubleshooting
Note: This blog is mainly recorded in "deep understanding of Java Virtual Machine (version 2)"
Note: For details about JVM performance monitoring and troubleshooting tools on the command line, see Chapter 7 JVM performance
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
BKJIA is just as important as monitoring network traffic and protecting data and computers. Understanding the most basic network fault diagnosis and troubleshooting skills helps you save time and costs. Each Linux release comes with a large number of command line tools to help you diagnose network problems. In addition, there are many open-source tools that can h
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
Log tools for monitoring CPU and memory
Linux Tools:
Download Address: Get_cpu_mem_info_sh.rar
How to use:
Download the file and upload it to the/tmp directory after decompression.
Run CD switch to/tmp directory.
Perform:
Nohup Bash get_cpu_mem_info.sh
The tool generates a log file in the/tmp directory that records the CPU and memory usage of the real-
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 monitor these subsystems with the
The simplest and most straightforward way to do this is to add the -vv parameter at the start of the memcached to print each client's request and corresponding at the console, which is ideal for development. Another straightforward way to do this is through Telnet, for example: If the server is a native 11211 port, you can usetelnet localhost 11211Log in, and then use stats to view the server status.In addition, the better choice is to use a number of specialized
state.
RUNNABLEA thread executing in the Java virtual machine was in this state.
BLOCKEDA thread that's blocked waiting for a monitor lock are in this state.
WAITINGA thread that's waiting indefinitely for another the thread to perform a particular action was in the this state.
TIMED_WAITINGA thread that's waiting for another the thread to perform an action for up to a specified waiting time was in this state.
TERMINATEDA thread that has exited is in the this state.
A
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
The following articles collect some common Oracle monitoring tools in Linux operating systems. The following articles mainly describe how to correctly use these tools to apply them, the following is a detailed description of the related tools. I hope this will help you in your future studies.
1. top
The top command dis
virtual machine, take a look at my tutorial-"How to install Debian under a VirtualBox VM".Top650) this.width=650; "class=" lazy "width=" 690 "height=" 513 "src=" http://static.webhek.com/techug-res/uploads/2015/ 09/aa213e02jw1eukofv14k7j20lo0g4jz1.jpg "style=" border:0px;vertical-align:middle;height:513px;margin-left:-70px ; "/>As one of the more easy-to-use Linux system monitoring tools, the top command t
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 further enhancements and optimizations, and dete
Install the cpu monitoring tool-Linux Enterprise Application-Linux server application for centos. For more information, see. Windows Hardware Detection tools and cpu monitoring tools are piled up, But linux is a little pitiful.
Lm_sensors is a very useful CPU monitoring too
Several website status monitoring tools
How do you know if your website is down? You can use the following online monitoring tools: Basic Information
Site
Check Interval (minutes)
Siteuptime
30
Site24x7
60
Hosttracker
30
Cloudmonitor
15
Mytop is a similar Linux under the Top command-style MySQL Monitoring Tools, Mytop Adopt Perl development. mytop can monitor MySQL 's current connection user and the commands being executed. Mytop the project page is: http://jeremy.zawodny.com/mysql/mytop/1. MytopinstallationWget-o/etc/yum.repos.d/epel.repo Http://mirrors.aliyun.com/repo/epel-6.repoyum-y Install mytop #epel Source2. MytopCommand Parameters
In addition to the integrated VISUALVM and Jconsole, the JVM also has small tools such as JPS, Jstack, Jmap, Jhat, Jstat, etc.Problems that may be encountered in development
OutOfMemoryError, Low memory
Memory leaks
Thread deadlock
Lock contention (lock contention)
The Java process consumes too much CPU
These problems may be overlooked by many people in their daily development (for example, some people encounter the probl
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.