{"id":5637,"date":"2018-07-26T13:43:09","date_gmt":"2018-07-26T16:43:09","guid":{"rendered":"http:\/\/wiki3.locaweb.com.br\/?post_type=ht_kb&#038;p=5637"},"modified":"2024-05-23T18:21:40","modified_gmt":"2024-05-23T21:21:40","slug":"como-verificar-o-desempenho-revenda-cpanel","status":"publish","type":"ht_kb","link":"https:\/\/www.locaweb.com.br\/ajuda\/wiki\/como-verificar-o-desempenho-revenda-cpanel\/","title":{"rendered":"Como verificar o desempenho &#8211; Revenda cPanel VPS"},"content":{"rendered":"<p><strong>Obs:<\/strong> O acesso <strong>SSH<\/strong> s\u00f3 est\u00e1 dispon\u00edvel nos planos de revenda <strong>cPanel VPS.<\/strong><\/p>\n<p>Caso ocorra lentid\u00e3o em seu servidor, \u00e9 poss\u00edvel identificar quais processos do dom\u00ednio est\u00e1 gerando a dificuldade e tamb\u00e9m acompanhar o desempenho do seu servidor, atrav\u00e9s do acesso SSH.<\/p>\n    \t\t<div class=\"hts-messages hts-messages--alert   hts-messages--withicon \"   >\r\n    \t\t\t    \t\t\t    \t\t\t\t<p>\r\n    \t\t\t\t\tPor mais que nas revendas <strong>cPanel VPS<\/strong> tenha acesso SSH, o acesso <strong>ROOT <\/strong>n\u00e3o \u00e9 liberado, somente n\u00edvel usu\u00e1rio.<\/p>\n<p>Apenas os servi\u00e7os <a href=\"https:\/\/www.locaweb.com.br\/cloud\/\">Cloud<\/a> s\u00e3o totalmente dedicados, nestes servi\u00e7os o acesso <strong>ROOT<\/strong> \u00e9 liberado para utiliza\u00e7\u00e3o.     \t\t\t\t<\/p>\r\n    \t\t\t    \t\t\t\r\n    \t\t<\/div><!-- \/.ht-shortcodes-messages -->\r\n    \t\t\n<h3><strong>Via SSH<\/strong><\/h3>\n    \t\t<div class=\"hts-toggle  \"  >\r\n    \t\t\t<div class=\"hts-toggle__title\">Comando FREE<\/div>\r\n    \t\t\t<div class=\"hts-toggle__content\">\r\n    \t\t\t\t<div class=\"hts-toggle__contentwrap\">\r\n    \t\t\t\t\t<\/p>\n<p>Mostra a quantidade total de mem\u00f3ria livre e utilizada no sistema, tanto a mem\u00f3ria f\u00edsica como a de swap, bem como os buffers utilizados pelo kernel.<\/p>\n<ul>\n<li>A coluna de mem\u00f3ria compartilhada (\u201cshared\u201d) deve ser ignorada, est\u00e1 obsoleta.<\/li>\n<li><strong>Exemplos do comando:\u00a0free -h<\/strong><\/li>\n<li>Modo \u201chumano\u201d, ou seja, mostra em Mega ou em Giga.<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5642\" src=\"https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2018\/07\/Como-verificar-o-desempenho-Revenda-cPanel-01.png\" alt=\"\" width=\"642\" height=\"48\" srcset=\"https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2018\/07\/Como-verificar-o-desempenho-Revenda-cPanel-01.png 642w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2018\/07\/Como-verificar-o-desempenho-Revenda-cPanel-01-300x22.png 300w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2018\/07\/Como-verificar-o-desempenho-Revenda-cPanel-01-50x4.png 50w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2018\/07\/Como-verificar-o-desempenho-Revenda-cPanel-01-60x4.png 60w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2018\/07\/Como-verificar-o-desempenho-Revenda-cPanel-01-100x7.png 100w\" sizes=\"auto, (max-width: 642px) 100vw, 642px\" \/><\/p>\n<p>\n    \t\t\t\t<\/div>\r\n    \t\t\t<\/div><!-- \/ht-toggle-content -->\r\n    \t\t<\/div>\r\n    \t\t\n    \t\t<div class=\"hts-toggle  \"  >\r\n    \t\t\t<div class=\"hts-toggle__title\">Comando PS e TOP<\/div>\r\n    \t\t\t<div class=\"hts-toggle__content\">\r\n    \t\t\t\t<div class=\"hts-toggle__contentwrap\">\r\n    \t\t\t\t\t<\/p>\n<p>Ferramentas como o \u2018ps\u2019 e \u2018top\u2019 relatam v\u00e1rios tipos de usos de mem\u00f3ria, tais como o tamanho da VM e o \u201cResident Set Size (RSS)\u201d.<\/p>\n<ul>\n<li>No entanto, nenhum deles informa realmente o uso da mem\u00f3ria \u201creal\u201d.<br \/>\n<strong>ps<\/strong> relat\u00f3rio instant\u00e2neo dos processos atuais.<br \/>\n<strong>top<\/strong> um \u201cps\u201d repetitivo<\/li>\n<\/ul>\n<p><strong>Exemplos dos comandos<\/strong><\/p>\n<ul>\n<li><strong>ps aux<\/strong>\u00a0&#8211; Mostrar todos os processos com informa\u00e7\u00f5es detalhadas.<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5645\" src=\"https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2018\/07\/Como-verificar-o-desempenho-Revenda-cPanel-02.png\" alt=\"\" width=\"611\" height=\"53\" srcset=\"https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2018\/07\/Como-verificar-o-desempenho-Revenda-cPanel-02.png 611w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2018\/07\/Como-verificar-o-desempenho-Revenda-cPanel-02-300x26.png 300w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2018\/07\/Como-verificar-o-desempenho-Revenda-cPanel-02-50x4.png 50w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2018\/07\/Como-verificar-o-desempenho-Revenda-cPanel-02-60x5.png 60w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2018\/07\/Como-verificar-o-desempenho-Revenda-cPanel-02-100x9.png 100w\" sizes=\"auto, (max-width: 611px) 100vw, 611px\" \/><\/p>\n<ul>\n<li><strong>ps u <\/strong>&#8211;\u00a0Exibe o nome do usu\u00e1rio que iniciou determinado processo e a hora em que isso ocorreu.<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5646\" src=\"https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2018\/07\/Como-verificar-o-desempenho-Revenda-cPanel-03.png\" alt=\"\" width=\"612\" height=\"53\" srcset=\"https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2018\/07\/Como-verificar-o-desempenho-Revenda-cPanel-03.png 612w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2018\/07\/Como-verificar-o-desempenho-Revenda-cPanel-03-300x26.png 300w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2018\/07\/Como-verificar-o-desempenho-Revenda-cPanel-03-50x4.png 50w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2018\/07\/Como-verificar-o-desempenho-Revenda-cPanel-03-60x5.png 60w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2018\/07\/Como-verificar-o-desempenho-Revenda-cPanel-03-100x9.png 100w\" sizes=\"auto, (max-width: 612px) 100vw, 612px\" \/><\/p>\n<ul>\n<li><strong>top<\/strong> &#8211; Exibe os processos em execu\u00e7\u00e3o no sistema.<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5647\" src=\"https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2018\/07\/Como-verificar-o-desempenho-Revenda-cPanel-04.png\" alt=\"\" width=\"649\" height=\"166\" srcset=\"https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2018\/07\/Como-verificar-o-desempenho-Revenda-cPanel-04.png 649w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2018\/07\/Como-verificar-o-desempenho-Revenda-cPanel-04-300x77.png 300w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2018\/07\/Como-verificar-o-desempenho-Revenda-cPanel-04-50x13.png 50w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2018\/07\/Como-verificar-o-desempenho-Revenda-cPanel-04-60x15.png 60w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2018\/07\/Como-verificar-o-desempenho-Revenda-cPanel-04-100x26.png 100w\" sizes=\"auto, (max-width: 649px) 100vw, 649px\" \/><\/p>\n<p>\n    \t\t\t\t<\/div>\r\n    \t\t\t<\/div><!-- \/ht-toggle-content -->\r\n    \t\t<\/div>\r\n    \t\t\n    \t\t<div class=\"hts-toggle  \"  >\r\n    \t\t\t<div class=\"hts-toggle__title\">Ferramenta VMSTAT<\/div>\r\n    \t\t\t<div class=\"hts-toggle__content\">\r\n    \t\t\t\t<div class=\"hts-toggle__contentwrap\">\r\n    \t\t\t\t\t<\/p>\n<p><strong>vmstat<\/strong> \u2013 virtual memory statistics, reporta informa\u00e7\u00f5es sobre processos, mem\u00f3ria, pagina\u00e7\u00e3o, blocos de IO, interrup\u00e7\u00f5es, discos e atividade da CPU.<\/p>\n<p><strong>Exemplos do comando:\u00a0<\/strong><b>vmstat -s <\/b><\/p>\n<ul>\n<li>Mostra uma tabela com a s\u00edntese de v\u00e1rios contadores de eventos e estat\u00edsticas da mem\u00f3ria.<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5649\" src=\"https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2018\/07\/Como-verificar-o-desempenho-Revenda-cPanel-05.png\" alt=\"\" width=\"674\" height=\"417\" srcset=\"https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2018\/07\/Como-verificar-o-desempenho-Revenda-cPanel-05.png 674w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2018\/07\/Como-verificar-o-desempenho-Revenda-cPanel-05-300x186.png 300w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2018\/07\/Como-verificar-o-desempenho-Revenda-cPanel-05-50x31.png 50w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2018\/07\/Como-verificar-o-desempenho-Revenda-cPanel-05-60x37.png 60w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2018\/07\/Como-verificar-o-desempenho-Revenda-cPanel-05-100x62.png 100w\" sizes=\"auto, (max-width: 674px) 100vw, 674px\" \/><\/p>\n<p>\n    \t\t\t\t<\/div>\r\n    \t\t\t<\/div><!-- \/ht-toggle-content -->\r\n    \t\t<\/div>\r\n    \t\t\n    \t\t<div class=\"hts-toggle  \"  >\r\n    \t\t\t<div class=\"hts-toggle__title\">Ferramenta LSOF - List Open Files<\/div>\r\n    \t\t\t<div class=\"hts-toggle__content\">\r\n    \t\t\t\t<div class=\"hts-toggle__contentwrap\">\r\n    \t\t\t\t\t<\/p>\n<p>Lsof comando usado em muitos Linux \/ Unix como sistema que \u00e9 usado para listar todos os arquivos abertos e os processos.<\/p>\n<p>Os arquivos abertos s\u00e3o inclu\u00eddos os arquivos do disco, sockets de rede, pipes, dispositivos e processos. Um dos principais motivos para a utiliza\u00e7\u00e3o<br \/>\ndeste comando \u00e9 quando um disco n\u00e3o pode ser mostrado e exibe o erro que os arquivos est\u00e3o sendo usados \u200b\u200bou aberto. Com este commmand voc\u00ea pode facilmente<br \/>\nidentificar quais arquivos est\u00e3o em uso.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-5650\" src=\"https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2018\/07\/Como-verificar-o-desempenho-Revenda-cPanel-06.png\" alt=\"\" width=\"734\" height=\"641\" srcset=\"https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2018\/07\/Como-verificar-o-desempenho-Revenda-cPanel-06.png 734w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2018\/07\/Como-verificar-o-desempenho-Revenda-cPanel-06-300x262.png 300w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2018\/07\/Como-verificar-o-desempenho-Revenda-cPanel-06-50x44.png 50w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2018\/07\/Como-verificar-o-desempenho-Revenda-cPanel-06-60x52.png 60w, https:\/\/www.locaweb.com.br\/ajuda\/wp-content\/uploads\/2018\/07\/Como-verificar-o-desempenho-Revenda-cPanel-06-100x87.png 100w\" sizes=\"auto, (max-width: 734px) 100vw, 734px\" \/><\/p>\n<p>\n    \t\t\t\t<\/div>\r\n    \t\t\t<\/div><!-- \/ht-toggle-content -->\r\n    \t\t<\/div>\r\n    \t\t\n    \t\t<div class=\"hts-messages hts-messages--info  hts-messages--withtitle hts-messages--withicon \"   >\r\n    \t\t\t<span class=\"hts-messages__title\">Conhe\u00e7a!<\/span>    \t\t\t    \t\t\t\t<p>\r\n    \t\t\t\t\t<span style=\"font-weight: 400;\">Aproveite e conhe\u00e7a outros produtos da Locaweb, como o<\/span><a href=\"https:\/\/www.locaweb.com.br\/smtp-locaweb\/\" target=\"_blank\" rel=\"noopener\"> <span style=\"font-weight: 400;\">SMTP<\/span><\/a><span style=\"font-weight: 400;\">. Veja tamb\u00e9m as melhores ofertas de<\/span><a href=\"https:\/\/www.locaweb.com.br\/servidor-vps\/\" target=\"_blank\" rel=\"noopener\"> <span style=\"font-weight: 400;\">VPS hosting<\/span><\/a><span style=\"font-weight: 400;\"> para seu site! <\/span><br \/>\n    \t\t\t\t<\/p>\r\n    \t\t\t    \t\t\t\r\n    \t\t<\/div><!-- \/.ht-shortcodes-messages -->\r\n    \t\t\n","protected":false},"excerpt":{"rendered":"<p>Obs: O acesso SSH s\u00f3 est\u00e1 dispon\u00edvel nos planos de revenda cPanel VPS. Caso ocorra lentid\u00e3o em seu servidor, \u00e9 poss\u00edvel identificar quais processos do dom\u00ednio est\u00e1 gerando a dificuldade e tamb\u00e9m acompanhar o desempenho do seu servidor, atrav\u00e9s do acesso SSH. Via SSH<\/p>\n","protected":false},"author":6,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"ht-kb-category":[424],"ht-kb-tag":[367,497],"class_list":["post-5637","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-vps-cpanel","ht_kb_tag-categoriarevenda-cpanel","ht_kb_tag-categoriavps-cpanel"],"_links":{"self":[{"href":"https:\/\/www.locaweb.com.br\/ajuda\/wp-json\/wp\/v2\/ht-kb\/5637","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.locaweb.com.br\/ajuda\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/www.locaweb.com.br\/ajuda\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.locaweb.com.br\/ajuda\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/www.locaweb.com.br\/ajuda\/wp-json\/wp\/v2\/comments?post=5637"}],"version-history":[{"count":10,"href":"https:\/\/www.locaweb.com.br\/ajuda\/wp-json\/wp\/v2\/ht-kb\/5637\/revisions"}],"predecessor-version":[{"id":35215,"href":"https:\/\/www.locaweb.com.br\/ajuda\/wp-json\/wp\/v2\/ht-kb\/5637\/revisions\/35215"}],"wp:attachment":[{"href":"https:\/\/www.locaweb.com.br\/ajuda\/wp-json\/wp\/v2\/media?parent=5637"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.locaweb.com.br\/ajuda\/wp-json\/wp\/v2\/ht-kb-category?post=5637"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.locaweb.com.br\/ajuda\/wp-json\/wp\/v2\/ht-kb-tag?post=5637"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}