Category Linux

Linux Memory Metrics: /proc/meminfo

/proc/meminfo on Linux displays current system-wide memory performance statistics. It provides the most complete view of system memory usage. Here is a detailed explanation of all the metrics. We can use these memory metrics to troubleshoot Linux memory issues. Related:…

How Userdel Works In Linux

Userdel command can be used to delete a user and related files in Linux. In most Linux distributions, the user home and mail spool directories are not removed when removing a user account with userdel. We are going through the…

4 ways to use Linux tar Command

The tar command in Linux is used to bundle up multiple files and/or directories. It’s similar to the zip command. However, zip files are compressed by definition; tar files can be compressed, but don’t have to be. How to Use…

How tar works in Linux

The tar command in Linux is used to bundle up multiple files and/or directories. It’s similar to the zip command. However, zip files are compressed by definition; tar files can be compressed, but don’t have to be. How tar Works…

Find Process Using Most CPU and Memory in Linux

We can use this command to find out which process uses the highest CPU or Memory in Linux. # ps -eo pid,ppid,cmd,%mem,%cpu –sort=-%mem |head # ps -eo pid,ppid,cmd,%mem,%cpu –sort=-%cpu |head How to Find the Process Which Uses Most CPU The…

Linux Find exec Command Cheat Sheet

find is a Linux/Unix command used to search for files and directories in a specified location based on certain criteria such as name, size, modified time, and ownership, among others. The exec option in find is used to execute a…