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 on Linux in the recent LinuxCon NA 2014 conference.Compared with Brendan last year's talk, this year added testing and optimization to t
Mysql monitoring tools: zabbix + MPM (Performance Monitor for MySQL), zabbixmpm
MPM is mainly used to monitor various mysql parameter performance indicators. The following describes the configuration of MPM and zabbix:
The following figure shows the configuration file diagram.
It consists of two parts:
1. zabbix template:Template_FromDual.MySQL.*.xml
2. MPM agent perl module:FromDualMySQL*.pm
Installatio
Nethogs IntroductionNethogs is an open-source, free, terminal network traffic monitoring tool that monitors the network traffic of Linux processes or applications. Nethogs can only monitor the network bandwidth consumption of the process in real time. Nethogs supports IPV4 and IPV6 protocols, supports local network cards, and PPP links.The official introduction is as follows:Nethogs is a small ' net top ' tool. Instead of breaking the traffic down per
which the RAM segment can be moved to a special disk segment of swap disk, where the page export and page import of virtual memory occur, and page export does not indicate a ram bottleneck. The virtual memory system often makes page exports to the memory segment, but the page import operation indicates that the server needs more memory, and the page import needs to copy the memory segment from swap disk back to RAM, causing the server to become slower.There are several ways to solve this proble
I. Installation IPTRAF: (Traf is a shorthand for traffic, meaning traffic, transportation)Run command: sudo apt-get install Iptraf
Two. Iptraf use:Run command: IptrafThen press any key to continue650) this.width=650; "src=" http://img1.51cto.com/attachment/201203/134124722.jpg "border=" 0 "/>First item: IP traffic MonitoringSecond item: General view network card traffic status. View only the total traffic for each NICThe third item: Check the network card traffic status in detail. s
Tools for monitoring user operation Records under Linux:Apt-get Install Bsdutilsmkdir/opt/operation_logchmod 777-r/opt/operation_logvi/etc/profileEXEC script-t 2>/opt/operation_log/$USER-$UID- date +%F-%T . Data-a-q-f/opt/operation_log/$USER-$UID- date +%F-%T . Log: WqSource/etc/profileOperation Record Playback:Scriptreplay/opt/operation_log/root-0-2018-01-30-20\:11\:29.data/opt/operation_log/root-0-2018-01
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
and port of the ZK serverOnce the connection is successful, the node data information of ZK can be seen.2.zk Browser Eclipse PluginInstalling the Eclipse PluginStep 1. On the Eclipse menu, open Help, Install New software ...Step 2. Add the URL http://www.massedynamic.org/eclipse/updates/.Step 3. Select Plug-in and installRunStep 1. Open Window->show View->other...->zookeeper 3.2.2 in the Eclipse menuStep 2. Connect ZKEnter a running ZK server address and portOnce the connection is successful, y
)) 999 printf ("%d", i); 168}}Procedure trial Teaching Performance monitoring instructions, SQRT takes up the most time. P3 move the SQRT function outside the For loop,#include int i,bound; Bound =root (n); for (i =2;i 999 { if (n%i==0) 5288 return 0; 831 return 1; 168 }} Main () { int i, n; n=1000; 1 for (i=2;iP4By a special
|one-line-both|one-line-sent|one-line-received)
Controls the appearance of each item in the display.
Show-totals: (Yes|no)
Shows cumulative total for each item.
Log-scale: (Yes|no)
Use a logarithmic scale for bar graphs.
Max-bandwidth:bw
Fixes the maximum for the bar graph scale to bw, e.g. "10M". Note that the value have to always is in bits, regardless if the option to display in bytes have been chosen.
Net-filter:net/mask
Defines an IP network boundary for determining packet
not indicate a ram bottleneck. The virtual memory system often makes page exports to the memory segment, but the page import operation indicates that the server needs more memory, and the page import needs to copy the memory segment from swap disk back to RAM, causing the server to become slower.There are several ways to solve this problem:1. The simplest, increase the RAM;2. Reduce the need for RAM by changing the SGA;3. Reduce the need for RAM. (e.g., reduction of PGA)Reference Documentation:
Installation:sudo add-apt-repository ppa: Ferramroberto/linuxfreedomlucidsudo apt-get update sudo apt-get install NetspeedThen in this way you can not find the launcher, so after research, this is only suitable for GNOME desktop use, if unity needs to install the following version:Unloadingsudo apt-get remove netspeedInstalling a unity-enabled versionsudo apt-add-repository ppa: Fixnix/netspeedsudo apt-get updatesudo apt-get Install Indicator-netspeed-unityStartIndicator-netspeed-unity It will t
Today introduced a Linux under the monitoring of real-time broadband use of software iftop,iftop can view the flow of dynamic, to help you solve, find the network slow problem.Of course, check the network card traffic tools and Iptraf, nethogs and so on, the main recommended today iftop!Software Installation:
cd/byrd/tools/wget http://www.ex-parrot.com/~pdw/ifto
Three tools for performance monitoring in LinuxGuideHow to manage Linux Hosts? The 18 weapons can be regarded as Swiss Army knives. One or two weapons can be claimed. The most common one is the three brothers of the stat family.
What are the main computer resources? CPU, memory, and disk? Although there are many cloud computing technologies, it is still necessary to start investigating whether a system is r
During O M, people often experience server performance problems, such as I/O, CPU, memory, and network bottlenecks.
So how can system O M be done? The following tools are helpful for refreshing your mind ~ (@ ^ _ ^ @)~
(1) Top
Here, Rocky wants to clarify one point, and believes that the best practice of top is:
"Find the process that consumes the most CPU resources"
After finding it, press [p] and force it to be sorted by CPU usage
Different fro
updated to current
L
Time
Total CPU time used by the process, in seconds
M
time+
Total CPU time used by the process, Unit 1/100 sec
N
%MEM
Percentage of physical memory used by the process
O
VIRT
The total amount of virtual memory used by the process, in kilobytes. Virt=swap+res
P
SWAP
The size, in kilobytes, of the virtual memory that the process is using, swapped out.
Application Software Learning Summary
Directory
SVN deployment and use
One-Health installation Zabbix
Ansible automatic operation and Maintenance tool installation and use
PPTP server-side deployment to client connections using
Fail2ban installation Configuration
KVM Installation Use
Lvs+keepalived Construction
KEEPALIVED+LVS Maintenance skills and tuning
Introduction of the concept type of LVS and three kinds of working modes and 10 scheduling algorithms
Redis Single
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.