Jump To Close Expand all Collapse all Table of contents SystemTap Beginners Guide Preface 1. Introduction Expand section "1. Introduction" Collapse section "1. Introduction" 1.1. Documentation Goals 1.2. SystemTap Capabilities 2. Using SystemTap Expand section "2. Using SystemTap" Collapse section "2. Using SystemTap" 2.1. Installation and Setup Expand section "2.1. Installation and Setup" Collapse section "2.1. Installation and Setup" 2.1.1. Installing SystemTap 2.1.2. Installing Required Kernel Information RPM packages 2.1.3. Initial Testing 2.2. Generating Instrumentation for Other Computers 2.3. Running SystemTap Scripts Expand section "2.3. Running SystemTap Scripts" Collapse section "2.3. Running SystemTap Scripts" 2.3.1. SystemTap Flight Recorder Mode 3. Understanding How SystemTap Works Expand section "3. Understanding How SystemTap Works" Collapse section "3. Understanding How SystemTap Works" 3.1. Architecture 3.2. SystemTap Scripts Expand section "3.2. SystemTap Scripts" Collapse section "3.2. SystemTap Scripts" 3.2.1. Event 3.2.2. Systemtap Handler/Body 3.3. Basic SystemTap Handler Constructs Expand section "3.3. Basic SystemTap Handler Constructs" Collapse section "3.3. Basic SystemTap Handler Constructs" 3.3.1. Variables 3.3.2. Conditional Statements 3.3.3. Command-Line Arguments 3.4. Associative Arrays 3.5. Array Operations in SystemTap Expand section "3.5. Array Operations in SystemTap" Collapse section "3.5. Array Operations in SystemTap" 3.5.1. Assigning an Associated Value 3.5.2. Reading Values From Arrays 3.5.3. Incrementing Associated Values 3.5.4. Processing Multiple Elements in an Array 3.5.5. Clearing/Deleting Arrays and Array Elements 3.5.6. Using Arrays in Conditional Statements 3.5.7. Computing for Statistical Aggregates 3.6. Tapsets 4. Useful SystemTap Scripts Expand section "4. Useful SystemTap Scripts" Collapse section "4. Useful SystemTap Scripts" 4.1. Network Expand section "4.1. Network" Collapse section "4.1. Network" 4.1.1. Network Profiling 4.1.2. Tracing Functions Called in Network Socket Code 4.1.3. Monitoring Incoming TCP Connections 4.1.4. Monitoring Network Packets Drops in Kernel 4.2. Disk Expand section "4.2. Disk" Collapse section "4.2. Disk" 4.2.1. Summarizing Disk Read/Write Traffic 4.2.2. Tracking I/O Time For Each File Read or Write 4.2.3. Track Cumulative IO 4.2.4. I/O Monitoring (By Device) 4.2.5. Monitoring Reads and Writes to a File 4.2.6. Monitoring Changes to File Attributes 4.3. Profiling Expand section "4.3. Profiling" Collapse section "4.3. Profiling" 4.3.1. Counting Function Calls Made 4.3.2. Call Graph Tracing 4.3.3. Determining Time Spent in Kernel and User Space 4.3.4. Monitoring Polling Applications 4.3.5. Tracking Most Frequently Used System Calls 4.3.6. Tracking System Call Volume Per Process 4.4. Identifying Contended User-Space Locks 5. Understanding SystemTap Errors Expand section "5. Understanding SystemTap Errors" Collapse section "5. Understanding SystemTap Errors" 5.1. Parse and Semantic Errors 5.2. Run Time Errors and Warnings 6. References A. Revision History Index Legal Notice Settings Close Language: 日本語 English Language: 日本語 English Format: Multi-page Single-page PDF Format: Multi-page Single-page PDF Language and Page Formatting Options Language: 日本語 English Language: 日本語 English Format: Multi-page Single-page PDF Format: Multi-page Single-page PDF Red Hat Training A Red Hat training course is available for Red Hat Enterprise Linux Preface Previous Next