PHPAddType application/x-httpd-php. php. html. htmIf you need to have a rewrite module, you can open the comment (for URL rewriting in the. htacess file)LoadModule Rewrite_module modules/mod_rewrite.soHere, the integration of Apache and PHP has been completed,Add a test file to view the configuration under the root directoryPHP Phpinfo ();? >success!3 MySQL InstallationMySQL installation under Windows is still relatively simple and can be described as "easy + enjoyable".First we go to MySQL off
seconds is idle, then the device's%util = 0.8/1 = 80%, so this parameter implies the device's busy level. Generally, if this parameter is 100% indicates that the device is already running close to full load (of course if it is a multi-disk, even if%util is 100% because of the concurrency of the disk, disk usage may not be the bottleneck).3.-C parameterIostat can also be used to get CPU partial state values:
Iostat-c 1 10AVG-CPU:%user%nice%sys%iowait%idle1.98 0.00 0.35) 11.45 86.22AVG-C
commands that are not easy to remember, use your favorite name.
Set-alias GH get-help
Set GH as the alias of the get-HELP command. In the subsequent operation, after GH is entered, the name of the command is get-help, as shown in:
Output file
In Windows powershell, we can also output the operation results to a file, use the out-file command, and use-filepath to specify the output path and file name, the following command is used:
Get-process | out-file-filepath c: \ temp.txt
Open th
Collect and organize common linux shell commands 1. view database cache [plain] show status like 'qca % '; show status like 'com _ sel %' on www.2cto.com '; [plain] myisamchk-r mmc_user_info_20070120.MYI database process [plain] show processlist firewall view [plain] iptables-nL 60028 II. Server-related www.2cto.com server connections view [plain] netstat-an | grep-c ": 3360 "querying mysql database connections netstat-an | grep ". 80 "| wc-l: view th
Reference http://forge.centreon.com/issues/3360
Centreon version centreon-2.3.8.tar.gz
The result of the dashboard depends on the result of Event Logs. If centreon> Monitoring> event logs has no result, first solve the error of Event Logs and solution http://www.cnblogs.com/smartdog/archive/2012/09/19/2693253.html
Run the following two commands.-L indicates lock.#/Usr/local/centreon/cron/eventreportbuilder. pl-l#/Usr/local/centreon/cron/dashboar
HDU 3635 Dragon bils (query set)
Dragon bils
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)Total Submission (s): 3360 Accepted Submission (s): 1303
Problem DescriptionFive hundred years later, the number of dragon bils will increase unexpectedly, so it's too difficult for Monkey King (WuKong) to gather all of the dragon bils together.
His country has N cities and there are exactly N dragon bils in the world. at fir
Walk the CampusTime limit:2000/1000 MS (java/others) Memory limit:65536/32768 K (java/others)Total Submission (s): 3360 Accepted Submission (s): 1009problem Descriptionll recently addicted to AC extricate oneself, every day bedroom, room 2.1 line. Lack of exercise because of sitting on the computer for a long time. He decided to take full advantage of every time from the bedroom to the computer room to take a walk on campus. The entire HDU campus is a
This article mainly introduces a simple example of generating a static page in php. if you need it, you can refer to publish news to achieve static and static news pages.
Add. php
The code is as follows:
Add News
Config. php
The code is as follows:
Define ("HOST", "localhost ");Define ("USER", "justfan ");Define ("PWD", "justfan ");Define ("DB", "justfanDB ");Define ("PORT", "3360 ");?>
DB_class.php
The code is as follows:
Class DB{Priva
Collect and organize common liunx shell commands 1. View database cache [plain] showstatuslike amp; #39; Qca % amp; #39; showstatuslike amp; #39; com_sel % amp; #39; data table repair [plain] myisamchk-rmmc_user
Collect and organize common linux shell commands 1. View database cache [plain] show status like 'qca % '; show status like 'com _ sel %' on www.2cto.com '; [plain] myisamchk-r mmc_user_info_20070120.MYI database process [plain] show processlist firewall view [plain] iptables-nL 6002
= 0.8/1 = 80%, so this parameter implies the device's busy level. Generally, if this parameter is 100% indicates that the device is already running close to full load (of course if it is a multi-disk, even if%util is 100% because of the concurrency of the disk, disk usage may not be the bottleneck).3.-C parameterIostat can also be used to get CPU partial state values:
Iostat-c 1 10AVG-CPU:%user%nice%sys%iowait%idle1.98 0.00 0.35) 11.45 86.22AVG-CPU:%user%nice%sys%iowait%idle1.62 0.00 0
Python Mysql brute-force cracking script and pythonmysql brute-force cracking
Mysql pythonplug-in is installed with mysql-python.exe. You can see that the amount of code is very small. (Note: the username and password are similar to the dictionary. Usage: Save the code as MysqlDatabaseBlasting. py. Run cmd to switch to the MysqlDatabaseBlasting. py path and execute MysqlDatabaseBlasting. py to start cracking)
Import MySQLdb # coding = gbk # target IP address mysql database must be enabled
Ubuntu multi-screen setting "virtual size greater than available size" solution: after the new ubuntu12.04 is installed with the video card driver, the dual-screen cannot be scaled normally, so the configuration display on the configuration management side reports an error: "The required virtual size is greater than the available size: demand = (3360,105 0), minimum = (320,200), maximum = (1680,168 0)" to set xorg. conf and ubuntu12.04 do not have this file by default, so you need to generate it
299.02 4266.67 129.41 4352 132SDA10 483.84 4589.90 4117.17 4544 4076SDA10 218.00 3360.00 100.00 3360 100SDA10 546.00 8784.00 124.00 8784 124SDA10 827.00 13232.00 136.00 13232 136As seen above, the average number of disk transfers per second is about 400, and the disk reads about 5MB per second and writes about 1MB.iostat-d-x-k 1device:rrqm/s wrqm/s r/s w/s rsec/s wsec/s rkb/s wkb/s avgrq-sz avgqu-sz await SVCTM%utilSDA 1.56 28.31 7.84 31.50 43.65 3.1
This post is specially used to record the test program I wrote in VB, and the test code
Version 5.00 begin VB. form form1 caption = "form1" clientheight = 6945 clientleft = 60 clienttop = 345 clientwidth = 9045 linktopic = "form1" scaleheight = 6945 scalewidth = 9045 startupposition = 3' window default begin VB. timer timer1 interval = 100 left = 3960 Top = 3240 end begin VB. commandbutton command1 caption = "command1" Height = 495 left = 1080 tabindex = 0 Top =
4266.67 129.41 4352 132sda10 483.84 4589.90 4117.17 4544 4076sda10 218.00 3360.00 100.00 3360 100sda10 546.00 8784.00 124.00 8784 124sda10 827.00 13232.00 136.00 13232 136As seen above, the average number of disk transfers per second is about 400, and the disk reads about 5MB per second and writes
thesda10483.84 4589.90 4117.17 4544 4076sda10218.00 3360.00 100.00 3360 -sda10546.00 8784.00 124.00 8784 124sda10827.00 13232.00 136.00 13232 136As seen above, the average number of disk transfers per second is about 400, and the disk reads about 5MB per second and writes about 1MB.Iostat-d-x-k1DEVICE:RRQM/s wrqm/s r/sW/s rsec/s wsec/s rkb/s wkb/s avg
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.