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

12 Best P2P File Sharing Softwares

July 17, 2017

P2P or Peer to Peer system of file sharing is a vital mode for enabling direct connection between users. While some of them are truly networked system, other comes with elements familiar to the structure of Client-server. This means that they constitute an element used in the original centralized Napster…

Read More
Technology

How to Save Battery on iPhone

May 5, 2016

There are many people who choose iPhones as their phones and they get many benefits from using an iPhone as these phone’s are powerful and many apps can be stored and its fun using an iPhone. The users of iPhone mostly charge their phone every day. The battery life of…

Read More
Resources

10 Best Free Online Video Editing Software

April 11, 2017September 15, 2025

Video editing has become a bit common these days. While some do it for fun, some do it because of their educational or professional need. Whatever reason you have for video editing, you must know that you do not necessarily have to install a software for editing videos as there…

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