{"id":1071,"date":"2011-07-17T18:33:08","date_gmt":"2011-07-17T16:33:08","guid":{"rendered":"https:\/\/thebc.ch\/blog\/?p=1071"},"modified":"2013-02-01T12:52:03","modified_gmt":"2013-02-01T11:52:03","slug":"netzwerkgeschwindigkeit-messen-mit-netcat-und-pipe-viewer","status":"publish","type":"post","link":"https:\/\/thebc.ch\/blog\/?p=1071","title":{"rendered":"Netzwerkgeschwindigkeit messen mit netcat und pipe viewer"},"content":{"rendered":"<ol>\n<li>Netcat auf Maschine 1 im \u00e2\u20ac\u0153listening-modus\u00e2\u20ac\u009d starten,\u00c2\u00a0 mit zwischen-geschaltetem pipe viewer:<br \/>\n<\/p>\n<pre>nc -l -n 12345 | pv -tbr &gt; \/dev\/null<\/pre>\n<\/li>\n<li>Netcat auf Maschine 2 starten und Daten an Maschine 1 schicken:<br \/>\n<\/p>\n<pre>time yes | nc -n 192.168.1.34 12345 &gt; \/dev\/null<\/pre>\n<\/li>\n<li>Nach ein paar Sekunden die Daten\u00c3\u00bcbertragung auf Maschine  2 abbrechen (ctrl + c). Der\u00c2\u00a0 Output auf Maschine 1 m\u00c3\u00bcsste dann in etwa so aussehen:<br \/>\n<\/p>\n<pre>151MB 0:00:56 [90,47MB\/s]<\/pre>\n<\/li>\n<li>Fertig. Falls jetzt etwas nicht funktionierte, dann ist wahrscheinlich die Firefall auf Machine 1 aktiv (tempor\u00c3\u00a4r deaktivieren).<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Netcat auf Maschine 1 im \u00e2\u20ac\u0153listening-modus\u00e2\u20ac\u009d starten,\u00c2\u00a0 mit zwischen-geschaltetem pipe viewer: nc -l -n 12345 | pv -tbr &gt; \/dev\/null Netcat auf Maschine 2 starten und Daten an Maschine 1 schicken: time yes | nc -n 192.168.1.34 12345 &gt; \/dev\/null &hellip; <a href=\"https:\/\/thebc.ch\/blog\/?p=1071\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7,5,16],"tags":[36,38,37],"class_list":["post-1071","post","type-post","status-publish","format-standard","hentry","category-hardware","category-linux","category-software","tag-netcat","tag-network","tag-pipe-viewer"],"_links":{"self":[{"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1071","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1071"}],"version-history":[{"count":6,"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1071\/revisions"}],"predecessor-version":[{"id":2649,"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=\/wp\/v2\/posts\/1071\/revisions\/2649"}],"wp:attachment":[{"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1071"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1071"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1071"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}