Download limit on YUM > 개발자팁

개발자팁

개발과 관련된 유용한 정보를 공유하세요.
질문은 QA에서 해주시기 바랍니다.

Download limit on YUM 정보

Linux Download limit on YUM

본문

 On yum just edit the /etc/yum.conf and add the following lines(for example if you want to limit the speed to 150 Kilobytes).
 
throttle=150k
 
throttle
Enable bandwidth throttling for downloads. This option can be expressed as a absolute data rate in bytes/sec. An SI prefix (k, M or G) may be appended to the bandwidth value (eg. '5.5k' is 5.5 kilobytes/sec, '2M' is 2 Megabytes/sec).
Alternatively, this option can specify the percentage of total bandwidth to use (eg. '60%'). In this case the bandwidth option should be used to specify the maximum available bandwidth.
 
Set to '0' to disable bandwidth throttling. This is the default.
 
 
추천
0
  • 복사

댓글 0개

© SIRSOFT
현재 페이지 제일 처음으로