Category Archives: Linux Commands

Top “systemctl” command examples in Linux – How to manage system services

By | October 12, 2023

The command-line use systemctl, which stands for “system control,” is essential for managing services on Linux systems using the systemd init system. It is an important tool for monitoring how services, daemons, and other system components behave. To help you learn how to control services on your Linux system, we’ll go into much detail about… Read More »

13 “iostat” Command Examples in Linux – Monitor disk i/o and cpu usage

By | October 12, 2023

The iostat command is a system monitoring tool in Linux that provides comprehensive usage information on input/output (I/O) devices, partitions, and the CPU. This information can be used in analyzing resource allocation and utilization, identifying potential performance issues, and troubleshooting. iostat monitors the active time of I/O devices in relation to their average transfer rates…. Read More »

Journalctl Command examples in Linux – A Comprehensive Guide

By | August 24, 2023

Maintaining a healthy and productive Linux environment requires effective system log management. The journalctl command has evolved into an essential resource for accessing and analyzing system logs with the introduction of systemd, the system and service manager for recent Linux distributions. The journalctl command’s adaptability and utility on Linux-based systems will be examined thoroughly in… Read More »

10 “lsof” command examples in Linux – Check open files and sockets

By | July 22, 2023

lsof, which means “list open files”, is a command-line utility that shows information on currently opened files and the processes they are associated with in Linux and other Unix-based operating systems. A file in this context could be your regular file, a directory, a block-special file, a library, a character-special file, an executing text reference,… Read More »

10 “lsblk” command examples in Linux – List block devices

By | July 22, 2023

Introduction This article will explore the ‘lsblk’ command to understand the structure of storage devices through practical examples with filtering options. This will help you manage, monitor, analyze, and troubleshoot block devices on a Linux system. Block devices are storage devices that store and retrieve data in fixed-size blocks. Installation To install ‘lsblk’, you can… Read More »

Examples of “iotop” command in Linux – Monitor disk input/output per process

By | June 6, 2023

Iotop is an open-source and free utility Linux command used to display the statistics of disk input/output by processor/threads and print the summary which gets refreshed every second. It is quite similar to the top command, except that iotop monitors just disk i/o and not other metrics. This command is particularly useful for system administrators… Read More »

11 “sar” Command Examples in Linux to Monitor System Resources

By | September 15, 2023

sar (System Activity Reporter) is a command line tool used to collect, report, and analyze system activity information in Linux and other Unix-based operating systems. In other words, it gathers information and provides insights on system activity, such as CPU utilization, memory usage, I/O operations, network activity, disk usage, power management, and much more, which… Read More »

How to check Ram Rank and Bank details in Linux – decode-dimms

By | May 20, 2023

The decode-dimms program from i2c-tools package can be used to extract spd information from the ram modules which provides details about the module including the timings, clock speed, internal layout of the memory blocks including rank and bank count. The command can be installed with the following commands: sudo apt-get install i2c-tools sudo modprobe eeprom… Read More »