2014年1月17日 星期五

stressapptest

stressapptest

20141225 update

download latest package 1.0.7
https://drive.google.com/folderview?id=0B9osgFjBr2UyaWdiWndZUFZrTzg&usp=sharing#list

1. Install stressapptest      
 "#tar zxvf stressapptest-1.0.7_autoconf.tar.gz"      
 #./configure   
 "#make
#sudo make install"      
2. Execute stressapptest      
 #stressapptest -s 172800 -M 1024 -m 8 -i 8 -C 8 -W -n 127.0.0.1 --listen  -f /tmp/file1 -f /tmp/file2 -d /dev/sdb -c 4 -l  /var/log/stressapptest.log      
       
       
  -s 172800    =>Run time in seconds      
  -M 1024 -m 8 -i 8  => -M memory size      
  -C 8  => number of memory CPU stress threads to run    =>This number can be set to 256, if your CPU is powerful
  -W =>Use more CPU-stressful memory copy      
  -n 127.0.0.1 --listen => Network stress      
  -f /tmp/file1 -f /tmp/file2 =>File copy       
  -d /dev/sdb -c 4 =>Stress disk      
  -l  /var/log/stressapptest.log  =>record log      
       
3. When running stress, run "top" to check CPU & memory usage      

2 則留言: