Skip to content
Codeable Magazine

Codeable Magazine

10 Ways to Check Memory Usage in Linux

James, January 12, 2017

On Linux operating system there are lots of commands for almost everything. Linux offers you wealthy options to use its memory. It is really a tough job every system administrator to manage memory on Linux system in large company. Here we have listed out Top and best 10 ways to check memory usage in Linux for you. It is necessary commands or tools for network administrator to access Linux based server. To ensure your system and commands runs optimally you should monitor your memory usage. Scroll down and go through impressive ways to check memory usage in Linux system.

10 Ways to Check Memory Usage in Linux

10 Ways to Check Memory Usage in Linux:

  1. Free command:-

check memory usage in Linux

Free command is the one of simple and easy to use ways to check memory usage in Linux.  You can use free command with m flag that which is easy to read as values are shown with MBs. It will show a snapshot of physical free and used space of system as well as buffer space on kernel.

  1. Top :-

To monitor Linux performance and memory, Top is the one of top 10 ways to check memory usage in Linux. Top command works on both Linux and UNIX operating systems.  It activate real- time processes in a list and update them regularly. The ordered list includes CPU usage, buffer memory, cache memory, swap memory, memory usage and much more.

  1. atop:-

check memory usage in Linux

A very a well known ways to check memory usage in Linux is atop command. It will show you a snapshot of processes along resources usage. The atop command is very useful for system administrator to take correct and required action.

  1. Vmstat:-

Vmstat is stands for virtual memory statistics. This command has purpose to compile a list of virtual memory, kernel threads, I/O processes, disks and much more. It is not available in your system, you have to install package called sysstat.

  1. RAM information:-

check memory usage in Linux

To get the hardware information about Ram, you can use demidecode command. Demidecode is the one of best ways to check memory usage in Linux about RAM. It compile a list of RAM information such as size, speed, type and much more.

  1. -S and –L with free command:-

To know about high and low memory size statistics, you can use –L command in lower case with free command. To update at regular interval you can use –S in lower case with free command. With the use of number like 7 with –S, it will update commands for every 7 seconds.

  1. Arpwatch:-

check memory usage in Linux

Arpwatch is powerful program and one of best ways to check memory usage in Linux. It has aim to monitor address resolution of Ethernet network on Linux network. It is very useful and has the feature of E-mail alerts and detecting ARP spoofing.

  1. Netstat:-

Netstat is one of very useful tool for monitoring incoming and outgoing network packets on linux operating system. It is very useful for network administrator to check performance and to solve troubleshooting network problem.

  1. /proc/meminfo:-

check memory usage in Linux

If you want full information about memory usage in Linux, you can try /proc/meminfo. It will compile a detailed list of memory usage.

  1. Bytes, Kilobytes and Megabytes:-

You can easily checkout memory usage in bytes, kilobytes and megabytes followed by –b, -k and –m with free command.

Linux Resources Technology LinuxTips & Tricks

Post navigation

Previous post
Next post

Related Posts

Resources

20 Best Websites for Designing Your Logos Online for Free

January 3, 2017September 15, 2025

Logo is unique identification of a company/business or website. Looking for impressive logos to explore your business? Need a logo, but don’t know how to design it? Scroll down; here we listed out best websites for designing logos in your own way. Before going down, keep in mind your logo…

Read More
Technology

7 Best Windows Notepad Alternatives

June 6, 2017

While working on a computer system, everybody needs a rough space to write some important notes. Instead of finding a pen and copy, it is better to open notepad and enter the needed information. But notepad is not just a rough space to write on; one can also use it…

Read More
Business

20 Best VPN Services for Secure Browsing Experience

July 27, 2017September 15, 2025

Security is one of the biggest issues when we deal with internet surfing and hence there has been a lot of innovations and other such things that are ensuring that perfect security is in process. Virtual Private Network is one of the extensions of such ideas of security where you…

Read More

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

©2026 Codeable Magazine | WordPress Theme by SuperbThemes