The following small series for everyone to bring a PHP debugging and performance analysis tools Xdebug detailed. Small series feel very good, now share to everyone, also for everyone to make a reference. Let's take a look at it with a little knitting.
In the process of program development, the most commonly used debugging method is to use Echo, Print_r (), Var_dump (), printf () and so on to print the stat
represents what AWK looks for in the data, and the action is a series of commands that are executed when a match is found. Curly braces ({}) do not need to always appear in the program, but they are used to group a series of instructions according to a particular pattern. pattern is the regular expression to be represented, surrounded by slashes.Example#输出df第一个字段 [[email protected] ~]# df-ph |awk ' {print $} ' #输出df第一个和第三个字段 [[email protected] ~]# df-ph |awk ' {print $1,$3} ' # Output DF last f
Before we published an article "256 Template official website point SEO optimization analysis record" records the site some basic ranking situation, as well as the site collection, snapshots and other situations. Through the comparison of the previous site, we found that Baidu's 256 template network included in the speed or very fast, to achieve the same day can be included in the speed, in general or relatively satisfactory, below we come to specific
) {type= Type | | "FX"; varQueue =jquery.queue (Elem, type), Startlength=queue.length, FN= Queue.shift (),//Take out the first function in a queueHooks =jquery._queuehooks (Elem, type), Next=function() {Jquery.dequeue (elem, type); }; //always remove progress points if the FX queue is queued if(fn = = = "InProgress")) {fn=Queue.shift (); Startlength--; } hooks.cur=fn; if(FN) {//add a progress point to prevent the FX queue from automatically dequeue if(Type = = = "FX") {Queue.unshift
The slow log in mysql is a log tool used to record SQL statements that have been executed for a long time (beyond long_query_time seconds.
Enable slow log
Set in my. cnf
[mysqld]
slow_query_log=on
slow_query_log_file=mysql-slow
Restart the MySQL service.Five common tools
Mysqldumpslow
The log analysis tool for slow query officially provided by mysql. The output chart is as follows:
Main function
See a lot of tools about AB pressure measurement, but very few of the results of detailed analysis, today I would like to explainEnvironment: Nginx server, Nginx high concurrency, save memoryResults Analysis:
thisisapachebench,version2.3copyright1996adamtwiss,zeus technologyltd,http://www.zeustech.net/licensedtotheapachesoftware foundation,http://www.apache.o
Linux SAR command:SAR (System activity Reporter report) is one of the most comprehensive system performance analysis tools available on Linux, which can be used to report the activities of the systems in many ways, including: Read and write of files, usage of system calls, disk I/O, CPU efficiency, Memory usage, process activity, and IPC-related activities.[Root ~]$ Sar-interval > [-A] [-b] [-b] [-c] [-d] [
Principle Analysis of automatic cracking tools on Discuz Forum
Recently, tools used to crack the Discuz Forum username and password by using a social engineering database have leaked many large forum user information. The analysis principles are as follows.Here, Discuz determines that the access IP address mainly uses
LDD and NM are two very useful program analysis tools under Linux. LDD is a tool used to analyze the dynamic-link library that the program runs on, and NM is the tool used to view the symbol table information in the specified program.
1 LDDFormat:ldd [options] FileFunction: Lists the shared libraries required for file runParameters:-D perform relocation and report all missing functions-R performs relo
Website Visit Analysis Web-ia V7.1 Professional Edition
Software size: 3895 KBSoftware language: Simplified ChineseSoftware Category: Domestic software/shared edition/Network monitoringApplication Platform: win9x/nt/2000/xp/2003Developer: http://www.web-ia.cn/
Website visit Analysis Web-ia, one of the fastest and most powerful web site access analysis software
Linux, a lot of fully display the system's current state of operation, load, I/O and other information tools to help administrators in real-time understanding of the system running dynamic, and troubleshooting.PS Command: Displays the status of the process and the snapshot mode.The process is divided into two categories: one is the process that the user initiates through the terminal, and the other is the process that is unrelated to the terminal, mos
Because PHP is an open language, it also leads to a lack of strong and authoritative support for the development environment. Here are some of the better editing tools, I hope to give you the development of PHP programs to provide some help.
Dreamweaver
Starting with MX, DW is starting to support Php+mysql visualization, which is really a good choice for beginners, because if it's a general development, you can write a program without writing a sing
. The installation script will install Xhgui dependent dependencies through composer.
install.php# 如果上面的命令执行报错,则执行下面的命令composer install
Configure the Web server, here we take nginx as an example
server {Listen80;server_name Xhgui.dev;Root/data/www/project-xhgui/webroot;Index index.php index.html;Access_log/var/log/nginx/xhgui.dev.log main;error_log/var/log/nginx/xhgui.dev.log.err DEBUG; rewrite_log on; location/{try_files $uri Span class= "hljs-variable" > $uri//index.php? $
Produced by Northeastern University, written in pure C + +, academic free, open source.System Features1. All code is written in C + + language2. Achieve the best analytical performance in the industry3. Support Seven language analysis techniques4. Can be applied to the development of application systems such as text analysis and text mining based on depth calculationAddress: http://www.niuparser.com/One of
Resolving repetitive LaborIs it cool to analyze a single virus and analyze n viruses to write reports very mechanically.1) samples to download multiple files, these files when writing reports to add these files MD52) Write the report is clearly 17 MD5, the actual sample has 18 cases. I don't know who the MD5 is.3) to batch detect a class of samples, and then batch copy out of the situation.Later joined the idea of colleagues, the document into Hex.txt seal up.Command line version Tool"Windows Pr
nid=0x2265 waiting on condition [0x00000000] Java.lang.Thread.State:RUNNABLE"http-bio-8080-exec-20" daemon prio=10 tid=0x08a35800 nid=0x1d42 waiting on condition [0x70997000] Java.lang.Thread.State:WAITING (parking) at Sun.misc.Unsafe.park (Native Method)-Parking to wait for(a java.util.concurrent.locks.abstractqueuedsynchronizer$conditionobject) at Java.util.concurrent.locks.LockSupport.park (Locksupport.java:156) at Java.util.concurrent.locks.abstractqueuedsynchronizer$conditionobject.await (
Here we use Microsoft Web application stress tool for web stress testing, Microsoft WebApplication stress ToolDeveloped by Microsoft's website testers, it is a set of tools specifically used for actual website stress testing. With this powerful stress testing tool, you can use a small number of client computers to simulate a large number of users.
Before the website is launched, test the website you designed in a real environment to identify potential
Keyword analysis toolsGoogle:Adwords keyword tool: Common queries for specific keywords and extended matchingHttps://adwords.google.com/select/KeywordSandbox
Baidu:Keyword tools: Common queries for specific keywords, extended matching, and query popularityHttp://www2.baidu.com/inquire/dsquery.php
Sohu:Keyword tool: keyword search popularityHttp://db.sohu.com/regurl/pv_price/query_consumer.asp
Netease:Key
Here are three open source tools, PMD, Checkstyle and findbugs, with emphasis on ant calls, and commercial software Jtest is said to be a well-known tool for code analysis, haha.
Checkstyle (http://checkstyle.sourceforge.net/) version 4.2
Introduction: Checkstyle is a development tool that can help programmers follow code specifications to write code,
It automatically handles these annoying but important t
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.