Tagged articles
32 articles
Page 1 of 1
Tech Stroll Journey
Tech Stroll Journey
Nov 27, 2025 · Operations

How to Diagnose and Reduce CPU Context Switches on Linux

This guide explains when CPU context switches happen, how to monitor them with vmstat and pidstat, interprets key metrics such as cswch and nvcswch, and provides step‑by‑step analysis techniques for identifying and troubleshooting CPU performance issues on Linux systems.

CPUInterruptscontext switching
0 likes · 11 min read
How to Diagnose and Reduce CPU Context Switches on Linux
Ops Community
Ops Community
Oct 28, 2025 · Operations

Master Linux Performance: Top, iotop, pidstat, sar – Real‑World Diagnostic Guide

This guide covers Linux performance analysis tools—including top, htop, iotop, pidstat, iostat, sar, and vmstat—detailing installation, usage, key metrics, troubleshooting scenarios, monitoring integration with Prometheus, and best‑practice recommendations for effective system diagnostics and capacity planning.

OpsPerformance Monitoringiotop
0 likes · 29 min read
Master Linux Performance: Top, iotop, pidstat, sar – Real‑World Diagnostic Guide
Linux Tech Enthusiast
Linux Tech Enthusiast
Sep 16, 2025 · Operations

A Comprehensive Guide to Linux Performance Optimization

This article provides an in‑depth, step‑by‑step walkthrough of Linux performance optimization, covering key metrics such as throughput and latency, how to interpret average load, CPU and memory usage, context‑switch analysis, common bottlenecks, and the most effective tools (vmstat, pidstat, perf, strace, dstat, etc.) with concrete command examples and real‑world case studies to help you diagnose and resolve performance issues.

monitoringoptimizationperformance
0 likes · 36 min read
A Comprehensive Guide to Linux Performance Optimization
Liangxu Linux
Liangxu Linux
Nov 22, 2023 · Operations

How to Diagnose High Context Switches on Linux with vmstat and pidstat

This guide explains what system context switches are, how to monitor them using vmstat and pidstat, provides a practical stress‑ng example that spikes switches, breaks down kernel thread kworker/u256:29-flush-8:0, and clarifies the difference between voluntary and non‑voluntary switches to help troubleshoot performance issues.

Performance Monitoringcontext switchpidstat
0 likes · 12 min read
How to Diagnose High Context Switches on Linux with vmstat and pidstat
MaGe Linux Operations
MaGe Linux Operations
Jul 19, 2023 · Operations

Master Linux System Monitoring: Top, vmstat, pidstat, iostat & More

This guide explains essential Linux monitoring tools—top, vmstat, pidstat, iostat, netstat, sar, and tcpdump—detailing the metrics they expose, how to interpret CPU, memory, disk, and network statistics, and practical command examples for effective server performance troubleshooting.

Operationslinuxperformance
0 likes · 17 min read
Master Linux System Monitoring: Top, vmstat, pidstat, iostat & More
Open Source Linux
Open Source Linux
Jul 4, 2023 · Operations

Master Linux System Monitoring: htop, top, pidstat and More

This guide walks you through essential Linux monitoring tools—htop/top for CPU usage, /proc files for hardware details, uptime and sar for load averages, pidstat for per‑process metrics, strace for system calls, lsof for open files, and network utilities like netstat and ss—providing commands, options, and interpretation tips to help you diagnose performance issues efficiently.

CPUMemoryhtop
0 likes · 14 min read
Master Linux System Monitoring: htop, top, pidstat and More
Liangxu Linux
Liangxu Linux
Aug 24, 2022 · Operations

How to Diagnose and Fix High CPU Context Switches on Linux

This guide explains what CPU context switches are, how to monitor them with vmstat and pidstat, analyzes a sysbench‑generated load case, examines interrupt sources, and provides practical thresholds and troubleshooting steps to improve Linux system performance.

CPUcontext switchlinux
0 likes · 10 min read
How to Diagnose and Fix High CPU Context Switches on Linux
Open Source Linux
Open Source Linux
May 10, 2022 · Operations

Mastering Linux Disk I/O: Key Metrics and Essential Monitoring Tools

This article explains Linux’s storage I/O stack, defines the five core performance metrics—utilization, saturation, IOPS, throughput, and response time—and demonstrates how to monitor them using tools such as iostat, pidstat, and iotop, with practical command examples.

Disk I/OPerformance Monitoringiostat
0 likes · 9 min read
Mastering Linux Disk I/O: Key Metrics and Essential Monitoring Tools
Liangxu Linux
Liangxu Linux
May 5, 2022 · Operations

How to Measure and Interpret Linux Disk I/O Performance Metrics

This article explains the Linux storage I/O stack, defines the five key disk performance metrics, and shows how to monitor both disk and process I/O using iostat, pidstat, and iotop, with practical command examples and interpretation tips.

Disk I/Oiostatiotop
0 likes · 9 min read
How to Measure and Interpret Linux Disk I/O Performance Metrics
21CTO
21CTO
Jan 24, 2022 · Operations

Master Linux Performance Monitoring: Essential Tools and Metrics

This guide explains how to monitor Linux server performance using built‑in tools such as top, vmstat, pidstat, iostat, netstat, sar and tcpdump, detailing the metrics each provides and how to interpret them for CPU, memory, disk I/O and network troubleshooting.

Performance MonitoringSystem Administrationiostat
0 likes · 15 min read
Master Linux Performance Monitoring: Essential Tools and Metrics
ITPUB
ITPUB
Jan 21, 2022 · Operations

Essential Linux Performance Monitoring: Top, vmstat, iostat, netstat & More

This guide explains how to use core Linux tools such as top, vmstat, pidstat, iostat, sar, netstat, and tcpdump to monitor CPU, memory, disk I/O, and network performance, interpret their metrics, and troubleshoot common bottlenecks on servers.

Performance Monitoringiostatlinux
0 likes · 17 min read
Essential Linux Performance Monitoring: Top, vmstat, iostat, netstat & More
Open Source Linux
Open Source Linux
Apr 10, 2021 · Operations

Master Linux Server Monitoring: Essential Tools & Metrics Explained

This guide walks through essential Linux server monitoring tools—top, vmstat, pidstat, iostat, netstat, sar, and tcpdump—explaining their output fields, what each metric reveals about CPU, memory, disk I/O, and network performance, and how to use them for effective troubleshooting and capacity planning.

iostatlinuxnetstat
0 likes · 17 min read
Master Linux Server Monitoring: Essential Tools & Metrics Explained
Liangxu Linux
Liangxu Linux
Mar 31, 2021 · Operations

Master Linux Server Monitoring: Essential Tools and How to Use Them

This guide explains how to use common Linux monitoring utilities—top, vmstat, pidstat, iostat, sar, netstat, and tcpdump—to observe CPU, memory, disk I/O, and network performance, interpret their output, and troubleshoot system bottlenecks effectively.

iostatlinuxnetstat
0 likes · 17 min read
Master Linux Server Monitoring: Essential Tools and How to Use Them
Liangxu Linux
Liangxu Linux
May 20, 2020 · Operations

Master Linux System Performance: Top, Perf, Sar, Vmstat, and More

This guide walks through dozens of Linux performance‑monitoring utilities—including top, perf, sar/ksar, mpstat, uptime, vmstat, pidstat, htop, atop, glances, nmon, pcp‑gui, collectl, and colplot—explaining what each tool measures, how to invoke it, key command‑line options, sample outputs, and where to find further documentation.

Performance MonitoringSystem Toolsperf
0 likes · 21 min read
Master Linux System Performance: Top, Perf, Sar, Vmstat, and More
Efficient Ops
Efficient Ops
Sep 16, 2019 · Operations

Master Linux Server Monitoring: Essential Tools & Metrics Explained

This guide walks you through essential Linux server monitoring tools—top, vmstat, pidstat, iostat, netstat, sar, and tcpdump—explaining each metric, how to interpret CPU, memory, disk, and network statistics, and offering practical tips for troubleshooting performance bottlenecks.

iostatlinuxperformance
0 likes · 18 min read
Master Linux Server Monitoring: Essential Tools & Metrics Explained
MaGe Linux Operations
MaGe Linux Operations
Jun 4, 2019 · Operations

Master Linux Server Performance: Essential Tools & Metrics Explained

This article walks through key Linux performance monitoring tools—top, vmstat, pidstat, iostat, sar, netstat, and tcpdump—explaining their output fields, how to interpret CPU, memory, disk, and network metrics, and how to use them for effective system troubleshooting.

Performance MonitoringSystem Administrationpidstat
0 likes · 17 min read
Master Linux Server Performance: Essential Tools & Metrics Explained
ITPUB
ITPUB
Nov 15, 2016 · Operations

How to Fix CPU0 Overload on Multi‑Core Web Servers Using taskset and PHP‑FPM

This article shows how to detect a CPU0 load imbalance on a multi‑core web server, confirms PHP‑FPM as the cause with mpstat and pidstat, and provides a Bash script that uses taskset to evenly distribute PHP‑FPM processes across all CPUs, plus a cron tip to keep the setting persistent.

CPU affinitympstatphp-fpm
0 likes · 6 min read
How to Fix CPU0 Overload on Multi‑Core Web Servers Using taskset and PHP‑FPM