Linux performance monitoring study notes www.2cto.com Linux performance monitoring is generally divided into these aspects: 1. CPU 2. Memory 3. IO 4. Network these four aspects are independent of each other but affect each other. Common performance
the program automatically creates a Slice.dat file in the current directory that contains the retransmission information every 15 seconds:# tcptrace-xslice network.dmp# cat slice.dat date segs bytes Rexsegs rexbytes n EW Active---------------------------------------------------------------16:58:50.244708 85055 4513418 0 0 6 616:59:05.244708 110921 5882896 0 0 0 216:59:20.244708 126107 6697827 0 0 1 316:59:35.244708 151719 8043597 0 0 0 216:59:50.2 44708 37296 1980557 0 0 0 317:0
Linux performance monitoring and analysis---CPUCPU Performance Metrics1. Percentage of CPU used by user processes2. System processes using CPU ratio3. WIO, the rate at which the CPU is idle while waiting for I/O.4. CPU Idle Rate5. Ratio of CPU for context switching6,nice7,real-time8, the length of the running process queue9, average loadThe
Network monitoring is the most complex in all Linux subsystems, with too many factors, such as latency, blocking, conflict, and packet loss, even worse, the routers, switches, and wireless signals connected to Linux hosts all affect the overall network and it is difficult to judge whether the problem is caused by the Linux network subsystem or other devices, monitoring and network judgment are the most comp
First, Nmon is a very good UNIX, Linux under the system performance monitoring tools.
Quoted by Baidu know:
The Nmon tool helps to display all of the important performance optimization information on one screen and dynamically updates it. This efficient tool can work on any dumb screen, Telnet s
ArticleDirectory
Htop
Iftop
Dstat
Original article link
In Linux, CPU, memory, and other system statuses can be viewed using the TOP command, or graphical tools such as gnome-system-monitor. However, if you want to know more detailed information, such as the process tree and the specific use of the network, these tools will be powerless. In this article, we will introduce several
Deep observation of Glassbox Inspector with AspectJ and JMX
Introduction: As Ron Bodkin describes how to synthesize the AspectJ and JMX groups in a flexible and modular manner, you can say goodbye to messy and tangled code. In the first part of this article, which is divided into two parts, Ron helps you build a monitoring system with the code and ideas from the Open-source project Glassbox Inspector, which provides information that identifies specif
CPU performance indicators
1. CPU usage ratio of user processes
2. CPU usage ratio of System Processes
3. WIO, waiting for I/O is the ratio of the CPU in idle state.
4. CPU idle rate
5. Percentage of CPU used for context switching
6. Nice
7. Real-time
8. Length of the running process queue
9. Average Load
Tools commonly used in Linux to monitor CPU performance i
Xhprof is an open source PHP performance monitoring tool for Facebook that takes up little resources and can even be deployed in a production environment. It can be used in conjunction with Graphviz, can be visualized in the form of pictures to show Code execution time wget http://pecl.php.net/get/xhprof-0.9.2.tgzTar zxvf xhprof-0.9.2.TGZCD xhprof-0.9.2/extension//usr/bin/phpize./configure--with-php-config=
Deny from all
Allow from 172.16.16.25
Directory>
After you have made changes to the above configuration, don't forget to restart Apache.
# Service Apache2 Reload
Four, Monitorix screen:Here are some screens, see.Monitorix Web InterfaceSystem load average value, active process, and memory allocation.Global kernel UsageKernel usage per processordisk drive temperature and health statusFile system usage and input/output activityEth0 Interface TrafficSystem service Re
Because Nagios is too complex, the previous Zabbix has emerged as a condition of knowledge. I just want to find a tool that can collect data for analysis in real time, glances is undoubtedly the best choice.In addition, when I was looking for tools, I found a relatively good simple monitoring tool--linux dashboard. On GitHub, you can go to research.Glances installation is very simple, not only support the d
507004 65.42 137400 150764View Memory usage $free-M--sh -h is humanized display S is the size of the recursive entire directory to view the sorted size of all folders under this directory for in do du-sh $i; | -sh ' ls 'integrated applications when SAR is not available in the system, the following tools can be used instead: Linux has vmstat, UNIX systems have Prstateg: View CPU, Memory, usage: vmstat N m (n is the
Nmon (named for the Nigel Monitor) is a computer performance system monitoring tool developed by IBM employees Nigel Griffiths for AIX and Linux systems. Nmon can display the operating system statistics on the screen or stored in a data file to help understand the use of computer resources, adjust the direction and system bottlenecks. This system benchmarking too
user's MySQL database.The good news is that you can use tools to collect this information and send it automatically when the load is too high. How is it implemented? Start with the list of processes:Code:[[Email protected] ~]$ PS AUXWWWFI created a shell script based on a set of Perl scripts on the server that I used to manage. The combination of this script with other server monitoring
data is written to the CSV file. stored on the phone at the same time5, can choose to open the floating window function, floating window real-time display measured application occupancy performance data information6, in the floating window can be high-speed start or turn off the phone's WiFi network002.pngTwo tools more similar function, the latter one more traffic mon
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
hard disk and the memory.Memory pagesPrevious Linux performance monitoring: memory mentions that the IO between the RAM and the hard disk is in pages, and the size of the 1 page on the Linux system is 4K. You can view the default page size of the system with the following command:$/usr/bin/time-v Date ... Page size (bytes): 4096 ...Missing pages InterruptLinux uses virtual memory to greatly expand the prog
about 10.5, and every 3 seconds disk reads about 62KB, writes about: 110KB, this value is not an accurate value, why? Know why? Because of the time period problemThe best test is to find the average number of times or use the method to find the current valueAs shown below:650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M02/6B/86/wKiom1Uvfk2jn_KzAAC-70HOJzU414.jpg "title=" 6.png " alt= "Wkiom1uvfk2jn_kzaac-70hojzu414.jpg"/>There are many more detailed extensions for Iostat, with the-X opt
Top commandCommand functionThe top command can dynamically view the overall operation of the system in real time, and is a comprehensive multi-party informationPractical tools for monitoring system performance and operational information.Command syntaxTop (option)Option description-B: Operation in batch mode;-D: Screen refresh interval time.UptimeCommand function
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.