Mytop is similar to the Linux top tool, which enables real-time monitoring of performance information for MySQL servers.
Installation method
1. Installation dependence
Copy Code code as follows:
# CPAN
# cpan > Install DBI
# cpan > Install Term::readkey
# cpan > Install Dbd::mysql
# CPAN > Exit
2. Download and install Mytop
Copy Code code as follows:
Cd/tmp
Tomcat probe is an open source monitoring Tomcat running Status tool to view project performance in real time
Deployment installation:
1. Download the Probe.war Package
Download Address: Https://pan.baidu.com/s/1jI88NkE
2. Configure Tomcat
Find a Tomcat-users.xml in the Conf directory of Tomcat
In the final configuration of an item
Where probe is the login user password is the password of the log
build.pl./build./build Test./build Installafter installing the prompt:Usage:socket::inet_ntoa (IP_ADDRESS_SV) at./orz Line 477The IP and hostname are written to the/etc/hosts file because the host name cannot be resolved[Email protected] servers]# vi/etc/hosts172.16.9.242 hank-yoon.com[Email protected] servers]#/orzdba-lazy-rt-s/export/data/mysql/tmp/mysql.sockCount: Number of requests completed within this intervalAvg: The average time of the response for all completed requests within this int
(Transferred from: http://www.cnblogs.com/zhuque/archive/2013/03/29/2988577.html)Mongostat is a state detection tool that is mongdb, and is used under the command line. It will take a fixed time to get the current running state of MongoDB and output. If you find that the database is suddenly slow or has other problems, your first-hand action is to consider using Mongostat to see the status of Mongo.Mongostat command format, of course, can also add par
build.pl./build./build Test./build Installafter installing the prompt:Usage:socket::inet_ntoa (IP_ADDRESS_SV) at./orz Line 477The IP and hostname are written to the/etc/hosts file because the host name cannot be resolved[Email protected] servers]# vi/etc/hosts172.16.9.242 hank-yoon.com[Email protected] servers]#/orzdba-lazy-rt-s/export/data/mysql/tmp/mysql.sockCount: Number of requests completed within this intervalAvg: The average time of the response for all completed requests within this int
1, Lsof IntroductionLsof is a very practical system-level monitoring and diagnostic tool under Linux.It means List Open Files, and it's easy for you to remember that it's a combination of "ls + of" ~It can be used to list the file information opened by various processes, remember: Linux under "All Files",including but not limited to pipes, sockets, directories, devices, etc.So, with lsof, you can get a vari
Real-time Network traffic monitoring tool under LinuxDaquanFound in the work, often because of business reasons, need to know the traffic of a server network card, although the company also deployed cacti software, but the cacti is five minutes statistics, no instant, and sometimes open the monitoring page inconvenient, personal like to easily enter a command on
() {using(Efdbcontext db =NewEfdbcontext ()) { varProfiler =miniprofiler.current; Listm; using(Profiler. Step ("Get the Product list") ) {m=db. Products.tolist (); } returnView (m); } } }}Rebuild the project and run the view page again, such as:You can see more of the "Get product List" record that we just added manually. This allows for subtle monitoring of the internal time of the method, which
using Memcache in PHP1. Test codeThis is memcache official test memcache code2. Under Windows detection Memcache: http://download.csdn.net/detail/wujiangwei567/8571637Tool description Detailed Address: http://www.cnblogs.com/xffy1028/archive/2013/02/01/2861706.htmlThe use of memcache in PHP and the Memcache monitoring tool in Windows
. Number of Lookup requests 20 IP (commonly used to find the source of attack) Netstat-anlp|grep 80|grep Tcp|awk ' {print $} ' |awk-f: ' {print '} ' |sort|uniq-c|sort-nr|head-n203. Use tcpdump to sniff 80 ports with the highest number of IPTcpdump-i ETH0-TNN DST Port 80-c 1000 | Awk-f "." ' {print $1″. ' $2″. " $3″. " $4} ' | Sort | uniq-c | Sort-nr |head-104. Find more time_wait connectionsNetstat-n|grep Time_wait|awk ' {print $} ' |sort|uniq-c|sort-rn|head-n105. Check for more SYN connections
main cache mode: Buffer Cache and Page cache. The former is for the disk block read and write, the latter for the file inode read and write. These caches can effectively shorten the time for I/O system calls (such as read,write,getdents). Remember that the memory is for use, not to take a look. Unlike windows, no matter how much of your real physical memory, he will have to take the hard disk swap files to read. This is why Windows often prompts for a lack of virtual space. You think, how borin
displayed, and each item can be consulted. Need to observe the value of the ID (idle), generally speaking, he should be close to 100%, indicating that the system is rarely used resourcesLines Fourth and fifth: represents the current use of physical memory and virtual memory (MEM/SWAP).after line sixth: This is where the state is displayed when the command is entered in the top program. The picture below the top is the resource situation used by each process.By default, only the more important P
First, the official: http://dag.wieers.com/home-made/dstat/#downloadOr to the 51CTO download, install the time to note that the Linux system is 5 or 6, with different packages.Second, the installation is very simple, only need a RPM command to complete.Third, the use of methods #dstat--helpIv. Common Command # Dstat-cdlmnpsy--output xin.csvNote:-cdlmnpsy parameter--output output FileFile name of the output CSV format650) this.width=650; "Src=" Http://s5.51cto.com/wyfs02/M01/87/B7/wKioL1ffxyjQNut
the core Httpry program was a set of parsing scripts for mining information out of generated log files. Most of these scripts is written as plugins for a core parsing script and include functionality for extracting search ter MS, searching for specified terms within client flows, and outputting the logs in XML among other things. It is relatively straightforward to write custom plugins for additional parsing tasks.Latest NewsThe latest release adds a number of useful features and tweaks. VLAN t
Sysstat monitors CPU usage, hard disk, and network throughput data. The collection and analysis of these data helps us determine whether the system is running normally, it is an effective assistant to improve system operation efficiency and secure operation of servers.
Sysstat writes the plan log in/etc/cron. d/sysstat. The log is recorded every 10 minutes, and the log process of the day is summarized and cut.
The SAR command displays the CPU running status by default.
SAR Command Options
-B
The simplest and most direct method is to add
-VVParameters to print the request and corresponding information of each client on the console, which is very suitable for development. Another direct method is to use Telnet. For example, if the server is a port 11211 of the local machine, you can use
Telnet local host 11211
And then use
StatsTo view the server status.
In addition, a better choice is to use some specialized monitoring tools. Some e
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.