Tag: RAM

What happens if Linux runs out of RAM. Do I need a Swap file

Linux installers create a swap file or partition by default. The Swap file is used when the RAM is full, in this case the system writes part of the data that is not needed right now from the RAM to the Swap file, which somewhat unloads the RAM. Subsequently, the system can re-move the data from the Swap file into...

How to use ps command to monitor Linux processes

The ‘ps’ (processes status) command is a built-in Unix/Linux utility for viewing information regarding the selection of running processes on the system: it reads this information from virtual files in the /proc file system. It is one of the essential system administration utilities, especially in the context of process monitoring, to help you understand what is happening on a Linux...

htop command guide: how to view processes in Linux interactively

Is htop better or top? The htop command is similar to top in function: they both display real-time information about processes, display system resource consumption, and allow you to search, stop, and manage processes. Both commands have their own advantages. For example, the htop program implements a very convenient process search and filtering. In the top command, this is not...

How to use the top command to monitor Linux processes

“top” program for showing Linux processes in real time The top program shows the program and service processes running on Linux. With top, you can see the dynamics of a running system in real time. The program displays a summary of the system information, as well as a list of processes or threads currently served by the Linux kernel. You...

The in-memory file system - how to use tmpfs

The tmpfs file system is quite useful, as it is incredibly fast and can help reduce the load on your persistent storage (especially useful for those who have Linux installed on a flash drive or memory card). tmpfs is an in-memory virtual file system. The tmpfs tool allows you to create file systems whose content resides in virtual memory. Because...
Loading...
X