{"id":72,"date":"2017-08-13T22:55:54","date_gmt":"2017-08-13T22:55:54","guid":{"rendered":"http:\/\/www.mrmarkyoung.com\/oracle\/?p=72"},"modified":"2017-08-13T22:55:54","modified_gmt":"2017-08-13T22:55:54","slug":"target-file-system-capacity-report","status":"publish","type":"post","link":"http:\/\/www.mrmarkyoung.com\/oracle\/2017\/08\/13\/target-file-system-capacity-report\/","title":{"rendered":"Target file system capacity report"},"content":{"rendered":"\n<pre class=\"lang:default decode:true \" >SELECT DISTINCT st.target_name, st.mountpoint,\r\n                  ROUND ( (freeb \/ 1073741824), 2) AS \"Free (GB)\",\r\n                  ROUND ( (sizeb \/ 1073741824), 2) AS \"Size (GB)\",\r\n                  ROUND ( ( ( (sizeb - freeb) \/ sizeb) * 100), 2) AS \"Used (%)\"\r\n    FROM MGMT$STORAGE_REPORT_LOCALFS st, mgmt$os_summary os\r\n   WHERE  st.target_name = os.HOST\r\n         AND st.mountpoint = '\/usr\/local\/oracle'\r\n         OR st.mountpoint LIKE '\/databases%'\r\n         OR st.mountpoint LIKE '\/archive%'\r\n         OR st.mountpoint LIKE '\/app%'\r\nORDER BY 5 DESC;<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>SELECT DISTINCT st.target_name, st.mountpoint, ROUND ( (freeb \/ 1073741824), 2) AS &#8220;Free (GB)&#8221;, ROUND ( (sizeb \/ 1073741824), 2) AS &#8220;Size (GB)&#8221;, ROUND ( ( ( (sizeb &#8211; freeb) \/ sizeb) * 100), 2) AS &#8220;Used (%)&#8221; FROM MGMT$STORAGE_REPORT_LOCALFS st, mgmt$os_summary os WHERE st.target_name = os.HOST AND st.mountpoint = &#8216;\/usr\/local\/oracle&#8217; OR st.mountpoint LIKE &#8216;\/databases%&#8217; OR &#8230; <a title=\"Target file system capacity report\" class=\"read-more\" href=\"http:\/\/www.mrmarkyoung.com\/oracle\/2017\/08\/13\/target-file-system-capacity-report\/\" aria-label=\"Read more about Target file system capacity report\">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":[7],"tags":[13],"class_list":["post-72","post","type-post","status-publish","format-standard","hentry","category-enterprise-manager","tag-capacity"],"_links":{"self":[{"href":"http:\/\/www.mrmarkyoung.com\/oracle\/wp-json\/wp\/v2\/posts\/72","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.mrmarkyoung.com\/oracle\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.mrmarkyoung.com\/oracle\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.mrmarkyoung.com\/oracle\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.mrmarkyoung.com\/oracle\/wp-json\/wp\/v2\/comments?post=72"}],"version-history":[{"count":1,"href":"http:\/\/www.mrmarkyoung.com\/oracle\/wp-json\/wp\/v2\/posts\/72\/revisions"}],"predecessor-version":[{"id":73,"href":"http:\/\/www.mrmarkyoung.com\/oracle\/wp-json\/wp\/v2\/posts\/72\/revisions\/73"}],"wp:attachment":[{"href":"http:\/\/www.mrmarkyoung.com\/oracle\/wp-json\/wp\/v2\/media?parent=72"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.mrmarkyoung.com\/oracle\/wp-json\/wp\/v2\/categories?post=72"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.mrmarkyoung.com\/oracle\/wp-json\/wp\/v2\/tags?post=72"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}