HTTPD Common Tools

Source: Internet
Author: User

Curl

Curl http://192.168.1.101 // text access to Web sites

curl-a ' IE11 ' http://192.168.1.101 // simulate the browser as appropriate

Other common options:

-basic using HTTP Basic authentication

- u user:password Submit user name and password

--tcp-nodelay using the tcp_nodelay option

- e Specify which URL to jump from

--cacert specifying CA certificates

--compressed Requires that the returned data be in a compressed format

- H Custom header information is passed to the server

- I. only the response message header information is displayed

--limit-rate Set transfer speed

-0 using HTTP 1.0

httpd Bring your own tools:

htpasswd Basic authentication based on file implementation, the use of the account password file generation tool

Apachectl httpd bring your own service control script

Apxs provided by the Httpd-devel package, extended httpd tools that use third-party modules

Rotatelogs Log Scrolling tool:

Access.log à

Access.log,access.1.log

Access.log,access.1.log, Access.2.log

suexec temporarily switch to a specified user to run when accessing certain resources with special permissions configured

http pressure test tools:

Ab

Webbench

Http_load

Jmeter

LoadRunner

Tcpcopy

AB [OPTIONS] URL

- N Total number of requests

- C Number of concurrent simulations

- k test in persistent connect mode

You need to use ulimit-n 65535 to adjust the number of files that the current user can open simultaneously

Ab-c 100-n 10000 http://web1.test.com/test.html

// set concurrency to 100, send 10,000 requests altogether

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/8C/4E/wKiom1hp9jjw6xJ7AAN0JirsFxY928.png "title=" B.png " alt= "Wkiom1hp9jjw6xj7aan0jirsfxy928.png"/>


HTTPD Common Tools

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.