stress command to install

A, stress (cpu)

stress is a stress test tool under linux, specifically for those high loads and completely user wants to test their system monitor these devices to run.

Download
http://people.seas.harvard.edu/~apw/stress/

Into usr / local / bin directory: #cd / usr / local / src

Upload stress archive: #rz

Packet decompression: #tar -xzpvf stress-1.0.4.tar.gz 

Into the unzipped folder: #cd stress-1.0.4

Type ./configure configure:. # / Configure

Then enter the following command:

                                        #make

                                        #make check

                                        #make install

Finally, enter: stress --version verify that the installation was successful

Command parameters:

-? 
--help display this help 
--version display the software version 
-t secs: 
--timeout secs specifies the number of seconds to run 
--backoff usecs wait usecs microseconds after the start of operation 
-c Forks: 
the --cpu Forks generating a plurality of processing sqrt () function of the CPU process 
-m Forks 
--vm Forks: generating a plurality of processing malloc () memory allocation 
-i Forks 
- IO Forks: generating a plurality of treatment sync () function of the disk I / O process 
--vm-bytes bytes: byte number, the default value specified memory is 1 
--vm-Hang: indicate how much time after the malloc memory allocation is freed in as Free () 
-d: 
--hdd: writing process, write a fixed size, by mkstemp ( ) function writes the current directory 
--hdd-bytes bytes: Specifies the number of byte write, the default 1G 
--hdd-noclean: Do not write file unlink random ascii data, do not delete the files are written, will remain in the hard disk space.

>>>>>> pit encountered during installation:

 1, the installation will be yum yum source of problems cause the installation is not successful, how to solve it?

Blog: https: //www.cnblogs.com/dadong616/p/5062727.html

 

Guess you like

Origin www.cnblogs.com/wuzm/p/11096276.html