{"id":114,"date":"2018-02-09T11:00:47","date_gmt":"2018-02-09T11:00:47","guid":{"rendered":"http:\/\/www.maburro.com\/?p=114"},"modified":"2020-12-22T18:12:54","modified_gmt":"2020-12-22T17:12:54","slug":"saber-cuanta-memoria-ram-tengo-en-linux","status":"publish","type":"post","link":"https:\/\/robermb.com\/blog\/geeks\/unix\/saber-cuanta-memoria-ram-tengo-en-linux\/","title":{"rendered":"Saber cuanta memoria RAM tengo en Linux"},"content":{"rendered":"<h3>Comando para mostrar la memoria RAM<\/h3>\n<p>Con el <strong>comando free<\/strong> mostramos informaci\u00f3n de la memoria RAM de nuestra m\u00e1quina linux, como la <strong>memoria total<\/strong>, <strong>memoria utilizada<\/strong>, <strong>memoria libre<\/strong>, etc.<\/p>\n<p>Ejemplo:<\/p>\n<p><code><strong># free<\/strong><br \/>\ntotal used free shared buffers cached<br \/>\nMem: 3913388 3521792 391596 0 124596 2969828<br \/>\n-\/+ buffers\/cache: 427368 3486020<br \/>\nSwap: 4192956 284 4192672<\/code><\/p>\n<p>Tambi\u00e9n podemos mostrar informaci\u00f3n de la memoria utilizando el filesystem especial <strong>\/proc<\/strong> con el siguiente comando:<\/p>\n<p><code><strong># cat \/proc\/meminfo<\/strong><br \/>\nMemTotal: 3913388 kB<br \/>\nMemFree: 390604 kB<br \/>\nBuffers: 125360 kB<br \/>\nCached: 2969840 kB<br \/>\nSwapCached: 0 kB<br \/>\nActive: 528848 kB<br \/>\nInactive: 2778596 kB<br \/>\nHighTotal: 0 kB<br \/>\nHighFree: 0 kB<br \/>\nLowTotal: 3913388 kB<br \/>\nLowFree: 390604 kB<br \/>\nSwapTotal: 4192956 kB<br \/>\nSwapFree: 4192672 kB<br \/>\nDirty: 120 kB<br \/>\nWriteback: 0 kB<br \/>\nAnonPages: 212212 kB<br \/>\nMapped: 33240 kB<br \/>\nSlab: 89484 kB<br \/>\nPageTables: 12504 kB<br \/>\nNFS_Unstable: 0 kB<br \/>\nBounce: 0 kB<br \/>\nCommitLimit: 6149648 kB<br \/>\nCommitted_AS: 671164 kB<br \/>\nVmallocTotal: 34359738367 kB<br \/>\nVmallocUsed: 292636 kB<br \/>\nVmallocChunk: 34359444715 kB<br \/>\nHugePages_Total: 0<br \/>\nHugePages_Free: 0<br \/>\nHugePages_Rsvd: 0<br \/>\nHugepagesize: 2048 kB<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Comando para mostrar la memoria RAM Con el comando free mostramos informaci\u00f3n de la memoria RAM de nuestra m\u00e1quina linux, &hellip; <a href=\"https:\/\/robermb.com\/blog\/geeks\/unix\/saber-cuanta-memoria-ram-tengo-en-linux\/\" class=\"more-link\">More <span class=\"screen-reader-text\">Saber cuanta memoria RAM tengo en Linux<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":1860,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[35,48],"_links":{"self":[{"href":"https:\/\/robermb.com\/blog\/wp-json\/wp\/v2\/posts\/114"}],"collection":[{"href":"https:\/\/robermb.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/robermb.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/robermb.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/robermb.com\/blog\/wp-json\/wp\/v2\/comments?post=114"}],"version-history":[{"count":13,"href":"https:\/\/robermb.com\/blog\/wp-json\/wp\/v2\/posts\/114\/revisions"}],"predecessor-version":[{"id":1815,"href":"https:\/\/robermb.com\/blog\/wp-json\/wp\/v2\/posts\/114\/revisions\/1815"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/robermb.com\/blog\/wp-json\/wp\/v2\/media\/1860"}],"wp:attachment":[{"href":"https:\/\/robermb.com\/blog\/wp-json\/wp\/v2\/media?parent=114"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/robermb.com\/blog\/wp-json\/wp\/v2\/categories?post=114"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/robermb.com\/blog\/wp-json\/wp\/v2\/tags?post=114"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}