{"id":57,"date":"2014-02-12T19:14:34","date_gmt":"2014-02-12T19:14:34","guid":{"rendered":"https:\/\/qbytes.cloud\/?p=28"},"modified":"2014-02-12T19:14:34","modified_gmt":"2014-02-12T19:14:34","slug":"mytop","status":"publish","type":"post","link":"https:\/\/www.qbytes.cloud\/index.php\/2014\/02\/12\/mytop\/","title":{"rendered":"Mytop"},"content":{"rendered":"<p>Install the repository<br \/>\nCentOS 5.x <\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\nrpm -Uhv http:\/\/apt.sw.be\/redhat\/el5\/en\/i386\/rpmforge\/RPMS\/rpmforge-release-0.3.6-1.el5.rf.i386.rpm\n<\/pre>\n<p>CentOS 6.x 64 bit<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\nrpm -Uhv http:\/\/apt.sw.be\/redhat\/el6\/en\/i386\/rpmforge\/RPMS\/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm\n<\/pre>\n<p>Install mytop<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\nyum -y install mytop\n<\/pre>\n<p>Configuration<\/p>\n<p>Odds are, you will get an error initially running this program unless you configure it first.<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\nwhereis mytop\n<\/pre>\n<p>Example: \/usr\/bin\/mytop or \/usr\/local\/bin\/mytop<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\nnano \/usr\/bin\/mytop or nano \/usr\/local\/bin\/mytop\n<\/pre>\n<p>Locate the following lines:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\nmy %config = (\ndelay =&gt; 5,\nhost =&gt; \u2018localhost\u2019,\ndb =&gt; \u2018test\u2019,\nuser =&gt; \u2018root\u2019, \u2026\n<\/pre>\n<p>change the following line and save the file:<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\ndb =&gt; \u2018mysql\u2019,\nRun mytop\n<\/pre>\n<p>Plesk<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\nmytop -u admin -p`cat \/etc\/psa\/.psa.shadow`\n<\/pre>\n<p>WHM \/ cPanel<\/p>\n<pre class=\"brush: bash; title: ; notranslate\" title=\"\">\nmytop\n<\/pre>\n<p>Now &#8211; go here to learn how to use it!<br \/>\n<a href=\"http:\/\/linux.die.net\/man\/1\/mytop\" target=\"_blank\" rel=\"noopener\">http:\/\/linux.die.net\/man\/1\/mytop<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Install the repository CentOS 5.x rpm -Uhv http:\/\/apt.sw.be\/redhat\/el5\/en\/i386\/rpmforge\/RPMS\/rpmforge-release-0.3.6-1.el5.rf.i386.rpm CentOS 6.x 64 bit rpm -Uhv http:\/\/apt.sw.be\/redhat\/el6\/en\/i386\/rpmforge\/RPMS\/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm Install mytop yum -y install mytop Configuration Odds are, you will get an error initially running this program unless you configure it first. whereis mytop Example: \/usr\/bin\/mytop or \/usr\/local\/bin\/mytop nano \/usr\/bin\/mytop or nano \/usr\/local\/bin\/mytop Locate the following lines: my %config &#8230; <a title=\"Mytop\" class=\"read-more\" href=\"https:\/\/www.qbytes.cloud\/index.php\/2014\/02\/12\/mytop\/\" aria-label=\"Read more about Mytop\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[70],"tags":[],"class_list":["post-57","post","type-post","status-publish","format-standard","hentry","category-mysql"],"_links":{"self":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/57","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/comments?post=57"}],"version-history":[{"count":0,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/posts\/57\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/media?parent=57"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/categories?post=57"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.qbytes.cloud\/index.php\/wp-json\/wp\/v2\/tags?post=57"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}