2018-01-23 11:57:08
[root@centos12 stress-1.0.4]# cat /etc/redhat-release
CentOS Linux release7.4.1708(Core)[root@centos12 thmsoftware]# wget http://people.seas.harvard.edu/~apw/stress/stress-1.0.4.tar.gz--2018-01-23 11:53:06-- http://people.seas.harvard.edu/~apw/stress/stress-1.0.4.tar.gz
Resolving people.seas.harvard.edu (people.seas.harvard.edu)... 54.172.197.41Connectingto people.seas.harvard.edu (people.seas.harvard.edu)|54.172.197.41|:80... connected.
HTTP request sent, awaiting response...200OK
Length:191800 (187K) [application/x-gzip]Savingto: ‘stress-1.0.4.tar.gz’100%[========================>] 191,800 84.4KB/s in 2.2s2018-01-23 11:53:14 (84.4 KB/s) - ‘stress-1.0.4.tar.gz’ saved [191800/191800]
[root@centos12 thmsoftware]#[root@centos12 thmsoftware]# ls -ltr
total188
-rw-r--r-- 1 root root 191800 Mar 18 2014 stress-1.0.4.tar.gz
[root@centos12 thmsoftware]# tar -xvf stress-1.0.4.tar.gz
stress-1.0.4/stress-1.0.4/aclocal.m4
stress-1.0.4/INSTALL
stress-1.0.4/depcomp
stress-1.0.4/configure.instress-1.0.4/NEWS
stress-1.0.4/COPYING
stress-1.0.4/ChangeLog
stress-1.0.4/missing
stress-1.0.4/TODO
stress-1.0.4/configure
stress-1.0.4/README
stress-1.0.4/doc/stress-1.0.4/doc/mdate-sh
stress-1.0.4/doc/stress.html
stress-1.0.4/doc/stamp-vti
stress-1.0.4/doc/stress.1stress-1.0.4/doc/stress.info
stress-1.0.4/doc/Makefile.am
stress-1.0.4/doc/stress.texi
stress-1.0.4/doc/version.texi
stress-1.0.4/doc/texinfo.tex
stress-1.0.4/doc/Makefile.instress-1.0.4/AUTHORS
stress-1.0.4/Makefile.am
stress-1.0.4/Makefile.instress-1.0.4/src/stress-1.0.4/src/Makefile.am
stress-1.0.4/src/stress.c
stress-1.0.4/src/Makefile.instress-1.0.4/test/stress-1.0.4/test/check_version_return_code
stress-1.0.4/test/Makefile.am
stress-1.0.4/test/check_usage_return_code
stress-1.0.4/test/Makefile.instress-1.0.4/install-sh[root@centos12 thmsoftware]# cd stress-1.0.4
[root@centos12 stress-1.0.4]# ls -ltr
total328
-rwxr-xr-x 1 1003 1003 7831 Dec 8 2002INSTALL-rwxr-xr-x 1 1003 1003 395 Dec 9 2005AUTHORS-rwxr-xr-x 1 1003 1003 1921 Jan 23 2007TODO-rwxr-xr-x 1 1003 1003 922 May 31 2008README-rwxr-xr-x 1 1003 1003 367 Aug 12 2009Makefile.am-rwxr-xr-x 1 1003 1003 3509 Feb 18 2010NEWS-rwxr-xr-x 1 1003 1003 967 Mar 19 2010 configure.in
-rwxr-xr-x 1 1003 1003 11135 Mar 19 2010missing-rwxr-xr-x 1 1003 1003 13620 Mar 19 2010 install-sh-rw-r--r-- 1 1003 1003 32612 Mar 19 2010 aclocal.m4
-rw-r--r-- 1 1003 1003 18730 Mar 19 2010 Makefile.in
-rwxr-xr-x 1 1003 1003 17867 Mar 19 2010depcomp-rwxr-xr-x 1 1003 1003 160968 Mar 19 2010configure-rw-r--r-- 1 1003 1003 14320 Mar 19 2010 ChangeLog
-rw-r--r-- 1 1003 1003 18092 Mar 24 2010 COPYING
drwxr-xr-x 2 1003 1003 108 Mar 18 2014test
drwxr-xr-x 2 1003 1003 60 Mar 18 2014src
drwxr-xr-x 2 1003 1003 189 Mar 18 2014doc[root@centos12 stress-1.0.4]# cat README
INSTALL
See the INSTALLfile forgeneric installation instructions. The quick
versionis:
./configure && make &&sudo make install
USAGE
You can see the program's usage statement by invoking it with --help. A
typical invocation is:
stress --cpu 8 --io 4 --vm 2 --vm-bytes 128M --timeout 10s
A user manual is available:
info stress
The project home page is:
http://weather.ou.edu/~apw/projects/stress/
PATCHES
This program works really well for me, but it might not have some of the
features that you want. If you would like, please extend the code and send
me the patch. Please use the context diff format. That is: save the
original program as stress.c.orig, then make and test your desired changes
to stress.c, then run `diff -u stress.c.orig stress.c' toproduce a context
diff. Enjoy the program :-)
Amos WaterlandNorman, Oklahoma27 Nov 2001安装方法:
[root@centos12 stress-1.0.4]# ./configure &&