{"id":35,"date":"2014-05-28T08:29:00","date_gmt":"2014-05-28T08:29:00","guid":{"rendered":"http:\/\/385@jodohost.com\/\/blog\/"},"modified":"2023-01-05T16:16:02","modified_gmt":"2023-01-05T16:16:02","slug":"how-to-check-the-number-of-active-connections-on-the-linux-server","status":"publish","type":"post","link":"http:\/\/www.jodohost.com\/blog\/index.php\/2014\/05\/28\/how-to-check-the-number-of-active-connections-on-the-linux-server\/","title":{"rendered":"How to check the number of active connections on the Linux server"},"content":{"rendered":"<p>With the help of the commands below, you can check active connections on Linux server on different ports:-<\/p>\n<p>\u00a0\u00a0 netstat -ntu | grep &#8216;:143&#8217; | awk &#8216;{print $5}&#8217; | cut -d: -f1 | sort | uniq -c | sort<br \/>\u00a0\u00a0 netstat -ntu | grep &#8216;:110&#8217; | awk &#8216;{print $5}&#8217; | cut -d: -f1 | sort | uniq -c | sort<br \/>\u00a0\u00a0 netstat -ntu | grep &#8216;:25&#8217; | awk &#8216;{print $5}&#8217; | cut -d: -f1 | sort | uniq -c | sort<br \/>\u00a0\u00a0 netstat -ntu | grep &#8216;:80&#8217; | awk &#8216;{print $5}&#8217; | cut -d: -f1 | sort | uniq -c | sort<\/p>\n<p> ]]><\/p>\n","protected":false},"excerpt":{"rendered":"<p>With the help of the commands below, you can check active connections on Linux server on different ports:- \u00a0\u00a0 netstat -ntu | grep &#8216;:143&#8217; | awk &#8216;{print $5}&#8217; | cut -d: -f1 | sort | uniq -c | sort\u00a0\u00a0 netstat -ntu | grep &#8216;:110&#8217; | awk &#8216;{print $5}&#8217; | cut -d: -f1 | sort | [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[2],"tags":[],"_links":{"self":[{"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/35"}],"collection":[{"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=35"}],"version-history":[{"count":1,"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/35\/revisions"}],"predecessor-version":[{"id":329,"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/posts\/35\/revisions\/329"}],"wp:attachment":[{"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=35"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=35"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.jodohost.com\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=35"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}