The Oracle Solaris DTrace feature revolutionizes the way you debug operating systems and applications. Using DTrace, you can dynamically instrument software and quickly answer virtually any question about its behavior. Now, for the first time, there's a comprehensive, authoritative guide to making the most of DTrace in any supported UNIX environment--from Oracle Solaris to OpenSolaris, Mac OS X, and FreeBSD. Written by key contributors to the DTrace community, DTrace teaches by example, presenting scores of commands and easy-to-adapt, downloadable D scripts. These concise examples generate answers to real and useful questions, and serve as a starting point for building more complex scripts. Using them, you can start making practical use of DTrace immediately, whether you're an administrator, developer, analyst, architect, or support professional. The authors fully explain the goals, techniques, and output associated with each script or command. Drawing on their extensive experience, they provide strategy suggestions, checklists, and functional diagrams, as well as a chapter of advanced tips and tricks. You'll learn how to Write effective scripts using DTrace's D language Use DTrace to thoroughly understand system performance Expose functional areas of the operating system, including I/O, filesystems, and protocols Use DTrace in the application and database development process Identify and fix security problems with DTrace Analyze the operating system kernel Integrate DTrace into source code Extend DTrace with other tools This book will help you make the most of DTrace to solve problems more quickly and efficiently, and build systems that work faster and more reliably.
Cited By
- Eisner D, Wuersching R, Schnappinger M and Pretschner A Probe-based syscall tracing for efficient and practical file-level test traces Proceedings of the 3rd ACM/IEEE International Conference on Automation of Software Test, (126-137)
- Elsner D, Wuersching R, Schnappinger M, Pretschner A, Graber M, Dammer R and Reimer S Build system aware multi-language regression test selection in continuous integration Proceedings of the 44th International Conference on Software Engineering: Software Engineering in Practice, (87-96)
- Alpernas K, Panda A, Ryzhyk L and Sagiv M Cloud-Scale Runtime Verification of Serverless Applications Proceedings of the ACM Symposium on Cloud Computing, (92-107)
- Han X, Mickens J, Gehani A, Seltzer M and Pasquier T Xanthus: Push-button Orchestration of Host Provenance Data Collection Proceedings of the 3rd International Workshop on Practical Reproducible Evaluation of Computer Systems, (27-32)
- Gebai M and Dagenais M (2018). Survey and Analysis of Kernel and Userspace Tracers on Linux, ACM Computing Surveys, 51:2, (1-33), Online publication date: 31-Mar-2019.
- Vef M, Tarasov V, Hildebrand D and Brinkmann A (2018). Challenges and Solutions for Tracing Storage Systems, ACM Transactions on Storage, 14:2, (1-24), Online publication date: 25-May-2018.
- Sun H, Bonetta D, Humer C and Binder W Efficient dynamic analysis for Node.js Proceedings of the 27th International Conference on Compiler Construction, (196-206)
- Spinellis D (2018). Modern debugging, Communications of the ACM, 61:11, (124-134), Online publication date: 26-Oct-2018.
- Baudart G, Mandel L, Tardieu O and Vaziri M A reactive language for analyzing cloud logs Proceedings of the 5th ACM SIGPLAN International Workshop on Reactive and Event-Based Languages and Systems, (61-70)
- Doray F and Dagenais M (2017). Diagnosing Performance Variations by Comparing Multi-Level Execution Traces, IEEE Transactions on Parallel and Distributed Systems, 28:2, (462-474), Online publication date: 1-Feb-2017.
- Chamith B, Svensson B, Dalessandro L and Newton R Instruction punning: lightweight instrumentation for x86-64 Proceedings of the 38th ACM SIGPLAN Conference on Programming Language Design and Implementation, (320-332)
- Walter M and Karlsson S Software Tools for Low-Level Software and Operating Systems Classes Proceedings of the 19th Workshop on Computer Architecture Education, (16-23)
- Vanga M, Bastoni A, Theiling H and Brandenburg B Supporting low-latency, low-criticality tasks in a certified mixed-criticality OS Proceedings of the 25th International Conference on Real-Time Networks and Systems, (227-236)
- Chamith B, Svensson B, Dalessandro L and Newton R (2017). Instruction punning: lightweight instrumentation for x86-64, ACM SIGPLAN Notices, 52:6, (320-332), Online publication date: 14-Sep-2017.
- Chamith B, Svensson B, Dalessandro L and Newton R Living on the edge: rapid-toggling probes with cross-modification on x86 Proceedings of the 37th ACM SIGPLAN Conference on Programming Language Design and Implementation, (16-26)
- Chamith B, Svensson B, Dalessandro L and Newton R (2016). Living on the edge: rapid-toggling probes with cross-modification on x86, ACM SIGPLAN Notices, 51:6, (16-26), Online publication date: 1-Aug-2016.
- Couturier D and Dagenais M (2015). LTTng CLUST, Advances in Software Engineering, 2015, (2-2), Online publication date: 1-Jan-2015.
- Malka M, Amit N and Tsafrir D Efficient intra-operating system protection against harmful DMAs Proceedings of the 13th USENIX Conference on File and Storage Technologies, (29-44)
- Fu Q, Zhu J, Hu W, Lou J, Ding R, Lin Q, Zhang D and Xie T Where do developers log? an empirical study on logging practices in industry Companion Proceedings of the 36th International Conference on Software Engineering, (24-33)
- Liao Y and Langweg H Cost-benefit analysis of kernel tracing systems for forensic readiness Proceedings of the 2nd international workshop on Security and forensics in communication systems, (25-36)
- Mihajlović B, Žilić Ž and Gross W (2014). Dynamically Instrumenting the QEMU Emulator for Linux Process Trace Generation with the GDB Debugger, ACM Transactions on Embedded Computing Systems, 13:5s, (1-18), Online publication date: 15-Dec-2014.
- Li H and Thompson S Multicore profiling for Erlang programs using percept2 Proceedings of the twelfth ACM SIGPLAN workshop on Erlang, (33-42)
Index Terms
- DTrace: Dynamic Tracing in Oracle Solaris, Mac OS X and FreeBSD
Recommendations
DTrace the Solaris Doors in Inter-process Communication
ISCSCT '08: Proceedings of the 2008 International Symposium on Computer Science and Computational Technology - Volume 01By using DTrace tools in Solaris operating system. The behavior of doors IPC which is developed by Sun Microsystems is traced. Discussing with various kinds of Solaris IPCs, this paper mainly tests the Solaris doors in IPC programming. The test results ...