maximumsilikon.blogg.se

Linux check free memory
Linux check free memory







linux check free memory

The pmap command reports the memory map of a process or processes. If you want to check memory consumed by specific process, you can use the command pmap Command pmap To monitory memory usage in real time you better use top or any other monitoring tools available on linux rather than this command. To check memory statistics periodically at regular intervals use, free -k -s 1 Swap: 3996 116 free -g # Display output in giga bytes Swap: 3.9G 116M free -m # Display output in mega bytes You have new mail in free -h # Display information human readable V, -version output version information and exit c N, -count N repeat printing N times, then exit s N, -seconds N repeat printing every N seconds o, -old use old format (without -/+buffers/cache line) l, -lohi show detailed low and high memory statistics

linux check free memory

We can use them to format and display output as we need.

linux check free memory

You can request command free to display memory in mega bytes or kilo bytes.įree takes several arguments. To display physical memory information just type free $ free That is, you can get RAM statistics using this command. Linux is having different set of utility command line tools, one of them is free. We use it determine used physical memory, swapped memory and available memory.









Linux check free memory