Summary of Troubleshooting 100% CPU Usage on Linux

Summary of Troubleshooting 100% CPU Usage on Linux

Follow “Java Matters” and select “Star” to receive a free Java book package, whether you are a newcomer or an experienced developer in this new era.Source: Online. When your server’s CPU reaches 100%, how do you troubleshoot the abnormal fault? At the end of this article, a shell script will be shared to help you … Read more

The Perf Tool in Linux Kernel: An Analysis of Its Implementation Principles

The Perf Tool in Linux Kernel: An Analysis of Its Implementation Principles

[Image] In the vast realm of the Linux kernel, performance optimization and fault diagnosis stand as two towering peaks, obstructing the path of developers. To scale these two heights, developers are constantly in search of powerful tools. Among them, perf is undoubtedly one of the most dazzling “artifacts.” When running a complex Linux system, have … Read more

Detailed Explanation of the RedHat nmcli Tool in Linux IP

Detailed Explanation of the RedHat nmcli Tool in Linux IP

RedHat <strong><span>nmcli</span></strong> Tool Overview 1. Overview <span>nmcli</span> is a command-line interface tool provided by NetworkManager for managing network connections in Linux systems. It supports configuration, management, monitoring, and debugging of network devices and connections. For Red Hat-based distributions (such as RHEL, CentOS, etc.), <span>nmcli</span> is the standard network management tool. 2. Installation and Version Check … Read more

Comprehensive Guide to Disk Expansion in Linux Systems

Comprehensive Guide to Disk Expansion in Linux Systems

Click the blue “Most Programmer” to follow me! Add a “star“, every day at 18:03 to learn technology together Disk Expansion in Linux Systems After adding the disk in the console, Add Partition After restarting the system, perform the following operations Disk Partitioning [root@oracle ~]# fdisk /dev/sda Welcome to fdisk (util-linux 2.23.2). Changes will remain … Read more

Setting Up a Linux Firewall for Uncompromised Security

Setting Up a Linux Firewall for Uncompromised Security

In the battlefield of network security, firewalls act as vigilant sentinels, weaving rules with code to protect the borders of the digital world. When you hold a Linux system in your hands, this operating system, inherently equipped with “security genes,” has already prepared various firewall tools for you. Let us break down the core value … Read more

Linux Disk Management: A Complete Process from Mounting to Daily Maintenance

Linux Disk Management: A Complete Process from Mounting to Daily Maintenance

Physical Device Recognition In Linux, everything is a file. When you connect a new disk to the system, the Linux kernel detects this device through the udev event mechanism: # View the disk devices recognized by the system $ lsblk $ ls -l /dev/sd* Disk devices are typically represented by paths such as /dev/sda, /dev/sdb, … Read more

Exploring Linux: The Secrets of File and Link Operations

Exploring Linux: The Secrets of File and Link Operations

File System 1. Experiment Objectives The file system (p583, programming problem) checks the relationship between files and inode on UNIX or Linux systems. On these systems, files are represented by inodes. In other words, an inode is a file (and vice versa). You can complete this exercise on the Linux virtual machine provided in this … Read more

The Power of the Linux ip Command!

The Power of the Linux ip Command!

Original link: https://developer.aliyun.com/article/1637555 In Linux systems, the <span>ip</span> command is a powerful tool for managing network interfaces and routing. Compared to the older <span>ifconfig</span> command, the <span>ip</span> command offers more features and finer control. This article will detail the common operations of the <span>ip</span> command to help users manage and configure networks more effectively. <span>ip</span> … Read more

A Record of a Frustrating Experience: Real-Time Task Scheduling and Priority in Linux

A Record of a Frustrating Experience: Real-Time Task Scheduling and Priority in Linux

Failure is the mother of success. This article is a real debugging record of failure. Through this article, you will deeply experience the following concepts in the Linux system: Real-time processes and normal process scheduling strategies; How the chaotic process priority is calculated in Linux; Testing CPU affinity; Program design for multiprocessor (SMP) systems encountering … Read more

Getting Started with Linux: Your First Progress Bar Program Made Easy!

Linux | Red Hat Certified | IT Technology | Operations Engineer 👇 Join our technical exchange QQ group with 1000 members, note 【public account】 for faster approval 1. Carriage Return and Line Feed In Windows, we consider carriage return and line feed as one concept; however, in reality, line feed moves to the current position … Read more