sar

Monitor and report CPU, memory, I/O, and process statistics using the sar utility.

313|71|Updated Mar 12, 2019
One-click install
npx skills add https://github.com/yuchuangu85/Develop-Source --skill sar
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sar
Source: https://github.com/yuchuangu85/Develop-Source/tree/main/Develop/Effect-Linux/LinuxCommand/s
Command: npx skills add https://github.com/yuchuangu85/Develop-Source --skill sar

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides detailed system performance statistics, helping you identify bottlenecks and understand resource utilization.

Core Features & Use Cases

  • System Monitoring: Track CPU, memory, I/O, and process activity.
  • Performance Analysis: Analyze historical performance data to diagnose issues.
  • Use Case: Troubleshoot a slow-running server by using sar to examine CPU load, memory usage, and I/O wait times over a specific period.

Quick Start

Run the command sar -u to view CPU utilization statistics.

Frequently Asked Questions about sar

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check CPU usage and system performance in real-time?

To check CPU usage and system performance in real-time, run the `sar -u` command. This utility collects and displays current statistics on CPU utilization, helping you identify active bottlenecks.

How does historical system monitoring data help troubleshoot a slow server?

Historical system monitoring data helps troubleshoot a slow server by allowing you to analyze past CPU load, memory usage, and I/O wait times over a specific period to pinpoint exactly when resource bottlenecks occurred.

Can I track memory usage and I/O wait times using the sar command?

Yes, you can track memory usage and I/O wait times using the sar command. It reports system activity across CPU, memory, I/O, and process statistics for comprehensive performance analysis.

What is the best way to monitor process activity and resource utilization for performance tuning?

The best way to monitor process activity and resource utilization for performance tuning is using the sar command-line utility, which provides detailed real-time and historical system activity reports.

When do I need to run system diagnostics for memory and I/O statistics?

You need to run system diagnostics for memory and I/O statistics when experiencing unexplained slowdowns, enabling you to examine resource utilization and identify whether CPU, memory, or I/O bottlenecks are causing the issue.