Linux Articles

Page 20 of 134

Progress of a Process

Pranavnath
Pranavnath
Updated on 17-Mar-2026 943 Views

In an operating system, a process transitions through various states during its lifecycle, from creation to termination. The progress of a process refers to how a process moves through these states based on system conditions like CPU availability, I/O operations, and user interactions. Understanding process progress is crucial for effective process management and synchronization in multi-process environments. Process States A process can exist in several distinct states during its execution. The state transitions form the foundation of process progress tracking. Process State Diagram ...

Read More

Preserve Linebreaks When Storing Command Output to a Variable

Prateek Jangid
Prateek Jangid
Updated on 17-Mar-2026 2K+ Views

In Linux, command substitution allows a user to use the output of a command as an argument for other commands. Here you can substitute all commands that can write standard output. Moreover, you can use the command substitution to create a shell script and save the command's output as a variable. Some of the output consists of multiple lines, so the output may not appear in the same pattern when you perform command substitution. When you don't use the proper shell variable, the output shows in a single line, i.e., without preserving the linebreaks. In this tutorial, we will ...

Read More

dutree – A CLI Tool to Analyze Disk Usage in Coloured Output

Prateek Jangid
Prateek Jangid
Updated on 17-Mar-2026 425 Views

The dutree is an open-source command line tool for Linux that analyzes disk usage and displays output in a colorful, tree-like format. This tool combines the functionality of du (disk usage) and tree (directory structure) commands, written in the Rust programming language. It helps identify which directories and files consume the most disk space, making it easier to manage storage and free up space when needed. Unlike traditional disk usage tools that display plain text output, dutree provides visual hierarchy with color coding, making it easier to quickly identify large files and directories at a glance. Installation ...

Read More

How to Check Debian Linux Version?

Satish Kumar
Satish Kumar
Updated on 17-Mar-2026 2K+ Views

Debian Linux is an open-source operating system that is widely used in both personal and professional settings. It was first released in 1993 and has since gained a reputation for being stable, secure, and reliable. Knowing your Debian version is crucial for system administration, software compatibility, and security updates. Command Line Methods The command line interface provides the fastest and most reliable way to check your Debian version. Here are the most common methods: Using cat /etc/debian_version This command displays the Debian version number stored in the system file: cat /etc/debian_version ...

Read More

How to Check CPU Utilization in Linux with Command Line?

Satish Kumar
Satish Kumar
Updated on 17-Mar-2026 1K+ Views

Monitoring the performance of a Linux system is essential to ensuring that it operates optimally. One of the key factors in determining system performance is CPU utilization. CPU utilization refers to the percentage of time that the processor spends executing instructions from various processes and applications on the system. In Linux, there are numerous tools available for monitoring CPU utilization, but using command line tools provides a quick and efficient way to check this metric. Basic Command Line Tools for Checking CPU Utilization When it comes to monitoring CPU utilization with the command line in Linux, you ...

Read More

How to Check CPU Temperature on Linux?

Satish Kumar
Satish Kumar
Updated on 17-Mar-2026 19K+ Views

Monitoring CPU temperature on a Linux system is essential for maintaining optimal performance and preventing hardware damage. The CPU generates heat as it processes data, and excessive heat can cause system instability, thermal throttling, or permanent hardware failure. This guide covers various methods to check CPU temperature on Linux using both command-line and graphical tools. Understanding CPU Temperature Monitoring CPU temperature is measured in degrees Celsius and indicates how hot the processor is running. When temperatures exceed safe limits (typically 70-80°C for most CPUs), the processor may throttle its speed to reduce heat generation, resulting in decreased ...

Read More

Guider - A System Wide Linux Performance Analyzer

Satish Kumar
Satish Kumar
Updated on 17-Mar-2026 256 Views

Guider is a powerful system-wide Linux performance analyzer designed to provide developers, system administrators, and technical professionals with comprehensive insights into Linux system performance. Unlike traditional tools that focus on individual processes, Guider monitors the entire system including CPU usage, memory consumption, disk I/O, network traffic, and process activity to identify performance bottlenecks and optimization opportunities. Overview of Guider Guider provides real-time system-wide performance monitoring capabilities across all major system resources. It collects data from kernel interfaces to present a holistic view of system behavior, enabling administrators to understand how different components interact and affect overall performance. ...

Read More

Docker Container Network Namespace Is Invisible

Vishesh Kumar
Vishesh Kumar
Updated on 17-Mar-2026 765 Views

This article examines why Docker container network namespaces are invisible to the ip netns ls command and provides a solution to make them accessible for network debugging and management. Containerization Containerization is a lightweight virtualization technology where applications and their dependencies are packaged into portable containers. Unlike traditional virtual machines, containers share the host OS kernel and system resources, making them faster to start and more resource-efficient. Containers include only the necessary libraries, binaries, and runtime components needed for the application to run consistently across different environments. Docker Docker is a containerization platform that enables developers ...

Read More

Evolution of Docker from Linux Containers

Pradeep Jhuriya
Pradeep Jhuriya
Updated on 17-Mar-2026 576 Views

Docker is a powerful containerization platform that allows developers to package, distribute, and run applications with their dependencies in lightweight, portable containers. The evolution of Docker began with Linux Containers (LXC) and has since revolutionized software development and deployment practices. This article explores how Docker evolved from Linux containers, the key improvements it introduced, and why it became the industry standard. What are Containers? Containers are a form of operating system-level virtualization that packages applications with their dependencies into isolated, portable units. Unlike virtual machines that require separate operating system instances, containers share the host OS kernel while ...

Read More

Process Representation in Linux System

Arnab Chakraborty
Arnab Chakraborty
Updated on 17-Mar-2026 1K+ Views

Linux manages processes using a fundamental data structure called task_struct, which contains all the information needed to represent a process in the system. This structure is defined in the header file within the kernel source code. Process Data Structure The task_struct is a comprehensive C structure that holds critical information about each process, including: Process state − Current execution state (running, waiting, stopped) Scheduling information − Priority, time slices, and scheduler-specific data Memory management − Virtual memory layout and page tables File descriptors − List of open files and I/O resources Process relationships − Parent, ...

Read More
Showing 191–200 of 1,338 articles
« Prev 1 18 19 20 21 22 134 Next »
Advertisements