Tagged articles

CPU usage

21 articles · Page 1 of 1
Deepin Linux
Deepin Linux
Jun 20, 2026 · Fundamentals

Why Using Pipes Can Max Out Your CPU: Hidden Costs and Fixes

Although Linux pipes avoid disk I/O and seem faster, misuse such as tiny frequent writes, mismatched read/write speeds, non‑blocking tight loops, and improper fd handling can drive a single core to 100 % CPU, but the article explains the underlying reasons and step‑by‑step optimizations to prevent it.

CPU usageIPCLinux
0 likes · 17 min read
Why Using Pipes Can Max Out Your CPU: Hidden Costs and Fixes
Open Source Linux
Open Source Linux
Nov 3, 2025 · Operations

Master Linux ‘top’: Decode System Metrics and Boost Performance

This guide walks you through every line of the Linux top command output, explaining system summaries, CPU and memory metrics, process details, and advanced shortcuts, so you can quickly diagnose performance bottlenecks and become proficient at real‑time system troubleshooting.

CPU usageLinuxOperations
0 likes · 7 min read
Master Linux ‘top’: Decode System Metrics and Boost Performance
Programmer XiaoFu
Programmer XiaoFu
Apr 26, 2024 · Backend Development

8 Code Patterns That Can Spike Your CPU to 100%

The article enumerates eight common coding practices—such as fetching massive data at once, using Kafka auto‑acknowledgement, infinite loops, aggressive multithreaded imports, bulk file synchronization, deadlocks, poorly designed regexes, and heavy real‑time calculations—that can cause Java services to hit 100% CPU usage, explaining the underlying mechanisms like full GC, thread‑context switching, and NFA backtracking.

CPU usageDeadlockJava performance
0 likes · 9 min read
8 Code Patterns That Can Spike Your CPU to 100%
FunTester
FunTester
Feb 15, 2023 · Operations

Monitor JVM CPU, Load, and GC Metrics Using java.lang.management

This guide explains how to use Java's java.lang.management APIs to retrieve real-time JVM CPU usage, system load averages, garbage collection details, and heap/non‑heap memory statistics, providing code snippets and practical usage scenarios for performance testing and resource allocation.

CPU usageGarbage CollectionJVM Monitoring
0 likes · 7 min read
Monitor JVM CPU, Load, and GC Metrics Using java.lang.management
MaGe Linux Operations
MaGe Linux Operations
Dec 22, 2022 · Operations

Essential System Performance Metrics and Linux Server Monitoring Guide

This article explains key system performance testing metrics such as response time, concurrency, click‑through rate, throughput, TPS/QPS, PV/UV, and details essential Linux server indicators like CPU usage, memory utilization, load average, and disk I/O, providing formulas, interpretation guidelines, and useful command‑line tools.

CPU usageLinux monitoringload-average
0 likes · 17 min read
Essential System Performance Metrics and Linux Server Monitoring Guide
Liangxu Linux
Liangxu Linux
Sep 19, 2022 · Operations

Build a Simple Bash Script to Monitor CPU, Memory, and Disk Usage on Linux

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 usageSystem Monitoringdisk usage
0 likes · 9 min read
Build a Simple Bash Script to Monitor CPU, Memory, and Disk Usage on Linux
360 Quality & Efficiency
360 Quality & Efficiency
Apr 4, 2019 · Operations

Understanding System Load Average and CPU Usage in Linux

This article explains the meaning of the Linux uptime/top output, defines system load average as the average number of runnable and uninterruptible processes, distinguishes it from CPU utilization, and provides guidance on interpreting load values for single‑core and multi‑core systems.

CPU usageLinuxOperations
0 likes · 8 min read
Understanding System Load Average and CPU Usage in Linux
Hujiang Technology
Hujiang Technology
Jun 23, 2017 · Mobile Development

Implementing iOS Performance Monitoring: CPU, Memory, FPS, Startup Time, and Power Consumption

This article details the design and implementation of an iOS performance‑monitoring SDK that captures fundamental metrics such as CPU usage, memory consumption, frame rate, cold and hot startup times, and power draw, explains the underlying Mach APIs, provides sample Objective‑C code, and discusses practical considerations for accurate measurement and troubleshooting.

CPU usagePower ConsumptionStartup time
0 likes · 26 min read
Implementing iOS Performance Monitoring: CPU, Memory, FPS, Startup Time, and Power Consumption
MaGe Linux Operations
MaGe Linux Operations
Jul 31, 2014 · Operations

Master Linux Performance Monitoring with sar: A Complete Guide

This article explains how to use the sar (System Activity Reporter) tool on Linux to collect and analyze performance data, covering past and real‑time statistics, CPU, memory, I/O and swap metrics, installation steps, and a full list of command‑line options.

CPU usageLinux performanceSysstat
0 likes · 9 min read
Master Linux Performance Monitoring with sar: A Complete Guide