Tagged articles
26 articles
Page 1 of 1
Deepin Linux
Deepin Linux
Mar 30, 2026 · Fundamentals

Why Linux Treats Everything as a File: A Deep Dive into Kernel File System Architecture

This article explains the core philosophy of Linux’s “everything is a file” design, walks through the kernel’s VFS layer, inode, dentry, superblock, logical blocks, and specific file systems, and provides hands‑on examples—including procfs initialization and read/write code—to help readers master Linux kernel file system internals.

LinuxOperating Systemfile system
0 likes · 45 min read
Why Linux Treats Everything as a File: A Deep Dive into Kernel File System Architecture
Deepin Linux
Deepin Linux
Feb 8, 2026 · Fundamentals

Unlocking Linux Kernel File Systems: From Inodes to VFS and ProcFS Explained

This comprehensive guide explores the Linux kernel file system architecture, covering fundamental concepts such as inodes, dentries, superblocks, logical blocks, the VFS layer, common on‑disk filesystems, mounting procedures, and a deep dive into the proc virtual filesystem with code examples and practical usage tips.

Operating Systemfile systeminode
0 likes · 39 min read
Unlocking Linux Kernel File Systems: From Inodes to VFS and ProcFS Explained
Linux Kernel Journey
Linux Kernel Journey
Nov 17, 2025 · Operations

Four Diagrams to Quickly Diagnose Linux Memory Leaks

This guide explains Linux's virtual‑physical memory model, shows how to inspect system and process memory via /proc files, demonstrates a 100 MiB allocation test, and provides a step‑by‑step workflow—including ps sorting and Valgrind usage—to locate and fix memory leaks.

Linuxdebuggingmalloc
0 likes · 16 min read
Four Diagrams to Quickly Diagnose Linux Memory Leaks
Infra Learning Club
Infra Learning Club
Jan 20, 2025 · Fundamentals

How GPU Kernel Virtualization Works: A Deep Dive into the cgpu Project

This article explains the principles of GPU kernel virtualization by analyzing the cgpu project's source code, detailing kernel interception of device operations, the driver’s file_operations, module initialization and cleanup, procfs interfaces, scheduling logic, and compilation steps on Ubuntu 22.04.

GPU virtualizationKernel ModuleLinux kernel
0 likes · 5 min read
How GPU Kernel Virtualization Works: A Deep Dive into the cgpu Project
Liangxu Linux
Liangxu Linux
Oct 7, 2024 · Fundamentals

What Exactly Do “buffers” and “cached” Mean in the Linux free Command?

The article explains how the Linux free utility calculates the “buffers” and “cached” fields, detailing their definitions, the kernel source functions that produce them, the role of block‑device page cache versus ordinary file cache, and how to verify the numbers with simple commands.

BuffersLinuxMemory Management
0 likes · 10 min read
What Exactly Do “buffers” and “cached” Mean in the Linux free Command?
Open Source Linux
Open Source Linux
Nov 7, 2023 · Operations

12 Essential Linux Commands to Monitor Memory Usage

This guide lists twelve Linux tools and commands—including /proc/meminfo, atop, free, GNOME System Monitor, htop, KDE System Monitor, memstat, nmon, ps, smem, top, and vmstat—that let you view and analyze RAM consumption in real time, with usage examples and screenshots.

LinuxMemory MonitoringSystem Administration
0 likes · 6 min read
12 Essential Linux Commands to Monitor Memory Usage
MaGe Linux Operations
MaGe Linux Operations
May 31, 2023 · Fundamentals

Master Linux Kernel Essentials: Modules, Commands, and System Configuration

This article provides a comprehensive overview of the Linux kernel, explaining its core components, memory and process management, device drivers, system calls, and security, while detailing essential commands such as uname, lsmod, modinfo, modprobe, depmod, insmod, rmmod, sysctl, and guiding readers through kernel compilation and configuration using /proc and /sys.

CompilationLinuxModules
0 likes · 22 min read
Master Linux Kernel Essentials: Modules, Commands, and System Configuration
IT Services Circle
IT Services Circle
Jan 12, 2023 · Fundamentals

Understanding Linux Load Average: Calculation, Exposure, and Relation to CPU Usage

Linux load average, a key performance metric, is computed by periodically aggregating per‑CPU runnable and uninterruptible task counts into a global instantaneous load, then applying an exponential weighted moving average to produce 1‑, 5‑, and 15‑minute averages, which are exposed to user space via the /proc/loadavg pseudo‑file.

EWMALinuxLoad Average
0 likes · 18 min read
Understanding Linux Load Average: Calculation, Exposure, and Relation to CPU Usage
MaGe Linux Operations
MaGe Linux Operations
May 12, 2022 · Fundamentals

What’s the Real Difference Between Linux Buffers and Cache?

This article explains the definitions of Linux buffers and cache, how the free command reports them, and demonstrates through experiments that buffers can cache both reads and writes while cache primarily handles page caching for file reads and writes.

CacheLinuxMemory Management
0 likes · 6 min read
What’s the Real Difference Between Linux Buffers and Cache?
ITPUB
ITPUB
Mar 1, 2021 · Operations

How to Diagnose a Stuck Linux Process: From ps to /proc Stack Tracing

This step‑by‑step guide shows how to locate a Linux process frozen in uninterruptible sleep by using tools such as top, ps, WCHAN, /proc files, strace, pstack, and kernel stack traces to pinpoint the offending system call and its root cause.

debuggingprocessprocfs
0 likes · 10 min read
How to Diagnose a Stuck Linux Process: From ps to /proc Stack Tracing
Open Source Linux
Open Source Linux
Sep 16, 2020 · Information Security

Hide a Linux Process with One Line of SystemTap Code

Learn a quick, unconventional method to conceal a Linux process from userspace by simply altering its PID with a one‑line SystemTap script, demonstrating how modifying kernel task structures can make the process invisible in procfs and evade standard detection tools.

LinuxSystemTapprocess hiding
0 likes · 3 min read
Hide a Linux Process with One Line of SystemTap Code
ITPUB
ITPUB
Sep 10, 2020 · Fundamentals

Why Does ‘free -m’ Show Much More Used Memory Than ‘ps aux’ RSS?

The article explains why Linux’s free command reports far higher used memory than the RSS values shown by ps aux, by breaking down buffers, cache, slab allocations, page tables and shared libraries, and provides shell scripts to calculate each component.

FreeLinuxMemory
0 likes · 10 min read
Why Does ‘free -m’ Show Much More Used Memory Than ‘ps aux’ RSS?
Baidu App Technology
Baidu App Technology
Mar 9, 2020 · Mobile Development

Choosing the Best Android Process‑Start Timestamp for Cold‑Start Optimization

The article examines Android cold‑start performance by comparing three process‑creation timestamps—Application <init>, Process.getStartElapsedRealTime, and /proc/self/stat starttime—detailing their origins, extraction methods, conversion formulas, and practical guidance on which to use for accurate startup measurement.

AndroidProcess TimingProcess.getStartElapsedRealTime
0 likes · 11 min read
Choosing the Best Android Process‑Start Timestamp for Cold‑Start Optimization
ITPUB
ITPUB
Sep 15, 2017 · Fundamentals

How Linux and glibc Manage Memory: From Virtual Allocation to Physical Release

This article explains Linux's two‑level memory model, lazy physical allocation, the glibc malloc implementation, chunk metadata, large‑vs‑small allocations, memory holes, debugging hooks, leak detection with mtrace, and practical ways to measure a process's memory usage via /proc.

Memory Managementdebuggingglibc
0 likes · 15 min read
How Linux and glibc Manage Memory: From Virtual Allocation to Physical Release
MaGe Linux Operations
MaGe Linux Operations
Jun 15, 2016 · Operations

Build Python Scripts for Real-Time Linux Server Monitoring

This article explains how to create Python scripts that monitor Linux server CPU, load, memory, and network usage by reading data from the /proc virtual filesystem, providing step‑by‑step code examples and illustrating each script’s output with screenshots.

LinuxPythonmonitoring
0 likes · 11 min read
Build Python Scripts for Real-Time Linux Server Monitoring
MaGe Linux Operations
MaGe Linux Operations
Mar 23, 2015 · Fundamentals

How to Inspect CPU Details on Linux: 13 Essential Commands

This guide lists thirteen Linux commands and tools—including /proc/cpuinfo, cpufreq-info, cpuid, dmidecode, hardinfo, i7z, likwid, lscpu, lshw, lstopo, numactl, and x86info— that reveal comprehensive CPU hardware information such as vendor, model, frequencies, cores, caches, and topology.

CPUHardwareLinux
0 likes · 7 min read
How to Inspect CPU Details on Linux: 13 Essential Commands