توضیحاتی در مورد کتاب :
"جلدهایSolaris(TM)Internalsبه سادگی بهترین و جامع ترین درمان محیط عملیاتی Solaris (و OpenSolaris) است. هر شخصی که از Solaris استفاده می کند - در هر ظرفیتی - از این کار صرف نظر می کند. این دو جلد جدید در کتابخانه شخصیشان هستند. با ابزارهای پیشرفتهی مشاهدهپذیری در سولاریس (مانند DTrace)، بیشتر اوقات خود را در قلمرویی خواهید دید که قبلاً غیرقابل توصیف بود.Solaris(TM) Internals, Second Edition, i>وسیله فوقالعادهای را در اختیار ما قرار میدهد تا بتوانیم سریعاً این سیستمها را درک کنیم و معماری Solaris را بیشتر بررسی کنیم - بهویژه وقتی با در دسترس بودن منبع OpenSolaris همراه باشد. --Jarod Jenson، معمار ارشد سیستمها، Aeysis "جلدهایSolaris(TM) Internalsاز جیم مائورو و ریچارد مکدوگال باید در قفسه کتابهای شما باشد اگر به دانش عمیق درباره سیستمعامل سولاریس علاقه دارید. به عنوان یک مهندس ارشد یونیکس برای سالها، اولین نسخهSolaris(TM) Internalsتنها منبع کاملاً جامع برای توسعهدهندگان هسته، برنامهنویسان سیستم و مدیران سیستم را پیدا کردم. ویرایش دوم جدید همراه با کتاب عملکرد و اشکالزدایی، یک مجموعه مرجع ضروری است که حاوی توضیحات مفید و کاربردی زیادی در مورد سولاریس و زیرسیستمهای زیرین آن، از جمله ابزارها و روشهایی برای مشاهده و تجزیه و تحلیل هر سیستمی است که Solaris 10 یا OpenSolaris را اجرا میکند." --Marc Strahl، مهندس ارشد یونیکسSolaris(TM) Performance and Toolsپوشش جامعی از ابزارهای قدرتمند همراه با Solaris 10 و OpenSolaris، از جمله تسهیلات Solaris Dynamic Tracing را ارائه می دهد. DTrace و Debugger Modular، MDB. این یک رویکرد سیستماتیک برای درک عملکرد و رفتار ارائه میکند، از جمله:
تجزیه و تحلیل استفاده از CPU توسط هسته و برنامهها، از جمله خواندن و درک شمارندههای سختافزار
استفاده از منابع در سطح فرآیند و نمایهسازی
رفتار دیسک IO و تجزیه و تحلیل
استفاده از حافظه در سطح سیستم و برنامه
عملکرد شبکه
نظارت و نمایه سازی هسته و جمع آوری آمار هسته
استفاده از ارائه دهندگان و تجمیع های DTrace
دستورات MDB و یک آموزش کامل MDB جلدهایSolaris(TM) Internalsیک مرجع عالی برای کسانی است که از Solaris 10 و OpenSolaris استفاده می کنند.
فهرست مطالب :
Cover......Page 1
Contents......Page 8
Foreword......Page 22
Preface......Page 24
About the Authors......Page 32
Acknowledgments......Page 34
PART ONE: Observability Methods......Page 42
Chapter 1 Introduction to Observability Tools......Page 44
1.1 Observability Tools......Page 45
1.2 Drill-Down Analysis......Page 48
1.3 About Part One......Page 49
2.1 Tools for CPU Analysis......Page 52
2.2 vmstat Tool......Page 54
2.3 CPU Utilization......Page 55
2.6 uptime Command......Page 56
2.7 sar Command......Page 57
2.8 Clock Tick Woes......Page 60
2.9 mpstat Command......Page 61
2.10 Who Is Using the CPU?......Page 64
2.11 CPU Run Queue Latency......Page 65
2.12 CPU Statistics Internals......Page 67
2.13 Using DTrace to Explain Events from Performance Tools......Page 70
2.14 DTrace Versions of runq-sz, %runocc......Page 72
2.15 DTrace Probes for CPU States......Page 74
3.1 Tools for Process Analysis......Page 76
3.2 Process Statistics Summary: prstat......Page 78
3.3 Process Status: ps......Page 82
3.4 Tools for Listing and Controlling Processes......Page 86
3.5 Process Introspection Commands......Page 88
3.6 Examining User-Level Locks in a Process......Page 93
3.7 Tracing Processes......Page 94
3.8 Java Processes......Page 101
4.1 Terms for Disk Analysis......Page 108
4.2 Random vs. Sequential I/O......Page 110
4.3 Storage Arrays......Page 111
4.4 Sector Zoning......Page 112
4.5 Max I/O Size......Page 113
4.6 iostat Utility......Page 114
4.7 Disk Utilization......Page 115
4.8 Disk Saturation......Page 116
4.10 iostat Reference......Page 117
4.11 Reading iostat......Page 123
4.12 iostat Internals......Page 126
4.13 sar -d......Page 128
4.15 DTrace for I/O......Page 129
4.16 Disk I/O Time......Page 138
4.17 DTraceToolkit Commands......Page 142
4.18 DTraceTazTool......Page 149
5.1 Layers of File System and I/O......Page 150
5.2 Observing Physical I/O......Page 152
5.3 File System Latency......Page 153
5.4 Causes of Read/Write File System Latency......Page 155
5.5 Observing File System "Top End" Activity......Page 159
5.6 File System Caches......Page 160
5.7 NFS Statistics......Page 174
6.1 Tools for Memory Analysis......Page 176
6.2 vmstat (1M) Command......Page 178
6.3 Types of Paging......Page 179
6.4 Physical Memory Allocation......Page 183
6.5 Relieving Memory Pressure......Page 185
6.6 Scan Rate as a Memory Health Indicator......Page 187
6.7 Process Virtual and Resident Set Size......Page 189
6.8 Using pmap to Inspect Process Memory Usage......Page 190
6.9 Calculating Process Memory Usage with ps and pmap......Page 191
6.10 Displaying Page-Size Information with pmap......Page 194
6.11 Using DTrace for Memory Analysis......Page 195
6.12 Obtaining Memory Kstats......Page 198
6.14 System Memory Allocation Kstats......Page 199
6.15 Kernel Memory with kstat......Page 201
6.16 System Paging Kstats......Page 202
6.17 Observing MMU Performance Impact with trapstat......Page 204
6.18 Swap Space......Page 205
7.1 Terms for Network Analysis......Page 214
7.2 Packets Are Not Bytes......Page 216
7.3 Network Utilization......Page 217
7.6 Misconfigurations......Page 218
7.7 Systemwide Statistics......Page 219
7.8 Per-Process Network Statistics......Page 230
7.9 TCP Statistics......Page 232
7.10 IP Statistics......Page 237
7.11 ICMP Statistics......Page 240
8.1 Introducing CPU Caches......Page 244
8.2 cpustat Command......Page 247
8.3 cputrack Command......Page 256
8.4 busstat Command......Page 257
9.1 Tools for Kernel Monitoring......Page 262
9.2 Profiling the Kernel and Drivers......Page 263
9.3 Analyzing Kernel Locks......Page 264
9.4 DTrace lockstat Provider......Page 268
9.5 DTrace Kernel Profiling......Page 270
9.7 Interrupt Analysis: intrstat......Page 271
PART TWO: Observability Infrastructure......Page 274
10.1 Introduction to DTrace......Page 276
10.2 The Basics......Page 277
10.3 Inspecting Java Applications with DTrace......Page 298
10.4 DTrace Architecture......Page 306
10.6 Probe Reference......Page 312
10.7 MDB Reference......Page 335
11.1 C-Level Kstat Interface......Page 336
11.2 Command-Line Interface......Page 348
11.3 Using Perl to Access kstats......Page 352
11.5 Adding Statistics to the Solaris Kernel......Page 358
11.6 Additional Information......Page 364
PART THREE: Debugging......Page 366
12.1 Introduction to the Modular Debugger......Page 368
12.2 MDB Concepts......Page 371
13.1 Invoking MDB......Page 376
13.2 MDB Command Syntax......Page 377
13.3 Working with Debugging Targets......Page 394
13.4 GDB-to-MDB Reference......Page 398
13.5 dcmd and Walker Reference......Page 400
14.1 Working with Kernel Cores......Page 408
14.2 Examining User Process Stacks within a Kernel Image......Page 423
14.3 Switching MDB to Debug a Specific Process......Page 426
14.4 kmdb, the Kernel Modular Debugger......Page 429
14.5 Kernel Built-In MDB dcmds......Page 436
APPENDICES......Page 440
Appendix A: Tunables and Settings......Page 442
Appendix B: DTrace One-Liners......Page 448
Appendix C: Java DTrace Scripts......Page 450
Appendix D: Sample Perl Kstat Utilities......Page 454
Bibliography......Page 470
C......Page 474
D......Page 475
F......Page 477
K......Page 478
M......Page 479
N......Page 482
P......Page 483
S......Page 484
Z......Page 485
توضیحاتی در مورد کتاب به زبان اصلی :
"TheSolaris(TM)Internalsvolumes are simply the best and most comprehensive treatment of the Solaris (and OpenSolaris) Operating Environment. Any person using Solaris--in any capacity--would be remiss not to include these two new volumes in their personal library. With advanced observability tools in Solaris (like DTrace), you will more often find yourself in what was previously unchartable territory.Solaris(TM) Internals, Second Edition,provides us a fantastic means to be able to quickly understand these systems and further explore the Solaris architecture--especially when coupled with OpenSolaris source availability." --Jarod Jenson, chief systems architect, Aeysis "TheSolaris(TM) Internalsvolumes by Jim Mauro and Richard McDougall must be on your bookshelf if you are interested in in-depth knowledge of Solaris operating system internals and architecture. As a senior Unix engineer for many years, I found the first edition ofSolaris(TM) Internalsthe only fully comprehensive source for kernel developers, systems programmers, and systems administrators. The new second edition, with the companion performance and debugging book, is an indispensable reference set, containing many useful and practical explanations of Solaris and its underlying subsystems, including tools and methods for observing and analyzing any system running Solaris 10 or OpenSolaris." --Marc Strahl, senior UNIX engineerSolaris(TM) Performance and Toolsprovides comprehensive coverage of the powerful utilities bundled with Solaris 10 and OpenSolaris, including the Solaris Dynamic Tracing facility, DTrace, and the Modular Debugger, MDB. It provides a systematic approach to understanding performance and behavior, including:
Analyzing CPU utilization by the kernel and applications, including reading and understanding hardware counters
Process-level resource usage and profiling
Disk IO behavior and analysis
Memory usage at the system and application level
Network performance
Monitoring and profiling the kernel, and gathering kernel statistics
Using DTrace providers and aggregations
MDB commands and a complete MDB tutorial TheSolaris(TM) Internalsvolumes make a superb reference for anyone using Solaris 10 and OpenSolaris.