Many
Manuals
search
Kategorie
Marki
Strona główna
Red Hat
Oprogramowanie
ENTERPRISE LINUX 5.4 - SYSTEMTAP BEGINNERS GUIDE
Informacje Techniczne
Red Hat ENTERPRISE LINUX 5.4 - SYSTEMTAP BEGINNERS GUIDE Informacje Techniczne Strona 22
Pobierz
Podziel się
Dzielenie się
Dodaj do moich podręczników
Drukuj
Strona
/
240
Spis treści
ROZWIĄZYWANIE PROBLEMÓW
BOOKMARKI
Oceniono
.
/ 5. Na podstawie
oceny klientów
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
1
2
...
17
18
19
20
21
22
23
24
25
26
27
...
239
240
SUSE Linux
1
Enterprise Server
1
Contents
3
III Kernel Monitoring 69
4
IV Resource Management 113
5
V Kernel Tuning 153
6
16 Tuning the Network 187
7
17 Tracing Tools 193
7
18 kexec and kdump 205
7
A GNU Licenses 221
8
About This Guide
9
1 Available Documentation
10
2 Feedback
12
3 Documentation Conventions
13
PartI.Basics
15
General Notes on System
17
1.2 Rule Out Common Problems
18
1.3 Finding the Bottleneck
18
1.4 Step-by-step Tuning
19
PartII.System Monitoring
21
System Monitoring Utilities
23
2.1.1 vmstat
24
With sadc
27
CPU Utilization Report: sar
28
Memory Usage Report: sar -r
28
2.1.2.3 Visualizing sar Data
30
2.2 System Information
31
Viewer: udevadm monitor
34
2.3 Processes
35
2.3.2 Process List: ps
36
2.3.3 Process Tree: pstree
37
2.3.4 Table of Processes: top
38
2.4 Memory
42
HugePages_Rsvd: 0
44
HugePages_Surp: 0
44
Hugepagesize: 2048 kB
44
DirectMap4k: 2689024 kB
44
DirectMap2M: 5691392 kB
44
2.5 Networking
45
2.6 The /proc File System
49
2.6.1 procinfo
51
2.7 Hardware Information
53
2.8 Files and File Systems
54
Binaries
56
2.8.4 File Properties: stat
56
2.9 User Information
57
2.10 Time and Date
57
2.11 Graph Your Data: RRDtool
58
2.11.2.1 Collecting Data
59
2.11.2.2 Creating Database
60
2.11.3 For More Information
63
Monitoring with Nagios
65
3.3.1 Object Definition Files
67
3.4 Configuring Nagios
69
3.5 Troubleshooting
72
3.6 For More Information
73
Analyzing and Managing
75
System Log Files
75
4.3 Managing Log Files with
78
4.4 Monitoring Log Files with
80
Log Entries
81
PartIII.Kernel Monitoring
83
SystemTap—Filtering and
85
Analyzing System Data
85
5.1.1 SystemTap Scripts
86
5.1.2 Tapsets
86
5.1.3 Commands and Privileges
87
5.2 Installation and Setup
88
5.3 Script Syntax
90
Ctrl + C
91
5.3.3.1 Functions
92
Variables
95
Conditional Statements
96
5.4 Example Script
97
5.5 User-Space Probing
98
5.6 For More Information
99
Kernel Probes
101
6.1 Supported Architectures
102
6.2 Types of Kernel Probes
102
6.3 Kernel probes API
103
6.4 Debugfs Interface
104
6.5 For More Information
105
Perfmon2—Hardware
107
Based Performance
107
Monitoring
107
7.1.2 Sampling and Counting
108
7.2 Installation
109
7.3 Using Perfmon
110
7.4 Retrieving Metrics From
113
interrupt =
115
ovfl_intr_ns /
115
ovfl_intr_all_count
115
7.5 For More Information
116
OProfile—System-Wide
119
Profiler
119
8.4 Using OProfile
120
8.4.1 General Steps
121
8.5 Using OProfile's GUI
123
8.6 Generating Reports
124
8.7 For More Information
124
PartIV.Resource
127
Management
127
General System Resource
129
9.1.2 Installation Scope
130
9.1.3 Default Runlevel
130
9.2 Disabling Unnecessary
131
Services
131
9.3.1 File Systems
132
Kernel Control Groups
135
10.2 Scenario
136
Disk I/O
137
Network I/O
137
10.3 Control Group Subsystems
138
10.4 Using Controller Groups
141
10.4.3 Example: Cpusets
142
10.4.4 Example: cgroups
143
10.5 For More Information
144
Power Management
147
11.1.4 Turbo Features
150
11.2 The Linux Kernel CPUfreq
151
Infrastructure
151
11.3 Viewing, Monitoring and
153
Tuning Power-related Settings
153
Statistics with cpupower
157
11.4 Special Tuning Options
160
11.5 Creating and Using Power
163
Management Profiles
163
11.6 Troubleshooting
164
11.7 For More Information
165
PartV.Kernel Tuning
167
Installing Multiple Kernel
169
Versions
169
12.1 Enabling and Configuring
170
Multiversion Support
170
Kernel Versions with YaST
171
Kernel Versions with zypper
172
Tuning I/O Performance
175
13.2 Available I/O Elevators
176
13.2.2 NOOP
177
13.2.3 DEADLINE
177
13.3 I/O Barrier Tuning
178
Tuning the Task Scheduler
179
14.2 Process Classification
180
14.3 O(1) Scheduler
181
14.4.1 How CFS Works
183
14.4.2 Grouping Processes
183
14.4.4 Terminology
184
Scheduler Statistics
189
14.5 For More Information
190
Tuning the Memory
193
Management Subsystem
193
15.1 Memory Usage
194
15.1.4 Buffer Heads
195
15.1.5 Writeback
195
15.1.6 Readahead
195
15.1.7 VFS caches
195
15.2 Reducing Memory Usage
196
Tunable Parameters
197
15.3.2 Writeback Parameters
198
15.3.3 Readahead parameters
199
15.3.4 Further VM Parameters
199
15.5 Monitoring VM Behavior
200
Tuning the Network
201
/proc/sys/net/ipv6
202
/proc/sys/net/core
202
/proc/sys/net/ipv4
202
16.3 Netfilter
203
16.4 For More Information
204
PartVI.Handling
205
System Dumps
205
Tracing Tools
207
Valgrind
212
17.3.3 General Information
213
17.3.4 Default Options
214
17.3.5 How Valgrind Works
214
17.3.6 Messages
215
17.3.7 Error Messages
216
17.4 For More Information
217
18.1 Introduction
219
18.2 Required Packages
220
18.3 kexec Internals
220
18.4 Basic kexec Usage
221
Routine Reboots
222
/sbin/mkinitrd -D vlan0
223
/sbin/mkinitrd -I eth0
223
18.6.2 YaST Configuration
226
18.7 Analyzing the Crash Dump
227
18.7.1 Kernel Binary Formats
228
18.8 Advanced kdump
231
Configuration
231
18.9 For More Information
232
GNU Licenses
235
2. VERBATIM COPYING
236
3. COPYING IN QUANTITY
236
4. MODIFICATIONS
236
5. COMBINING DOCUMENTS
237
GNU Licenses 225
239
Komentarze do niniejszej Instrukcji
Brak uwag
Publish
Powiązane produkty i podręczniki dla Oprogramowanie Red Hat ENTERPRISE LINUX 5.4 - SYSTEMTAP BEGINNERS GUIDE
Oprogramowanie Red Hat CERTIFICATE SYSTEM 7.3 - ADMINISTRATION Podręcznik Użytkownika
(75 strony)
Oprogramowanie Red Hat ENTERPRISE LINUX 3 - STEP BY STEP GUIDE Przewodnik Instalacji
(110 strony)
Oprogramowanie Red Hat ENTERPRISE LINUX - ONLINE STORAGE RECONFIGURATION GUIDE BETA Informacje Techniczne
(238 strony)
Drukuj dokument
Drukuj stronę 22
Komentarze do niniejszej Instrukcji