Solaris Performance and Tools
Home > Computing and Information Technology > Business applications > Solaris Performance and Tools: DTrace and MDB Techniques for Solaris 10 and OpenSolaris
Solaris Performance and Tools: DTrace and MDB Techniques for Solaris 10 and OpenSolaris

Solaris Performance and Tools: DTrace and MDB Techniques for Solaris 10 and OpenSolaris

|
     0     
5
4
3
2
1




Out of Stock


Notify me when this book is in stock
About the Book

"The Solaris™Internals volumes 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™ 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 "The Solaris™ Internals volumes 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 of Solaris™ Internals the 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 engineer Solaris™ Performance and Tools provides 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 The Solaris™ Internals volumes make a superb reference for anyone using Solaris 10 and OpenSolaris.

Table of Contents:
Foreword xxi Preface xxiiiAbout the Authors xxxiAcknowledgments xxxiiiPART ONE: Observability Methods 1 Chapter 1: Introduction to Observability Tools 3 1.1 Observability Tools 4 1.2 Drill-Down Analysis 7 1.3 About Part One 8 Chapter 2: CPUs 11 2.1 Tools for CPU Analysis 11 2.2 vmstat Tool 13 2.3 CPU Utilization 14 2.4 CPU Saturation 15 2.5 psrinfo Command 15 2.6 uptime Command 15 2.7 sar Command 16 2.8 Clock Tick Woes 19 2.9 mpstat Command 20 2.10 Who Is Using the CPU? 23 2.11 CPU Run Queue Latency 24 2.12 CPU Statistics Internals 26 2.13 Using DTrace to Explain Events from Performance Tools 29 2.14 DTrace Versions of runq-sz, %runocc 31 2.15 DTrace Probes for CPU States 33 Chapter 3: Processes 35 3.1 Tools for Process Analysis 35 3.2 Process Statistics Summary: prstat 37 3.3 Process Status: ps 41 3.4 Tools for Listing and Controlling Processes 45 3.5 Process Introspection Commands 47 3.6 Examining User-Level Locks in a Process 52 3.7 Tracing Processes 53 3.8 Java Processes 60 Chapter 4: Disk Behavior and Analysis 67 4.1 Terms for Disk Analysis 67 4.2 Random vs. Sequential I/O 69 4.3 Storage Arrays 70 4.4 Sector Zoning 71 4.5 Max I/O Size 72 4.6 iostat Utility 73 4.7 Disk Utilization 74 4.8 Disk Saturation 75 4.9 Disk Throughput 76 4.10 iostat Reference 76 4.11 Reading iostat 82 4.12 iostat Internals 85 4.13 sar -d 87 4.14 Trace Normal Form (TNF) Tracing for I/O 88 4.15 DTrace for I/O 88 4.16 Disk I/O Time 97 4.17 DTraceToolkit Commands 101 4.18 DTraceTazTool 108 Chapter 5: File Systems 109 5.1 Layers of File System and I/O 109 5.2 Observing Physical I/O 111 5.3 File System Latency 112 5.4 Causes of Read/Write File System Latency 114 5.5 Observing File System “Top End” Activity 118 5.6 File System Caches 119 5.7 NFS Statistics 133 Chapter 6: Memory 135 6.1 Tools for Memory Analysis 135 6.2 vmstat(1M) Command 137 6.3 Types of Paging 138 6.4 Physical Memory Allocation 142 6.5 Relieving Memory Pressure 144 6.6 Scan Rate as a Memory Health Indicator 146 6.7 Process Virtual and Resident Set Size 148 6.8 Using pmap to Inspect Process Memory Usage 149 6.9 Calculating Process Memory Usage with ps and pmap 150 6.10 Displaying Page-Size Information with pmap 153 6.11 Using DTrace for Memory Analysis 154 6.12 Obtaining Memory Kstats 157 6.13 Using the Perl Kstat API to Look at Memory Statistics 158 6.14 System Memory Allocation Kstats 158 6.15 Kernel Memory with kstat 160 6.16 System Paging Kstats 161 6.17 Observing MMU Performance Impact with trapstat 163 6.18 Swap Space 164 Chapter 7: Networks 173 7.1 Terms for Network Analysis 173 7.2 Packets Are Not Bytes 175 7.3 Network Utilization 176 7.4 Network Saturation 177 7.5 Network Errors 177 7.6 Misconfigurations 177 7.7 Systemwide Statistics 178 7.8 Per-Process Network Statistics 189 7.9 TCP Statistics 191 7.10 IP Statistics 196 7.11 ICMP Statistics 199 Chapter 8: Performance Counters 2018.1 Introducing CPU Caches 203 8.2 cpustat Command 206 8.3 cputrack Command 215 8.4 busstat Command 216 Chapter 9: Kernel Monitoring 221 9.1 Tools for Kernel Monitoring 221 9.2 Profiling the Kernel and Drivers 222 9.3 Analyzing Kernel Locks 223 9.4 DTrace lockstat Provider 227 9.5 DTrace Kernel Profiling 229 9.6 Interrupt Statistics: vmstat -i 230 9.7 Interrupt Analysis: intrstat 230 PART TWO: Observability Infrastructure 233 Chapter 10: Dynamic Tracing 235 10.1 Introduction to DTrace 235 10.2 The Basics 236 10.3 Inspecting Java Applications with DTrace 257 10.4 DTrace Architecture 265 10.5 Summary 271 10.6 Probe Reference 271 10.7 MDB Reference 294 Chapter 11: Kernel Statistics 295 11.1 C-Level Kstat Interface 295 11.2 Command-Line Interface 307 11.3 Using Perl to Access kstats 11.4 Snooping a Program’s kstat Use with DTrace 317 11.5 Adding Statistics to the Solaris Kernel 317 11.6 Additional Information 323 PART THREE: Debugging 325 Chapter 12: The Modular Debugger 327 12.1 Introduction to the Modular Debugger 327 12.2 MDB Concepts 330 Chapter 13: An MDB Tutorial 335 13.1 Invoking MDB 335 13.2 MDB Command Syntax 336 13.3 Working with Debugging Targets 353 13.4 GDB-to-MDB Reference 357 13.5 dcmd and Walker Reference 359 Chapter 14: Debugging Kernels 367 14.1 Working with Kernel Cores 367 14.2 Examining User Process Stacks within a Kernel Image 382 14.3 Switching MDB to Debug a Specific Process 385 14.4 kmdb, the Kernel Modular Debugger 388 14.5 Kernel Built-In MDB dcmds 395 APPENDICESAppendix A Tunables and Settings 401 Appendix B DTrace One-Liners 407 Appendix C Java DTrace Scripts 409 Appendix D Sample Perl Kstat Utilities 413 Bibliography 429 Index 433


Best Sellers


Product Details
  • ISBN-13: 9780131568198
  • Publisher: Pearson Education (US)
  • Publisher Imprint: Prentice Hall
  • Height: 184 mm
  • Spine Width: 23 mm
  • Weight: 900 gr
  • ISBN-10: 0131568191
  • Publisher Date: 17 Aug 2006
  • Binding: Hardback
  • Language: English
  • Sub Title: DTrace and MDB Techniques for Solaris 10 and OpenSolaris
  • Width: 237 mm


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
Solaris Performance and Tools: DTrace and MDB Techniques for Solaris 10 and OpenSolaris
Pearson Education (US) -
Solaris Performance and Tools: DTrace and MDB Techniques for Solaris 10 and OpenSolaris
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

Solaris Performance and Tools: DTrace and MDB Techniques for Solaris 10 and OpenSolaris

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    New Arrivals

    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!