Tagged articles
disk usage
45 articles · Page 1 of 1
A practical cheat sheet organizing essential Linux commands by scenario—file navigation, log analysis, process management, network and disk monitoring, compression, and permissions—with concrete examples and safety tips for daily server operations.
LinuxOperationsProcess Management
0 likes · 11 min read

A production server hit 100% disk usage, prompting the author to use df, du and find to locate oversized log files, uncover missing rotation, excessive debug logging and a looping exception, then perform urgent cleanup and implement logrotate, log level adjustments, and Prometheus alerts to prevent recurrence.
Linuxdisk usagelog management
0 likes · 7 min read


TonyBaiJun 30, 2026 · Backend Development
The article explains why modern Rust and Go compilers create massive on‑disk caches—Rust's per‑project target directory and Go's global module and build caches—illustrates the underlying mechanisms with concrete examples, and offers practical commands and tooling to clean or share those caches, reducing disk consumption.
CargoGoRust
0 likes · 14 min read

A storage audit of an Easysearch cluster revealed that overly generic field mappings caused the index to bloat to 500‑600 GB, and by correcting two mapping mistakes—using text + autocomplete only where needed and storing numeric IDs as long types—the index size shrank by over 200 GB, roughly one‑third, without data loss or functional changes.
Dynamic TemplatesEasysearchElasticsearch
0 likes · 10 min read

A sudden disk‑usage alarm reveals MySQL’s ibtmp1 temporary tablespace ballooning to 192 GB, and the article walks through why it happens, how to safely clear it, set size limits, and pinpoint the inefficient SQL that caused the explosion.
MySQLPerformance TuningSQL Optimization
0 likes · 7 min read

This guide explains how to use the Linux df and du commands to inspect disk space, interpret their options such as -h, -k, -i, and -T, view partition usage, directory-specific usage, inode information, and avoid common pitfalls when measuring file sizes.
Linuxcommand-linedf
0 likes · 4 min read

This guide explains how to use the Linux df and du commands to check overall disk space, view partition types, inspect inode information, and determine the size of specific files or directories, with examples and options for human‑readable output.
Linuxdfdisk usage
0 likes · 4 min read

This guide walks through essential Linux system fundamentals, covering time management, hostname and OS details, user and group configuration, core networking tools, disk usage commands, and real‑time process and memory monitoring, providing practical examples and command syntax for each topic.
LinuxNetworkingcommand-line
0 likes · 40 min read

A practical guide explains how to use top, iostat, netstat, df, du and other common Linux commands to monitor CPU, memory, disk, and network status, interpret their output, and troubleshoot performance problems in production environments.
LinuxSystem Monitoringdisk usage
0 likes · 5 min read

This guide shows how to use df, du, find, and lsof commands to locate large directories, files, and deleted-but-open files that consume disk space, and explains how to adjust reserved filesystem space on Linux.
FilesystemLinuxOperations
0 likes · 4 min read

This guide explains how to use the Linux df command with various options to display filesystem disk space, inode usage, and filesystem types in human‑readable, kilobyte, megabyte, or gigabyte formats, and shows how to filter or exclude specific filesystem types.
Linuxcommand-linedf
0 likes · 10 min read

This guide explains how to identify and resolve common server monitoring alerts—including CPU, memory, disk space, disk I/O, and TCP connection issues—using Linux commands such as top, df, du, iotop, and netstat, and provides practical remediation steps.
TCP connectionscpu alertdisk usage
0 likes · 18 min read

This guide explains how to install the Dutree command‑line tool on Linux, demonstrates basic and advanced usage such as scanning specific directories, limiting depth, excluding paths, changing units, exporting results, and using interactive mode to visualize filesystem disk consumption.
FilesystemLinuxcommand-line
0 likes · 6 min read

After a Java system went live, a disk usage alert exceeding 90% prompted an investigation that uncovered a third‑party jar’s debug‑level Log4j configuration writing large logs to the root directory, and the issue was resolved by excluding the offending jar via Maven, highlighting the need for careful dependency management.
BackendJavaLogback
0 likes · 4 min read

This article explains the physical layout of OceanBase's clog directory, the roles of log_pool and tenant_id sub‑directories, how log disk capacity is allocated via configuration parameters, the concept of meta tenants and log streams, and provides scripts for monitoring clog usage and disk utilization.
OceanBaseclogdisk usage
0 likes · 11 min read

This guide introduces the Go‑based “diskusage” utility, shows how to install it with a single command, explains its usage with examples such as filtering specific file types, displaying sizes in gigabytes, and enabling colored output, and notes its cross‑platform support for Linux, macOS, and Windows.
Gocommand-linecross-platform
0 likes · 2 min read

This guide explains how to use the Linux df command with real‑world examples, covering human‑readable output, inode statistics, total usage, filesystem types, inclusion/exclusion filters, specific mount points, and virtual filesystems to help you monitor disk space effectively.
FilesystemLinuxcommand-line
0 likes · 9 min read

This article details a systematic investigation of a Hadoop NameNode/DataNode that showed high memory usage at 3 AM, identifies zombie crond/sendmail/postdrop processes caused by a failed Postfix service, and provides cleanup commands and preventive measures for memory, disk, and inode issues.
HadoopInodeMemory Leak
0 likes · 5 min read

This article explains how to identify the cause of a full disk on a Linux server by using df and du commands, discovers that oversized Logstash container logs are the culprit, and presents three practical solutions—including manual cleanup, a periodic script, and Docker log size limits—to reclaim space.
Log CleanupLogstashdisk usage
0 likes · 8 min read

This tutorial walks you through creating a Bash script that periodically captures and displays memory, disk, and CPU utilization on a Linux server, explains the underlying commands, shows how to run the script in a timed loop, and demonstrates adding a stress test for load generation.
CPU usageMemory usageSystem Monitoring
0 likes · 9 min read

This guide shows step‑by‑step Linux commands—df, du, find, lsof, and tune2fs—to pinpoint large directories, uncover hidden space used by deleted files, and adjust reserved root space, helping you resolve mysterious disk‑space alerts efficiently.
Server Operationsdfdisk usage
0 likes · 4 min read

Learn how to recognize Linux sparse files, use commands like du, ls, tar, and find to accurately assess their true disk usage, and efficiently copy or compress massive log files without consuming unnecessary space.
command-linedisk usagefile-system
0 likes · 6 min read

This guide compiles practical Linux one‑liners for sorting directories by size, listing subdirectories, monitoring disk usage changes, removing unwanted .svn folders, checking inode and partition statistics, and measuring read/write performance, providing sysadmins with quick, actionable tools.
Filesystemcommand-linedisk usage
0 likes · 5 min read

This guide explains how to install the duf command‑line tool on Ubuntu, macOS, and Windows, and demonstrates its usage with options like --only local, --sort used, --json, and --inodes to provide a visual, adaptive view of disk and inode usage.
System Monitoringcommand-linedisk usage
0 likes · 5 min read

This guide explains how to locate large directories and files consuming disk space on Linux servers using commands like df, du, find, lsof, and tune2fs, and offers tips for handling hidden or deleted file usage.
Linuxdisk usagedu
0 likes · 4 min read

This article explains why the Linux commands du and df often return mismatched root partition sizes, detailing five underlying reasons such as deleted open files, reserved space, hidden files, mounted directories, and the fundamental differences between how du and df calculate disk usage.
Filesystemdfdisk usage
0 likes · 4 min read

When a Linux filesystem reaches 80 % capacity and cannot be expanded, this guide shows how to identify and clean large directories using faster du replacements such as ncdu, dust, duu, diskus, and tin‑summer, with installation steps, command‑line options, and benchmark comparisons.
disk usagediskusdust
0 likes · 16 min read

Learn step-by-step Linux techniques—including df, du, find, and lsof commands—to pinpoint large directories or files, filter results, handle hidden space consumption, and adjust reserved filesystem space, ensuring you can efficiently resolve unexpected disk usage issues on your servers.
LinuxOperationsdf
0 likes · 4 min read

Learn how to quickly check available disk space on Linux servers using five built‑in commands—df, du, ls, stat, and fdisk—plus handy GUI tools, with practical options and examples to help you clean up storage efficiently.
Linuxdfdisk usage
0 likes · 5 min read

Dust is a Rust‑written, visually rich replacement for the traditional du command that shows directory sizes as a colored tree, making it easier to spot large folders and understand disk consumption at a glance.
Operationsdisk usagedu alternative
0 likes · 5 min read

This guide explains why the ls command shows a fixed 4 KB size for directories, introduces the du (disk usage) utility, and provides step‑by‑step examples for obtaining total, per‑directory, per‑file, and cumulative size information using various du options.
Linuxcommand-linedirectory size
0 likes · 8 min read

The article introduces duf, a Go‑based disk usage and free space viewer for Unix‑like systems, explains its features such as colored, resizable output, sorting and JSON mode, and provides step‑by‑step installation instructions for Debian/Ubuntu, RPM‑based distros, Arch AUR, Termux, macOS, FreeBSD, and Windows, plus usage examples and customization options.
LinuxSystem Monitoringcommand-line
0 likes · 6 min read

This guide introduces duf, a Golang‑based command‑line utility that displays disk usage across Linux, macOS, BSD, Android and Windows, explains its key features, provides step‑by‑step installation methods for various distributions, and demonstrates common usage options and output formats.
LinuxSystem Monitoringdisk usage
0 likes · 7 min read

This article analyzes why the Linux commands du and df often report inconsistent disk usage, detailing the underlying file system structures, inode and block allocation, how each tool gathers statistics, and the impact of mounted partitions and deleted-but‑still‑referenced files.
LinuxStoragecommand-line
0 likes · 11 min read

The article explains why Linux’s du and df commands often report inconsistent disk usage, detailing the underlying file‑system structures such as inodes, block maps, and superblocks, the processes of file creation and deletion, and how mounted partitions, open file handles, and stat calls affect each tool’s calculations.
InodeLinuxdf
0 likes · 12 min read

During a large‑scale promotion, an online service suffered severe disk usage spikes due to undeleted log files held open by an SLS process, and the issue was resolved by identifying the open handles, terminating the process, and implementing log‑level controls to prevent recurrence.
LinuxSLSdisk usage
0 likes · 7 min read

This article describes a MySQL disk‑space exhaustion problem, explains why data_free can consume tens of gigabytes, and provides step‑by‑step commands—including schema analysis, table engine conversion, service control, and file removal—to defragment InnoDB tables, reclaim space, and successfully restore a backup.
disk usagefragmentationoptimization
0 likes · 6 min read

This guide shows how to speed up Linux command‑line work by installing the z directory‑jump script, applying a feature‑rich Vim configuration, customizing MySQL prompts, accurately checking OS version, and using a more visual disk‑usage tool.
LinuxMySQLSystem Info
0 likes · 7 min read

This guide introduces key Linux commands such as ls, stat, df, du, and fdisk, explains their most useful options, shows how to interpret their output, and provides practical tips for analyzing disk usage and safely reclaiming space on servers.
dfdisk usagedu
0 likes · 5 min read


ITPUBJun 5, 2019 · Operations
This guide introduces the Duc tool for visualizing Linux disk usage, covering its supported interfaces and databases, step‑by‑step installation on Debian‑based systems and from source, core commands for indexing and querying, and how to generate terminal and graphical visualizations.
DucLinuxdisk usage
0 likes · 6 min read

This guide introduces the open‑source Duc tool, explains its supported interfaces and database back‑ends, provides step‑by‑step installation instructions for Debian‑based and source builds, and demonstrates core commands for indexing, querying, and visualizing disk usage on Linux.
DucSystem Monitoringcommand-line
0 likes · 6 min read


ITPUBMay 29, 2017 · Operations
This article explains why the Linux commands df and du often report different disk usage figures, detailing three main causes—reserved space, phantom (deleted) files, and data present before mounting—and provides concrete commands and steps to identify and resolve each discrepancy.
FilesystemOperationsdf
0 likes · 4 min read

The article explains Kafka’s default consumer offset storage mechanism, why the __consumer_offsets system topic can consume massive disk space due to frequent synchronous commits and misconfigured cleanup, and outlines practical steps to reduce offset data and enable proper log compaction.
Operationsbig-dataconsumer offset
0 likes · 6 min read

This article explains why the Linux df command can report higher disk usage than du by demonstrating how open file handles keep space allocated even after the file is deleted, and provides practical ways to identify and release the hidden space.
Linuxdf vs dudisk usage
0 likes · 7 min read

When managing Linux servers, the df and du commands often show mismatched disk usage figures, and this article explains the three main causes—reserved space, phantom files, and uncounted data—along with how to identify and resolve each discrepancy.
Linuxdfdisk usage
0 likes · 5 min read
