{"id":316,"date":"2019-10-21T19:44:49","date_gmt":"2019-10-21T17:44:49","guid":{"rendered":"http:\/\/linuxboxen2.dk\/?p=316"},"modified":"2019-10-21T19:44:49","modified_gmt":"2019-10-21T17:44:49","slug":"free","status":"publish","type":"post","link":"https:\/\/www.linuxboxen.dk\/?p=316","title":{"rendered":"FREE"},"content":{"rendered":"<p>FREE(1)\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 User Commands\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 FREE(1)<\/p>\n<p>NAME<\/p>\n<p>free &#8211; Display amount of free and used memory in the system<\/p>\n<p>SYNOPSIS<\/p>\n<p>free [options]<\/p>\n<p>DESCRIPTION<\/p>\n<p>free displays the total amount of free and used physical and swap<br \/>\nmemory in the system, as well as the buffers and caches used by the<br \/>\nkernel. The information is gathered by parsing \/proc\/meminfo. The<br \/>\ndisplayed columns are:<\/p>\n<p>total\u00a0 Total installed memory (MemTotal and SwapTotal in<br \/>\n\/proc\/meminfo)<\/p>\n<p>used\u00a0\u00a0 Used memory (calculated as total &#8211; free &#8211; buffers &#8211; cache)<\/p>\n<p>free\u00a0\u00a0 Unused memory (MemFree and SwapFree in \/proc\/meminfo)<\/p>\n<p>shared Memory used (mostly) by tmpfs (Shmem in \/proc\/meminfo,<br \/>\navailable on kernels 2.6.32, displayed as zero if not<br \/>\navailable)<\/p>\n<p>buffers<br \/>\nMemory used by kernel buffers (Buffers in \/proc\/meminfo)<\/p>\n<p>cache\u00a0 Memory used by the page cache and slabs (Cached and Slab in<br \/>\n\/proc\/meminfo)<\/p>\n<p>buff\/cache<br \/>\nSum of buffers and cache<\/p>\n<p>available<br \/>\nEstimation of how much memory is available for starting new<br \/>\napplications, without swapping. Unlike the data provided by<br \/>\nthe cache or free fields, this field takes into account page<br \/>\ncache and also that not all reclaimable memory slabs will be<br \/>\nreclaimed due to items being in use (MemAvailable in<br \/>\n\/proc\/meminfo, available on kernels 3.14, emulated on kernels<br \/>\n2.6.27+, otherwise the same as free)<\/p>\n<p>OPTIONS<\/p>\n<p>-b, &#8211;bytes<br \/>\nDisplay the amount of memory in bytes.<\/p>\n<p>-k, &#8211;kilo<br \/>\nDisplay the amount of memory in kilobytes.\u00a0 This is the<br \/>\ndefault.<\/p>\n<p>-m, &#8211;mega<br \/>\nDisplay the amount of memory in megabytes.<\/p>\n<p>-g, &#8211;giga<br \/>\nDisplay the amount of memory in gigabytes.<\/p>\n<p>&#8211;tera Display the amount of memory in terabytes.<\/p>\n<p>-h, &#8211;human<br \/>\nShow all output fields automatically scaled to shortest three<br \/>\ndigit unit and display the units of print out.\u00a0 Following<br \/>\nunits are used.<\/p>\n<p>B = bytes<br \/>\nK = kilos<br \/>\nM = megas<br \/>\nG = gigas<br \/>\nT = teras<\/p>\n<p>If unit is missing, and you have petabyte of RAM or swap, the<br \/>\nnumber is in terabytes and columns might not be aligned with<br \/>\nheader.<\/p>\n<p>-w, &#8211;wide<br \/>\nSwitch to the wide mode. The wide mode produces lines longer<br \/>\nthan 80 characters. In this mode buffers and cache are<br \/>\nreported in two separate columns.<\/p>\n<p>-c, &#8211;count count<br \/>\nDisplay the result count times.\u00a0 Requires the -s option.<\/p>\n<p>-l, &#8211;lohi<br \/>\nShow detailed low and high memory statistics.<\/p>\n<p>-s, &#8211;seconds seconds<br \/>\nContinuously display the result delay seconds apart.\u00a0 You may<br \/>\nactually specify any floating point number for delay,<br \/>\nusleep(3) is used for microsecond resolution delay times.<\/p>\n<p>&#8211;si\u00a0\u00a0 Use power of 1000 not 1024.<\/p>\n<p>-t, &#8211;total<br \/>\nDisplay a line showing the column totals.<\/p>\n<p>&#8211;help Print help.<\/p>\n<p>-V, &#8211;version<br \/>\nDisplay version information.<\/p>\n<p>FILES<\/p>\n<p>\/proc\/meminfo<br \/>\nmemory information<\/p>\n<p>SEE ALSO<\/p>\n<p>ps(1), slabtop(1), top(1), vmstat(8).<\/p>\n<p>AUTHORS<\/p>\n<p>Written by Brian Edmonds.<\/p>\n<p>REPORTING BUGS<\/p>\n<p>Please send bug reports to \u27e8procps@freelists.org\u27e9<\/p>\n<p>COLOPHON<\/p>\n<p>This page is part of the procps-ng (\/proc filesystem utilities)<br \/>\nproject.\u00a0 Information about the project can be found at<br \/>\n\u27e8http:\/\/sourceforge.net\/projects\/procps-ng\/\u27e9.\u00a0 If you have a bug<br \/>\nreport for this manual page, see<br \/>\n\u27e8http:\/\/sourceforge.net\/p\/procps-ng\/tickets\/\u27e9.\u00a0 This page was obtained<br \/>\nfrom the project&#8217;s upstream Git repository<br \/>\n(https:\/\/gitorious.org\/procps) on 2014-12-30.\u00a0 If you discover any<br \/>\nrendering problems in this HTML version of the page, or you believe<br \/>\nthere is a better or more up-to-date source for the page, or you have<br \/>\ncorrections or improvements to the information in this COLOPHON<br \/>\n(which is not part of the original manual page), send a mail to<br \/>\nman-pages@man7.org<\/p>\n<p>procps-ng\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 July 2014\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 FREE(1)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>FREE(1)\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 User Commands\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 FREE(1) NAME free &#8211; Display amount of free and used memory in the system SYNOPSIS free [options] DESCRIPTION free displays the total amount of free and used physical and swap memory in the system, as well as the buffers and caches used by the kernel. The information is gathered by parsing \/proc\/meminfo. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_sitemap_exclude":false,"_sitemap_priority":"","_sitemap_frequency":"","footnotes":""},"categories":[8],"tags":[],"class_list":["post-316","post","type-post","status-publish","format-standard","hentry","category-shell"],"a3_pvc":{"activated":false,"total_views":0,"today_views":0},"_links":{"self":[{"href":"https:\/\/www.linuxboxen.dk\/index.php?rest_route=\/wp\/v2\/posts\/316","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.linuxboxen.dk\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxboxen.dk\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxboxen.dk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxboxen.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=316"}],"version-history":[{"count":0,"href":"https:\/\/www.linuxboxen.dk\/index.php?rest_route=\/wp\/v2\/posts\/316\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.linuxboxen.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=316"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxboxen.dk\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=316"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxboxen.dk\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=316"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}