STRESS
#
Find similar titles
- 최초 작성자
- 최근 업데이트
Structured data
- Category
- Programming
Linux 서버 부하테스트 툴, STRESS #
Linux 계열의 서버를 설치한 후 부하 테스트는 필요한 항목 중의 하나이다. CPU, RAM, HDD에 부하가 걸려도 정상적으로 작동하는지 확인할 필요가 있다. 이러한 부하 테스트를 하는 방법중의 하나로 STRESS 라는 툴을 사용하는 방법이 있다.
툴 설치 #
아래 링크에서 소스 파일을 다운로드 한다.
-
설치파일 다운로드
[root@localhost ~]# wget http://people.seas.harvard.edu/~apw/stress/stress-1.0.4.tar.gz
-
압축해제 및 이동
[root@localhost ~]# tar zxf stress-1.0.4.tar.gz [root@localhost ~]# cd stress-1.0.4
-
설치
[root@localhost stress-1.0.4]# ./configure [root@localhost stress-1.0.4]# make [root@localhost stress-1.0.4]# make check; make install
STRESS 툴 실행 #
-
바로 확인하는 경우
[root@node01 ~]# stress --cpu 2 --io 4 --vm 2 --hdd 1 --timeout 10s
-
백그라운드로 실행 후 확인 하려는 경우
[root@node01 ~]# stress --cpu 2 --io 4 --vm 2 --hdd 1 --timeout 10s &
자세한 정보는 info stress 참고