Posts

Showing posts from January, 2024

Linux : Mastering Linux System Monitoring Commands: A Practical Guide

Image
  INTRODUCTION: In Linux system administration, the command line is your best friend. When it comes to monitoring and managing your Linux systems, a set of command-line tools can provide valuable insights into system performance, resource usage, and potential issues.  In this blog, we'll explore a curated list of powerful Linux system monitoring commands that every sysadmin and Linux should have in their toolkit. Table of Contents Monitoring System Resources: #top : Real-time view of system processes and resource usage. #htop : Enhanced and interactive version of top. #free -m  : Display information about system memory usage. #df -kh : Displays the system storage. #du : Analyzing disk space usage of any file/directory. CPU Performance Monitoring: #ps -aux : Viewing information about active processes. #mpstat : Monitoring CPU usage statistics. #pidstat : Detailed statistics about processes and their resource usage. #top : Real-time view of system processes and resourc...

Linux: Basics Fundamentals of Linux

Image
Linux, an open-source operating system kernel, has gained immense popularity over the years for its stability, security, and flexibility. If you're new to the Linux world, let's embark on a journey through some fundamental concepts that will help you navigate this powerful operating system. 1. Understanding the Shell At the core of Linux lies the shell, a command-line interface that allows users to interact with the system. The default shell is usually Bash (Bourne Again SHell). Learning basic commands such as ls (list), cd (change directory), and pwd (print working directory) is crucial for navigating through the file system. $ ls $ cd /home/user $ pwd 2. File System Hierarchy Linux organizes its file system in a hierarchical structure. Key directories include /bin (binary files), /etc (configuration files), /home (user directories), and /var (variable data such as logs). Understanding this structure is essential for locating and managing files. $ cd /etc $ cat hosts 3...

Linux: What is Operating system, Kernel and Linux

Image
  Operating system:               Operating system is the platform that connects the Hardware and Software of the computer. Both depends on each other and run by OS. Part of OS:                        1] User Space: Space of the user,where user gives the instructions to the kernel for the execution of task.             2] Kernel Space: Space which executes the instruction given by user space and passes the output to user space. Kernel is the engine of operating system. Below things of the Operating system is depend on Kernel. Performance Scalability Security Flexibility Reliability Hardware Support Software Support Architecture (32-bit,64-bit,etc) Introduction of Linux : Linux is an open-source, Unix-like operating system kernel that serves as the core component of many different operating systems, commonly referred to as Linux dist...