게시물 1,376건
   
cpulimit : cpu 사용량을 정해주는 명령어
글쓴이 : 최고관리자 날짜 : 2014-03-20 (목) 09:28 조회 : 5891
글주소 :
                                
cpulimit : cpu 사용량을 정해주는 명령어
http://cpulimit.sourceforge.net/

# yum install -y cpulimit
# cpulimit  -help
Usage: cpulimit TARGET [OPTIONS...]
   TARGET must be exactly one of these:
      -p, --pid=N        pid of the process
      -e, --exe=FILE     name of the executable program file
      -P, --path=PATH    absolute path name of the executable program file
   OPTIONS
      -l, --limit=N      percentage of cpu allowed from 0 to 100 (mandatory)
      -v, --verbose      show control statistics
      -z, --lazy         exit if there is no suitable target process, or if it dies
      -h, --help         display this help and exit


# cpulimit -p 30319 -l 30 & 

example)
# cpulimit -p 30319 -l 30
Process 30319 detected

# top
30319 kvm       20   0 2839m 1.9g 1296 T    30 473,48  4.0  28428:32 qemu



이름 패스워드
비밀글 (체크하면 글쓴이만 내용을 확인할 수 있습니다.)
왼쪽의 글자를 입력하세요.
   

 



 
사이트명 : 모지리네 | 대표 : 이경현 | 개인커뮤니티 : 랭키닷컴 운영체제(OS) | 경기도 성남시 분당구 | 전자우편 : mojily골뱅이chonnom.com Copyright ⓒ www.chonnom.com www.kyunghyun.net www.mojily.net. All rights reserved.