{"id":43,"date":"2020-04-12T17:06:07","date_gmt":"2020-04-12T16:06:07","guid":{"rendered":"https:\/\/blog.thomarite.uk\/?p=43"},"modified":"2020-04-13T09:50:52","modified_gmt":"2020-04-13T08:50:52","slug":"linux-network-monitoring","status":"publish","type":"post","link":"https:\/\/blog.thomarite.uk\/index.php\/2020\/04\/12\/linux-network-monitoring\/","title":{"rendered":"Linux network monitoring"},"content":{"rendered":"\n<p>I use gkrellm as my linux monitoring app. I have used it since I started but something I miss is I would like to know what app and destination IPs are causing a traffic spike in my laptop. <\/p>\n\n\n\n<p>Searching a bit a come up with this page with several tools:<\/p>\n\n\n\n<figure class=\"wp-block-embed-wordpress wp-block-embed is-type-wp-embed is-provider-binarytides\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"UIUZEZFXuH\"><a href=\"https:\/\/www.binarytides.com\/linux-commands-monitor-network\/\">18 commands to monitor network bandwidth on Linux server<\/a><\/blockquote><iframe loading=\"lazy\" title=\"&#8220;18 commands to monitor network bandwidth on Linux server&#8221; &#8212; BinaryTides\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" src=\"https:\/\/www.binarytides.com\/linux-commands-monitor-network\/embed\/#?secret=UIUZEZFXuH\" data-secret=\"UIUZEZFXuH\" width=\"600\" height=\"338\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<p>Based on my requirement, it seems I need two apps. <\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>nethogs: For finding out the process triggering the traffic spike<\/li><\/ul>\n\n\n\n<ul class=\"wp-block-list\"><li>pktstat: For finding out the IPs involved.<\/li><\/ul>\n\n\n\n<p>Now it is case of remembering the commands \ud83d\ude42 But as far as I have tested. It seems they can do the job.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I use gkrellm as my linux monitoring app. I have used it since I started but something I miss is I would like to know what app and destination IPs are causing a traffic spike in my laptop. Searching a bit a come up with this page with several tools: Based on my requirement, it &hellip; <a href=\"https:\/\/blog.thomarite.uk\/index.php\/2020\/04\/12\/linux-network-monitoring\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Linux network monitoring&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,2],"tags":[],"class_list":["post-43","post","type-post","status-publish","format-standard","hentry","category-unix","category-networks"],"_links":{"self":[{"href":"https:\/\/blog.thomarite.uk\/index.php\/wp-json\/wp\/v2\/posts\/43","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.thomarite.uk\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.thomarite.uk\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.thomarite.uk\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.thomarite.uk\/index.php\/wp-json\/wp\/v2\/comments?post=43"}],"version-history":[{"count":1,"href":"https:\/\/blog.thomarite.uk\/index.php\/wp-json\/wp\/v2\/posts\/43\/revisions"}],"predecessor-version":[{"id":44,"href":"https:\/\/blog.thomarite.uk\/index.php\/wp-json\/wp\/v2\/posts\/43\/revisions\/44"}],"wp:attachment":[{"href":"https:\/\/blog.thomarite.uk\/index.php\/wp-json\/wp\/v2\/media?parent=43"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.thomarite.uk\/index.php\/wp-json\/wp\/v2\/categories?post=43"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.thomarite.uk\/index.php\/wp-json\/wp\/v2\/tags?post=43"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}