exception through the atop command view.Atop logEach time-point sampling page is combined to form a atop log file that we can use to view the log file using the "atop-r XXX" command. So what is the format for saving atop log files?For how to save the atop log file, we can do this:
Save a atop log file every day, which records the information of the day
Log files are named "ATOP_YYYYMMDD"
Set the log expiration period, automatically delete the log file before a period of time
Adding code snippets to the httpd.conf fileExtendedstatus onone of the Server-status is Apache's own monitoring item. Http://www.apache.org/server-status.650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/72/E2/wKiom1XvjUKRX65WAAGdI43GDno587.jpg "title=" 06.jpg "alt=" Wkiom1xvjukrx65waagdi43gdno587.jpg "/>One of the words in the monitoring script is to go to key,wget--quiet-O-http://127.0.0.1/server
Article Title: detailed introduction to linux performance monitoring. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Networks are the most difficult to monitor in all subsystems. First, because the network is abstract, and more importantly, many factors that affect the
,/data/zabbix/scripts/check_mongodb.sh 20001 Connections AvailableThese two articles
The remaining two will be used (the bottom will say what these two do)Add those two and we'll save the exit and then go to the web to customize the key for monitoring Save, after a while to monitor the image will come out, Ok! Monitoring completeBut ... MONGO so many surveillance items we're only
JVM heap memory layout:Can be seen:Heap memory = young generation + old generation + permanent generation young generation = Eden Zone + two survivor zones (from and to)Now to explain the meaning of each column:s0c, s1c, s0u, S1u:survivor 0/1-zone capacity (capacity) and usage (used) EC, Eu:eden area capacity and usage oc, OU: Old generation capacity and Usage pc, PU: Permanent generation capacity and usage ygc, YGT: Young generation GC times and GC time-consuming FGC, fgct:full GC times, and f
PID is not appropriate. In this mode, the live sub-argument is not valid.- J Pass parameters to the JVM that Jmap started.Examples are as follows:After obtaining the heap snapshot file, we can use a variety of tools to analyze the file, such as JHAT,VISUALVM.5.jhat: You can parse a Java application's heap snapshot file in the following syntax format:Jhat after the analysis is complete, use the HTTP server to show the results of the analysis, and access the http://127.0.0.1:7000/in the browser t
through the REDIS-CLI info to monitor:Uptime_in_days # # number of days to startconnected_clients # # number of clients connectedblocked_clients: # # number of clients waiting for the blocking command (Blpop, Brpop, Brpoplpush)Used_memory_peak_huma : # #reids所用内存的高峰期used_memory : # #运行起来使用的内存数Expired_keys : # #过期的key数量Evicted_keys : # #删除过期的key数量keyspace_misses : # #没命中的key数量keyspace_hits : # #命中的key数量 connected_slaves : # #已连接的从服务器数rejected_connections : # #因为超过最大连接数被拒接的请求数量Six, zabbix_agent c
Installation: Apt-get install AUDITD.
1.AUDITD is background daemon, responsible for monitoring records2.AUDITCTL Tools for configuring rules3.auditsearch Search View4.aureport generate reports based on monitoring records
For example, monitor whether the/root/.ssh/authorized_keys file has been modified:
Aditctl-w/root/.ssh/authorized_keys-p war-k Auth_key
-w indicates the files to be monitored-p AWRX Th
First install snmp # yuminstall-ynet-snmpnet-snmp-utils and then configure snmp Step 1: (the configuration file installed in yum is/etc/snmp/snmpd. conf, a lot of things in it, a very detailed document, but I always have an excuse not to go into detail, move it first, and then create a snmpd by myself. conf) # mv/etc/snmp/s
First install snmp
# Yum install-y net-snmp-utils
Then configure snmp
Step 1:(The configuration file for yum installation is/etc/
Nagios monitoring Setup and configuration detailed steps
Reference text: http://blog.chinaunix.net/uid-26999549-id-4031729.html
Reference text: https://www.centos.bz/2012/02/centos-install-nagios/ (i) Install Nagios (Nagios server is: 192.168.6.6 nagios client is: 192.168.2.33) 1. Basic Support Kit: GCC glibc glibc-common gd gd-devel xinetd openssl-devel httpd phpNote: Both PHP and httpd are installed u
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
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
database cache.2) The above is suitable for lnmp,lamp environment.3) memcached server can also be multiple units via hash dispatch.################# #针对memcached单点故障出现的问题解决方案: ( also not perfect, no fix master hangs, re-open Data unrecoverable problem)1, high availability for memcachedHttp://blog.snsgou.com/post-800.html2, the use of Sina Memcacheddb, the original client is still memcached, but on the server he can persist storage.3, Japanese-developed Tokyo Tyrant+tokyo Cabinet################
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
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:
Detailed Network traffic monitoringThe behavior characteristic of the network can be reflected by the dynamic characteristic of the traffic, so it can analyze the operation state of the network from these parameters to monitor the various parameters of the traffic in the network (such as receiving and sending datagram size, packet loss rate, datagram delay, etc.). By analyzing and studying the traffic characteristics carried on the network, it is poss
public static Interface Viewtreeobserver.onpredrawlistenerLet's look at the definitions in the API:class overview:The interface defined for the callback function to be executed when the view tree is about to be drawn.Common methods:Public abstract Boolean Onpredraw ()The callback function to execute when the view tree is about to be drawn. At this point all views are measured and the frame is finalized. The client can use this method to adjust the scrolling border, or even to request a new layou
public static Interface Viewtreeobserver.onpredrawlistenerLet's look at the definitions in the API:class overview:The interface defined for the callback function to be executed when the view tree is about to be drawn.Common methods:Public abstract Boolean Onpredraw ()The callback function to execute when the view tree is about to be drawn. At this point all views are measured and the frame is finalized. The client can use this method to adjust the scrolling border, or even to request a new layou
)//Send againServer list:Status: state, including up (back-end machine activity) and down (back-end machine hangs) two statesLASTCHK: Continuous check of back-end server timeWght: (weight): WeightAct:server is active (server), number of active servers (backend)//Active link QuantityBck:server is backup (server), number of backup servers (backend)//backup: quantity of servers backed upDown: The number of down after the//back-end server is connectedDowntime:downtime:total downtime (in seconds)//To
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.