Linux Stress test Tool stress

Source: Internet
Author: User
Tags square root

Recently add autoscaling to pass platform, according to the load situation of the server autoscaling, in order to test this function with stress this pressure test tool, this tool is quite useful. The specific installation method will not say. Record how this tool is used.

Parameter interpretation

-? Display Help information

-V Show version number

-Q does not display run information

-n shows the completed instruction condition

-T--timeout n specifies to stop after n seconds

--backoff n waits for n subtlety to start running

-c generates n processes each process repeatedly calculates the square root of a random number

-I generates n processes each process calls sync () repeatedly, and sync () is used to write the contents of the memory to the hard disk

-M--VM n produces n processes, and each process constantly calls memory allocations for malloc and memory release free functions

--vm-bytes B Specifies the number of bytes of memory at malloc (default 256MB)

--vm-hang N Specifies the number of seconds in free money

-D--hadd N produces n processes that execute write and unlink functions

-hadd-bytes B Specifies the number of bytes written

--hadd-noclean not unlink

Example

Generates 13 CPU processes 4 IO processes stop running after 1 minutes

Stress-c 13-i 4--verbose--timeout 1m

Linux Stress test Tool stress

Related Article

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.