{"id":11522,"date":"2019-03-14T10:45:51","date_gmt":"2019-03-14T10:45:51","guid":{"rendered":"http:\/\/www.appservgrid.com\/paw92\/?p=11522"},"modified":"2019-03-14T10:45:51","modified_gmt":"2019-03-14T10:45:51","slug":"rtop-an-interactive-tool-to-monitor-remote-linux-server-over-ssh","status":"publish","type":"post","link":"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/14\/rtop-an-interactive-tool-to-monitor-remote-linux-server-over-ssh\/","title":{"rendered":"rtop \u2013 An Interactive Tool to Monitor Remote Linux Server Over SSH"},"content":{"rendered":"<p><strong>rtop<\/strong>\u00a0is a straightforward and interactive,\u00a0<a href=\"https:\/\/www.tecmint.com\/command-line-tools-to-monitor-linux-performance\/\" target=\"_blank\" rel=\"noopener\">remote system monitoring tool<\/a>\u00a0based on SSH that collects and shows important system performance values such as\u00a0<strong>CPU<\/strong>,\u00a0<strong>disk<\/strong>,\u00a0<strong>memory<\/strong>,\u00a0<strong>network metrics<\/strong>.<\/p>\n<p>It is written in\u00a0<a href=\"https:\/\/www.tecmint.com\/install-go-in-linux\/\" target=\"_blank\" rel=\"noopener\">Go Language<\/a>\u00a0and does not require any extra programs to be installed on the server that you want to monitor except SSH server and working credentials.<\/p>\n<p><strong>rtop<\/strong>\u00a0basically functions by launching an SSH session, and\u00a0<a href=\"https:\/\/www.tecmint.com\/execute-commands-on-multiple-linux-servers-using-pssh\/\" target=\"_blank\" rel=\"noopener\">executing certain commands on the remote server<\/a>\u00a0to gather various system performance information.<\/p>\n<p>Once an SSH session is been established, it keeps refreshing the information collected from the remote server every few seconds (<strong>5<\/strong>\u00a0seconds by default), similar to all other\u00a0<a href=\"https:\/\/www.tecmint.com\/install-htop-linux-process-monitoring-for-rhel-centos-fedora\/\" target=\"_blank\" rel=\"noopener\">top-like utilities (like htop)<\/a>\u00a0in Linux.<\/p>\n<h4>Prerequisites:<\/h4>\n<p>Make sure you have installed\u00a0<strong>Go<\/strong>\u00a0(<strong>GoLang<\/strong>)\u00a0<strong>1.2<\/strong>\u00a0or higher on your Linux system in order to install\u00a0<strong>rtop<\/strong>, otherwise click on the link below to follow the GoLang installation steps:<\/p>\n<ol>\n<li><a href=\"https:\/\/www.tecmint.com\/install-go-in-linux\/\" target=\"_blank\" rel=\"noopener\">Install GoLang (Go Programming Language) in Linux<\/a><\/li>\n<\/ol>\n<h3>How to Install rtop in Linux Systems<\/h3>\n<p>If you have\u00a0<strong>Go<\/strong>\u00a0installed, run the command below to build\u00a0<strong>rtop<\/strong>:<\/p>\n<pre>$ go get github.com\/rapidloop\/rtop\r\n<\/pre>\n<p>The rtop executable binary will be saved in\u00a0<strong>$GOPATH\/bin<\/strong>\u00a0or\u00a0<strong>$GOBIN<\/strong>\u00a0once the command completes executing.<\/p>\n<div id=\"attachment_24502\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/02\/Build-rtop-Tool.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-24502\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/02\/Build-rtop-Tool.png\" alt=\"Build rtop in Linux\" width=\"561\" height=\"78\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">Build rtop in Linux<\/p>\n<\/div>\n<p><strong>Note<\/strong>: You do not need any runtime dependencies or configurations to start using\u00a0<strong>rtop<\/strong>.<\/p>\n<h3>How to Use rtop in Linux Systems<\/h3>\n<p>Try to run\u00a0<strong>rtop<\/strong>\u00a0without any flags and arguments as below, it will display a usage message:<\/p>\n<pre>$ $GOBIN\/rtop\r\n<\/pre>\n<h5>Sample Output<\/h5>\n<pre>rtop 1.0 - (c) 2015 RapidLoop - MIT Licensed - http:\/\/rtop-monitor.org\r\nrtop monitors server statistics over an ssh connection\r\n\r\nUsage: rtop [-i private-key-file] [user@]host[:port] [interval]\r\n\r\n\t-i private-key-file\r\n\t\tPEM-encoded private key file to use (default: ~\/.ssh\/id_rsa if present)\r\n\t[user@]host[:port]\r\n\t\tthe SSH server to connect to, with optional username and port\r\n\tinterval\r\n\t\trefresh interval in seconds (default: 5)\r\n<\/pre>\n<p>Now let\u2019s monitor the remote Linux server using\u00a0<strong>rtop<\/strong>\u00a0as follows, while refreshing the information gathered after an interval of 5 seconds by default:<\/p>\n<pre>$ $GOBIN\/rtop   aaronkilik@10.42.0.1 \r\n<\/pre>\n<div id=\"attachment_24503\" class=\"wp-caption aligncenter\">\n<p><a href=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/02\/Monitor-Remote-Linux-Server.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-24503\" src=\"https:\/\/www.tecmint.com\/wp-content\/uploads\/2017\/02\/Monitor-Remote-Linux-Server.png\" alt=\"rtop - Monitor Remote Linux Server\" width=\"707\" height=\"686\" data-lazy-loaded=\"true\" \/><\/a><\/p>\n<p class=\"wp-caption-text\">rtop \u2013 Monitor Remote Linux Server<\/p>\n<\/div>\n<p>The command below will refresh the system performance metrics collected after every\u00a0<strong>10<\/strong>\u00a0seconds:<\/p>\n<pre>$ $GOBIN\/rtop aaronkilik@10.42.0.1 10\r\n<\/pre>\n<p>rtop can also connect using ssh-agent,\u00a0<a href=\"https:\/\/www.tecmint.com\/ssh-passwordless-login-using-ssh-keygen-in-5-easy-steps\/\" target=\"_blank\" rel=\"noopener\">private keys<\/a>\u00a0or password authentication.<\/p>\n<p>Visit rtop Github repository:\u00a0<a href=\"https:\/\/github.com\/rapidloop\/rtop\" target=\"_blank\" rel=\"nofollow noopener\">https:\/\/github.com\/rapidloop\/rtop<\/a><\/p>\n<p>As a concluding remark,\u00a0<strong>rtop<\/strong>\u00a0is a simple and easy-to-use remote server monitoring tool, it uses very few and direct options. You can as well read about several other\u00a0<a href=\"https:\/\/www.tecmint.com\/command-line-tools-to-monitor-linux-performance\/\" target=\"_blank\" rel=\"noopener\">command line tools to monitor your system<\/a>\u00a0so as to improve your\u00a0<a href=\"https:\/\/www.tecmint.com\/linux-performance-monitoring-tools\/\" target=\"_blank\" rel=\"noopener\">Linux performance monitoring<\/a>\u00a0skills.<\/p>\n<p>Lastly, get in touch with us via the comment section below for any questions or remarks.<\/p>\n<p><a href=\"https:\/\/www.tecmint.com\/rtop-monitor-remote-linux-server-over-ssh\/\" target=\"_blank\" rel=\"noopener\">Source<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>rtop\u00a0is a straightforward and interactive,\u00a0remote system monitoring tool\u00a0based on SSH that collects and shows important system performance values such as\u00a0CPU,\u00a0disk,\u00a0memory,\u00a0network metrics. It is written in\u00a0Go Language\u00a0and does not require any extra programs to be installed on the server that you want to monitor except SSH server and working credentials. rtop\u00a0basically functions by launching an SSH &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.appservgrid.com\/paw92\/index.php\/2019\/03\/14\/rtop-an-interactive-tool-to-monitor-remote-linux-server-over-ssh\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;rtop \u2013 An Interactive Tool to Monitor Remote Linux Server Over SSH&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-11522","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/11522","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/comments?post=11522"}],"version-history":[{"count":1,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/11522\/revisions"}],"predecessor-version":[{"id":11523,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/posts\/11522\/revisions\/11523"}],"wp:attachment":[{"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/media?parent=11522"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/categories?post=11522"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appservgrid.com\/paw92\/index.php\/wp-json\/wp\/v2\/tags?post=11522"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}