{"id":815,"date":"2016-07-29T23:38:09","date_gmt":"2016-07-29T18:08:09","guid":{"rendered":"http:\/\/www.middlewareprimer.com\/blog\/?p=815"},"modified":"2016-07-29T23:38:09","modified_gmt":"2016-07-29T18:08:09","slug":"datapower-statistics-cli-command","status":"publish","type":"post","link":"http:\/\/www.middlewareprimer.com\/blog\/2016\/07\/29\/datapower-statistics-cli-command\/","title":{"rendered":"DataPower statistics cli command"},"content":{"rendered":"<p>DataPower statistics cli command is useful to enable statistics on the appliance while viewing the current utilization of CPU or Memory.<\/p>\n<p>Initially after the appliance is installed, Statistics will be disabled. In most of the cases we navigate to Datapower appliance WebGUI and enable the statistics. This is an easier way of enabling the statistics. I recently faced an access issue and was in need of enabling the Statistics for showing the CPU utilization to the customer.<\/p>\n<p>When I input the command show cpu, it gave me a message stating that statistics is disabled. Follow below process to enable statistics in cli command window.<\/p>\n<p>1. Navigate to console and issue below command,<\/p>\n<p>show cpu<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-816 size-full\" src=\"http:\/\/www.middlewareprimer.com\/blog\/wp-content\/uploads\/2016\/07\/dpcpu4.png\" alt=\"DataPower statistics cli command\" width=\"204\" height=\"141\" \/><\/p>\n<p>2. Issue below commands to enable statistics,<\/p>\n<p>configure terminal<\/p>\n<p>statistics<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-812 size-full\" src=\"http:\/\/www.middlewareprimer.com\/blog\/wp-content\/uploads\/2016\/07\/dpcpu2.png\" alt=\"DataPower statistics cli command\" width=\"238\" height=\"87\" \/><\/p>\n<p>statistics will be enabled after issuing the command.<\/p>\n<p>3. Exit from the page and issue below command to check CPU utilization.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-813 size-full\" src=\"http:\/\/www.middlewareprimer.com\/blog\/wp-content\/uploads\/2016\/07\/dpcpu3.png\" alt=\"DataPower statistics cli command\" width=\"558\" height=\"112\" srcset=\"http:\/\/www.middlewareprimer.com\/blog\/wp-content\/uploads\/2016\/07\/dpcpu3.png 558w, http:\/\/www.middlewareprimer.com\/blog\/wp-content\/uploads\/2016\/07\/dpcpu3-300x60.png 300w\" sizes=\"auto, (max-width: 558px) 100vw, 558px\" \/><\/p>\n<p>4. To disable statistics issue below command. (move to configure terminal mode again)<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-817 size-full\" src=\"http:\/\/www.middlewareprimer.com\/blog\/wp-content\/uploads\/2016\/07\/dpcpu5.png\" alt=\"DataPower statistics cli command\" width=\"270\" height=\"123\" \/><\/p>\n<p>DataPower Knowledge center link for reference <a href=\"http:\/\/www.ibm.com\/support\/knowledgecenter\/SS9H2Y_7.5.0\/com.ibm.dp.doc\/statistics_global.html\" target=\"_blank\"><span style=\"text-decoration: underline;\"><strong>here<\/strong><\/span><\/a>.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>DataPower statistics cli command is useful to enable statistics on the appliance while viewing the current utilization of CPU or Memory. Initially after the appliance is installed, Statistics will be disabled. In most of the cases we navigate to Datapower appliance WebGUI and enable the statistics. This is an easier way of enabling the statistics. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[22],"tags":[42,237,238,239],"class_list":["post-815","post","type-post","status-publish","format-standard","hentry","category-ibm-websphere-datapower","tag-datapower","tag-datapower-statistics-cli","tag-dp-cli","tag-dp-v7-1"],"_links":{"self":[{"href":"http:\/\/www.middlewareprimer.com\/blog\/wp-json\/wp\/v2\/posts\/815","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.middlewareprimer.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.middlewareprimer.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.middlewareprimer.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.middlewareprimer.com\/blog\/wp-json\/wp\/v2\/comments?post=815"}],"version-history":[{"count":1,"href":"http:\/\/www.middlewareprimer.com\/blog\/wp-json\/wp\/v2\/posts\/815\/revisions"}],"predecessor-version":[{"id":818,"href":"http:\/\/www.middlewareprimer.com\/blog\/wp-json\/wp\/v2\/posts\/815\/revisions\/818"}],"wp:attachment":[{"href":"http:\/\/www.middlewareprimer.com\/blog\/wp-json\/wp\/v2\/media?parent=815"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.middlewareprimer.com\/blog\/wp-json\/wp\/v2\/categories?post=815"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.middlewareprimer.com\/blog\/wp-json\/wp\/v2\/tags?post=815"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}