In this article, we will cover how to check memory in different ways and explain a little bit how each of the command lines for this purpose works. 1. free The free command in Linux has the simplest output. It
In the Linux operating system it is important to have enough free physical memory (RAM) available for your processes which need to run. If this memory runs out, swap space will start to be used next, which will result in slower performance as I/O operations will need to be written to d...
As a consequence, knowing how tocheck your RAMon Linux is crucial because you might be able to take preventive actions instead of corrective ones. You might also want to increase your swap memory, also known as virtual memory, in order to enhance the performance of your server. In this tuto...
When troubleshooting system or application slowdown or misbehavior, one of the first things to check is the system memory usage. This article explains how to check RAM usage in Linux using several different commands.
Let’s explore RAM memory cache, buffer, and swap space on a Linux system. RAM Memory Cache TheRAM memory cacheis a mechanism used by the kernel to keep regularly accessed data. While this boosts system responsiveness, an overloaded cache can lead to the retention of obsolete data, affecting...
In this tutorial, we’re going to first discuss theatopandsarcommands in Linux for historical analysis of memory usage. Then, we move forward with the Zabbix monitoring tool. 2. Overview Monitoring system resources is crucial for the optimum performance of a server. Memory usage, in particular...
If any of these commands show a problem, you can go back to see when the server issues started by using(whereis the day of the month you wish to look for). At this point, I usually have a good idea of what’s currently happening on the server, and what’s been going on for the...
Restart Linux Server via the reboot Command The basic command for restarting Linux isreboot. Depending on the system, sudo or root permissions may be required to execute this command. Step 1: Open Terminal The most popular way to manage your Linux system is via the terminal. These two methods...
The point where the kernel starts its first user-space process, init, is significant—not just because that’s where the memory and CPU are finally ready for normal system operation, but because that’s where you can see how the rest of the system builds up as a whole. Prior to this ...
With the information you gather, you can go aboutmaking some free space on Ubuntu. Method 1: Checking free disk space in Linux with df command (and understanding its output) When you use the df command to check disk space, it will show a bunch of ‘file systems’ with their size, used...