{"id":1188,"date":"2010-08-12T12:46:22","date_gmt":"2010-08-12T10:46:22","guid":{"rendered":"http:\/\/www.bdjl.de\/localhost\/?p=1188"},"modified":"2010-08-16T08:25:17","modified_gmt":"2010-08-16T06:25:17","slug":"trafficverfolgung","status":"publish","type":"post","link":"https:\/\/www.bdjl.de\/localhost\/?p=1188","title":{"rendered":"Trafficverfolgung"},"content":{"rendered":"<p>Auf der Suche nach einem Progr\u00e4mmchen, mit dem sich der Netzwerktraffic auf einer bestimmten Karte &#8222;mitlesen&#8220; l\u00e4sst, bin ich \u00fcber das praktische, kleine Tool watch gestolpert. Der folgende Befehl reicht aus, um der ersten Netzwerkkarte hinterher zu schauen:<\/p>\n<blockquote><p>watch ifconfig eth0<\/p><\/blockquote>\n<p>Dabei blendet watch andere Angaben auf der Shell aus:<\/p>\n<p><a href=\"http:\/\/www.bdjl.de\/localhost\/wp-content\/uploads\/2010\/08\/dirk@server-_001.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-1190\" title=\"dirk@server: ~_001\" src=\"http:\/\/www.bdjl.de\/localhost\/wp-content\/uploads\/2010\/08\/dirk@server-_001-450x319.png\" alt=\"\" width=\"450\" height=\"319\" srcset=\"https:\/\/www.bdjl.de\/localhost\/wp-content\/uploads\/2010\/08\/dirk@server-_001-450x319.png 450w, https:\/\/www.bdjl.de\/localhost\/wp-content\/uploads\/2010\/08\/dirk@server-_001.png 660w\" sizes=\"auto, (max-width: 450px) 100vw, 450px\" \/><\/a><\/p>\n<p>Selbstverst\u00e4ndlich lassen sich damit auch die \u00fcblichen ps aux und grep Kombinationen einrichten &#8211; man muss hierzu lediglich die Befehlskombination in Anf\u00fchrungszeichen verpacken:<\/p>\n<blockquote><p>watch &#8218;ps aux | grep foo&#8216;<\/p><\/blockquote>\n<p>Im default mode liest watch alle 2 Sekunden. Wer andere Zeiten will, kann diese mit -n angeben. Mehr hierzu in der man Page: <a title=\"man\" href=\"http:\/\/ss64.com\/bash\/watch.html\" target=\"_blank\">http:\/\/ss64.com\/bash\/watch.html<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Auf der Suche nach einem Progr\u00e4mmchen, mit dem sich der Netzwerktraffic auf einer bestimmten Karte &#8222;mitlesen&#8220; l\u00e4sst, bin ich \u00fcber das praktische, kleine Tool watch gestolpert. Der folgende Befehl reicht aus, um der ersten Netzwerkkarte hinterher zu schauen: watch ifconfig eth0 Dabei blendet watch andere Angaben auf der Shell aus: Selbstverst\u00e4ndlich lassen sich damit auch [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,18],"tags":[],"class_list":["post-1188","post","type-post","status-publish","format-standard","hentry","category-linux","category-memo"],"_links":{"self":[{"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=\/wp\/v2\/posts\/1188","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1188"}],"version-history":[{"count":8,"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=\/wp\/v2\/posts\/1188\/revisions"}],"predecessor-version":[{"id":1235,"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=\/wp\/v2\/posts\/1188\/revisions\/1235"}],"wp:attachment":[{"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1188"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1188"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bdjl.de\/localhost\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1188"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}