Skip to content

Instantly share code, notes, and snippets.

@otkrsk
Last active February 23, 2018 03:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save otkrsk/9ad6401382806e5046a64aff49f60458 to your computer and use it in GitHub Desktop.
Save otkrsk/9ad6401382806e5046a64aff49f60458 to your computer and use it in GitHub Desktop.
The /proc/meminfo file stores statistics about memory usage on the Linux based system. The same file is used by free and other utilities to report the amount of free and used memory (both physical and swap) on the system as well as the shared memory and buffers used by the kernel.
egrep --color 'Mem|Cache|Swap' /proc/meminfo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment