Tag

Log cleanup

0 views collected around this technical thread.

DevOps Operations Practice
DevOps Operations Practice
Jun 3, 2025 · Operations

7 Practical Shell Scripts for Linux Automation

This article presents seven practical Bash shell scripts for Linux system administration, covering automatic file backup, disk usage alerts, old log cleanup, server reachability checks, DNS resolution monitoring, HTTP service health checks, and random password generation, each with explanations and code examples.

Disk usage alertLinux automationLog cleanup
0 likes · 6 min read
7 Practical Shell Scripts for Linux Automation
Wukong Talks Architecture
Wukong Talks Architecture
Oct 10, 2022 · Operations

Diagnosing 100% Disk Usage and Cleaning Docker Logstash Container Logs

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.

DockerLinuxLog cleanup
0 likes · 8 min read
Diagnosing 100% Disk Usage and Cleaning Docker Logstash Container Logs
Practical DevOps Architecture
Practical DevOps Architecture
Jan 7, 2021 · Backend Development

Understanding MySQL Binary Log: Functions, Cleanup Methods, and Switching

This article explains the role of MySQL binary logs for replication and point‑in‑time recovery, outlines four practical cleanup techniques—including reset master and purge commands—and demonstrates how to switch logs using flush operations while showing relevant command outputs and screenshots.

Log cleanupMySQLReplication
0 likes · 5 min read
Understanding MySQL Binary Log: Functions, Cleanup Methods, and Switching