{"id":1024,"date":"2017-12-14T16:02:36","date_gmt":"2017-12-14T16:02:36","guid":{"rendered":"https:\/\/pandorafms.com\/library\/?p=1024"},"modified":"2017-12-14T16:03:09","modified_gmt":"2017-12-14T16:03:09","slug":"free-inodes-on-linux","status":"publish","type":"post","link":"https:\/\/pandorafms.com\/library\/free-inodes-on-linux\/","title":{"rendered":"Free inodes on Linux"},"content":{"rendered":"<p class=\"description_pui\">It returns the percentage of free i\u00adnodes of one partition<\/p>\n<h2>Module data<\/h2>\n<pre>module_begin\u00a0\r\nmodule_name Free inodos \/\u00a0\r\nmodule_type generic_data\u00a0\r\nmodule_exec df \u00adi | grep \u00adE \"\/$\" | awk '{print 100\u00ad(($3\/$2)*100)}'\u00a0\r\nmodule_max 100\u00a0\r\nmodule_min 0\u00a0\r\nmodule_description Percentage Free i\u00adnodos\u00a0\r\nmodule_end<\/pre>\n<p>\u00a0<\/p>\n<p>For Ubuntu:\u00a0<\/p>\n<pre>\r\nmodule_exec echo \u00adn $(( 100 \u00ad `df \u00adi | grep \u00adE \"\/$\" | awk '{print $5}' | tr \u00add \u201c%\u201d`))\u00a0\r\nFor Suse:\u00a0\r\nmodule_exec echo \u00adn $((100 \u00ad `df \u00adi | grep \u00adE \u201c\/$\u201d | awk '{print $5}' | tr \u00add \u201c\\n\u201d | awk \u00adF \u201c%\u201d\u00a0\r\n'{print $1}' `))<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>It returns the percentage of free i\u00adnodes of one partition Module data module_begin\u00a0 module_name Free inodos \/\u00a0 module_type generic_data\u00a0 module_exec df \u00adi | grep \u00adE &#8220;\/$&#8221; | awk &#8216;{print 100\u00ad(($3\/$2)*100)}&#8217;\u00a0 module_max 100\u00a0 module_min 0\u00a0 module_description Percentage Free i\u00adnodos\u00a0 module_end \u00a0 For Ubuntu:\u00a0 module_exec echo \u00adn $(( 100 \u00ad `df \u00adi | grep \u00adE &#8220;\/$&#8221; | [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"categories":[25,6],"tags":[273,274],"_links":{"self":[{"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/posts\/1024"}],"collection":[{"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/comments?post=1024"}],"version-history":[{"count":0,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/posts\/1024\/revisions"}],"wp:attachment":[{"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/media?parent=1024"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/categories?post=1024"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/tags?post=1024"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}