{"id":449,"date":"2009-09-02T01:09:35","date_gmt":"2009-09-01T23:09:35","guid":{"rendered":"http:\/\/netspider.com.ua\/index.php\/2009\/09\/02\/tricks-with-trickle\/"},"modified":"2010-01-17T10:44:07","modified_gmt":"2010-01-17T08:44:07","slug":"tricks-with-trickle","status":"publish","type":"post","link":"https:\/\/netspider.com.ua\/index.php\/2009\/09\/02\/tricks-with-trickle\/","title":{"rendered":"Tricks with trickle"},"content":{"rendered":"<p>\u0411\u0435\u0437\u043b\u0438\u043c\u0438\u0442\u043d\u044b\u0439 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442 \u0432 \u043e\u0444\u0438\u0441\u0435 \u044d\u0442\u043e \u043a\u043e\u043d\u0435\u0447\u043d\u043e \u0445\u043e\u0440\u043e\u0448\u043e :). \u041d\u043e \u0435\u0441\u043b\u0438 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u043a\u043e\u0432, \u043b\u044e\u0431\u0438\u0442\u0435\u043b\u0435\u0439 \u043f\u043e\u043a\u0430\u0447\u0430\u0442\u044c, \u0437\u0430\u0431\u0438\u0432\u0430\u044e\u0442 \u0432\u0435\u0441\u044c \u043a\u0430\u043d\u0430\u043b, \u044d\u0442\u043e \u043d\u0435 \u0435\u0441\u0442\u044c \u0445\u043e\u0440\u043e\u0448\u043e. \u0412 \u0442\u0430\u043a\u0438\u0445 \u0441\u043b\u0443\u0447\u0430\u044f\u0445 \u043f\u043e\u043c\u043e\u0433\u0430\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440\u043e\u0432 \u0437\u0430\u043a\u0430\u0447\u0435\u043a, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0435\u0441\u0442\u044c \u0440\u0435\u0433\u0443\u043b\u0438\u0440\u043e\u0432\u043a\u0430 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438 \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u044f.<\/p>\r\n\r\n<p>\u0410 \u0435\u0441\u043b\u0438 \u0432\u044b \u043a\u0430\u0447\u0430\u0435\u0442\u0435 \u0447\u0442\u043e-\u0442\u043e \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u0438, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 wget\u2019\u043e\u043c \u0438\u043b\u0438 fetch\u2019\u0435\u043c? \u0412 \u044d\u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0432\u0430\u043c \u043f\u043e\u043c\u043e\u0436\u0435\u0442 <strong>trickle<\/strong>.<\/p>\r\n\r\n<p><strong>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430<\/strong><\/p>\r\n\r\n<div><pre style=\"font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;\">~<span style=\"color: #0000ff\">&gt;<\/span> cd \/usr\/ports\/*\/trickle\r\n~<span style=\"color: #0000ff\">&gt;<\/span> make install clean\r\n# \u0438\u043b\u0438:\r\n~<span style=\"color: #0000ff\">&gt;<\/span> pkg_add -r trickle<\/pre>\r\n<\/div>\r\n\r\n<p><strong>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435<\/strong><\/p>\r\n\r\n<div><pre style=\"font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;\">trickle -s -d 100 portsnap fetch update<\/pre>\r\n<\/div>\r\n\r\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u043d\u0435 \u0431\u0443\u0434\u0435\u0442 \u043f\u0440\u0435\u0432\u044b\u0448\u0430\u0442\u044c 100 \u041a\u0431\/\u0441. \u041f\u043e\u043b\u043e\u0447\u043a\u0443 \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u043e\u043d\u0430\u0431\u043b\u044e\u0434\u0430\u0442\u044c \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e <strong>nload<\/strong>:<\/p>\r\n\r\n<div><pre style=\"font-size: 8pt; margin: 0em; overflow: visible; width: 100%; color: black; line-height: 12pt; font-family: consolas, 'Courier New', courier, monospace; background-color: #f4f4f4; border-style: none; padding: 0px;\">~<span style=\"color: #0000ff\">&gt;<\/span> cd \/usr\/ports\/*\/nload\r\n~<span style=\"color: #0000ff\">&gt;<\/span> make install clean\r\n~<span style=\"color: #0000ff\">&gt;<\/span> rehash\r\n~<span style=\"color: #0000ff\">&gt;<\/span> nload em0\r\n# \u0433\u0434\u0435 em0 - \u0438\u043c\u044f \u0432\u0430\u0448\u0435\u0433\u043e \u0438\u043d\u0442\u0435\u0440\u0444\u0435\u0439\u0441\u0430<\/pre>\r\n<\/div>\r\n\r\n<p>\u0414\u043b\u044f \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f upload-\u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0439\u0442\u0435 \u043a\u043b\u044e\u0447 \u2013u.<\/p>\r\n\r\n<p><em>\u041f\u043e \u043c\u043e\u0442\u0438\u0432\u0430\u043c \u0437\u0430\u043c\u0435\u0442\u043a\u0438 <\/em><a title=\"https:\/\/linux.xlibs.net\/2008\/03\/21\/trickle-traffic-limiter\/\" href=\"https:\/\/linux.xlibs.net\/2008\/03\/21\/trickle-traffic-limiter\/\" target=\"_blank\"><em>trickle-traffic-limiter<\/em><\/a><em>.<\/em><\/p>\r\n\r\n<p><strong>P.S.<\/strong><\/p>\r\n\r\n<p>wget \u0438\u043c\u0435\u0435\u0442 \u0432\u0441\u0442\u0440\u043e\u0435\u043d\u043d\u0443\u044e \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u044c \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u0438\u044f \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438 \u0437\u0430\u043a\u0430\u0447\u043a\u0438, \u043a\u043b\u044e\u0447 &#8212;limit-rate<\/p>\r\n\r\n<blockquote><p>&#8212;limit-rate=20k will limit the retrieval rate to 20KB\/s.<\/p><\/blockquote>","protected":false},"excerpt":{"rendered":"\u0411\u0435\u0437\u043b\u0438\u043c\u0438\u0442\u043d\u044b\u0439 \u0438\u043d\u0442\u0435\u0440\u043d\u0435\u0442 \u0432 \u043e\u0444\u0438\u0441\u0435 \u044d\u0442\u043e \u043a\u043e\u043d\u0435\u0447\u043d\u043e \u0445\u043e\u0440\u043e\u0448\u043e :). \u041d\u043e \u0435\u0441\u043b\u0438 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u043a\u043e\u0432, \u043b\u044e\u0431\u0438\u0442\u0435\u043b\u0435\u0439 \u043f\u043e\u043a\u0430\u0447\u0430\u0442\u044c, \u0437\u0430\u0431\u0438\u0432\u0430\u044e\u0442 \u0432\u0435\u0441\u044c \u043a\u0430\u043d\u0430\u043b, \u044d\u0442\u043e \u043d\u0435 \u0435\u0441\u0442\u044c \u0445\u043e\u0440\u043e\u0448\u043e. \u0412 \u0442\u0430\u043a\u0438\u0445 \u0441\u043b\u0443\u0447\u0430\u044f\u0445 \u043f\u043e\u043c\u043e\u0433\u0430\u0435\u0442 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u043c\u0435\u043d\u0435\u0434\u0436\u0435\u0440\u043e\u0432 \u0437\u0430\u043a\u0430\u0447\u0435\u043a, \u0432 \u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u0435\u0441\u0442\u044c \u0440\u0435\u0433\u0443\u043b\u0438\u0440\u043e\u0432\u043a\u0430 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438 \u0441\u043a\u0430\u0447\u0438\u0432\u0430\u043d\u0438\u044f. \u0410 \u0435\u0441\u043b\u0438 \u0432\u044b \u043a\u0430\u0447\u0430\u0435\u0442\u0435 \u0447\u0442\u043e-\u0442\u043e \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u0438, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 wget\u2019\u043e\u043c \u0438\u043b\u0438 fetch\u2019\u0435\u043c? \u0412 \u044d\u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0432\u0430\u043c \u043f\u043e\u043c\u043e\u0436\u0435\u0442 trickle. \u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 ~&gt; cd \/usr\/ports\/*\/trickle\u2026 <span class=\"read-more\"><a href=\"https:\/\/netspider.com.ua\/index.php\/2009\/09\/02\/tricks-with-trickle\/\">\u0427\u0438\u0442\u0430\u0442\u044c \u0434\u0430\u043b\u0435\u0435 &raquo;<\/a><\/span>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[620,48,622,621,623,619,576],"class_list":["post-449","post","type-post","status-publish","format-standard","hentry","category-main","tag-fetch","tag-freebsd","tag-nload","tag-ports","tag-rate","tag-trickle","tag-wget"],"_links":{"self":[{"href":"https:\/\/netspider.com.ua\/index.php\/wp-json\/wp\/v2\/posts\/449","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/netspider.com.ua\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/netspider.com.ua\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/netspider.com.ua\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/netspider.com.ua\/index.php\/wp-json\/wp\/v2\/comments?post=449"}],"version-history":[{"count":0,"href":"https:\/\/netspider.com.ua\/index.php\/wp-json\/wp\/v2\/posts\/449\/revisions"}],"wp:attachment":[{"href":"https:\/\/netspider.com.ua\/index.php\/wp-json\/wp\/v2\/media?parent=449"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/netspider.com.ua\/index.php\/wp-json\/wp\/v2\/categories?post=449"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/netspider.com.ua\/index.php\/wp-json\/wp\/v2\/tags?post=449"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}