What is a System Watchdog? The ‘Device Guardian’ Every Industrial Control Engineer Must Understand!

What is a System Watchdog? The 'Device Guardian' Every Industrial Control Engineer Must Understand!

Is a system watchdog really a “dog”? For newcomers in industrial control, the first time they hear about a “system watchdog,” they are likely to be puzzled: is it a pet dog for the device? Or some hardware marked with a “dog” label? The answer is quite simple —The system watchdog (Watchdog) is the “dedicated … Read more

10 Things You Can Do When Your Linux Server Disk is Full, Beyond rm -rf

10 Things You Can Do When Your Linux Server Disk is Full, Beyond rm -rf

At three in the morning, my phone alarm shattered the night. The screen glaringly displayed: “Production environment server disk usage at 95%”. My heart skipped a beat as I trembled to connect to the VPN and typed df -h, confirming that terrifying red warning. My instinctive reaction was to delete some seemingly unimportant log files … Read more

Linux System Disk Space Available but Read-Only Error: No Space Left on Device

Linux System Disk Space Available but Read-Only Error: No Space Left on Device

Click the blue text to follow us // A journey of a thousand miles begins with a single step 【Problem Description】 After logging into the Linux system, the cloud host disk shows available space with the command df -h, but it reports a read-only error: No space left on device. 【Problem Analysis】 This is a … Read more

Rust Tool: One Line of Code to Simplify Prometheus Monitoring

0x0001 |When Monitoring Becomes as Simple as Ordering Takeout Have you ever had this experience? At three in the morning, the server suddenly alarms, CPU spikes to 99%, memory is full, and the logs are filled with <span>panic!</span> cries. While you chew on cold instant noodles, you frantically search through the code, only to find … Read more

Java Performance Analysis – Section Four – JVM Monitoring on Linux

Monitoring and Performance Analysis Monitoring Monitoring typically refers to a proactive or preventive activity in production, quality assessment, or development environments. When the application owner receives performance issues without sufficient clues to locate the problem, they will first check performance monitoring, followed by performance analysis. Performance Analysis Performance analysis is an intrusive activity that collects … Read more

Comprehensive Toolchain for Linux Performance Analysis: From Monitoring to Optimization

In the operation and performance optimization of Linux systems, mastering the appropriate performance analysis tools is crucial. This article systematically introduces the practical usage of various performance analysis tools and demonstrates how to locate and resolve performance issues through real-world cases. 1. Overall System Monitoring: Establishing Performance Baselines 1. vmstat – The Swiss Army Knife … Read more

Linux Server Disk Full? Quickly Find Large Files and Safely Delete Them

1. Basic Commands for Checking Disk Spaceunsetunset 1.1 Check Disk Usage # Check disk usage for all mounted points df -h # Check disk usage for a specific directory df -h /home 1.2 Find Large Files and Directories # Find files larger than 100MB in the current directory find . -type f -size +100M -exec … Read more

Python Timer Functions: Three Methods to Monitor Code Performance

The Python timer functions are powerful tools for monitoring code performance. This article will delve into several commonly used timer functions in Python and demonstrate how to use them to measure code execution time through examples. <span>time.perf_counter()</span>: High-Resolution Performance Counter <span>time.perf_counter()</span> function returns a value of a performance counter (in seconds) with the highest available … Read more

Utilizing Linux’s auditd Tool: Making Hackers Visible!

Everyone knows that information security is crucial for every enterprise today. Safeguarding server information security is one of the essential skills for every operations engineer. Today, I will share practical insights about the kernel-level auditing tool of the Linux system—auditd, which helps you protect server information security. By using it effectively, even if hackers invade, … Read more

Deployment Practices for Java Applications on Linux

Deployment Practices for Java Applications on Linux

In modern software development, deploying Java applications on Linux servers is a common practice. This article will detail the deployment process, best practices, and common troubleshooting solutions for Java applications in a Linux environment, helping developers efficiently complete application deployment tasks. 1. Pre-deployment Preparation 1.1 System Environment Check Before deploying a Java application, it is … Read more