Knowing the memory utilization is an important part of system maintenance. You’ll learn various commands you can use to check memory usage in Linux.When using any Linux distribution, it is important as a SysAdmin to know how to visualize your available and used resources, such as memory, ...
You may have come across the saying, “Everything is a file in Linux.” Although this is not entirely true, it does hold a set of truths to it. In Linux and Unix-like systems, everything is like a file. That means the resources in the Unix system get assigned a file descriptor, i...
One of the simplest ways to check your system’s memory status as a whole is to run the free command or view /proc/meminfo to see how much real memory is being used for caches and buffers. As we’ve just mentioned, performance problems can arise from memory shortages. If there isn’t...
How to check CPU and RAM usage using the System Monitor Some Linux distributions, like Ubuntu, come with a built-in graphical monitoring tool called the System Monitor, which is similar to the Task Manager you get on Windows. It's just a simple application that you can use to monitor task...
This chapter takes you deeper into the relationships between processes, the kernel, and system resources. There are three basic kinds of hardware resources: CPU, memory, and I/O. Processes vie for these resources, and the kernel’s job is to allocate resources fairly. The kernel itself is al...
Processes vie for these resources, and the kernel’s job is to allocate resources fairly. The kernel itself is also a resource—a software resource that processes use to perform tasks such as creating new processes and communicating with other processes. Many of the tools that you see in this...
How to Check Hard Drive Health on Linux Linux users have several powerful tools at their disposal: 1. Using fsck (File System Consistency Check) Open Terminal. Type sudo fsck -f /dev/sdX (replace X with your drive letter, e.g., sda, sdb). ...
As you can see, the Linux name is Ubuntu and the version is 20.04.1. However, that's not the only way to know the Linux distribution details. In this beginner's tip, I'll show you different ways to check which Linux you are running. ...
0.1. Check Disk Space in Linux using the command df (disk free)0.2.0.3. Check Disk Usage in Linux using du (disk usage) Command Use codeKB4KDO0L9to receive a 10% recurring discount on any server. When managing your servers, taking charge of system resources is of utmost importance. The...
Linux provides several built-in commands for analyzing and cleaning up your system’s disk space. This guide shows you how to use those commands to get a closer look at your disk usage and start freeing up space. How Do I Check Disk Space on Linux? Linux systems have two commands readily...