Linux Debugging and Performance Tuning

Linux Debugging and Performance Tuning

Author: Steve Francis Best

Publisher: Prentice Hall

Published: 2006

Total Pages: 0

ISBN-13: 9780131492479

DOWNLOAD EBOOK

&Quot;This is the definitive guide to Linux software debugging and performance optimization at both the kernel and application levels. Using extensive Linux code examples, Steve Best systematically introduces open source tools and best-practice techniques for delivering bug-free, well-tuned code."--BOOK JACKET.


The Linux Programmer's Toolbox

The Linux Programmer's Toolbox

Author: John Fusco

Publisher: Pearson Education

Published: 2007-03-06

Total Pages: 683

ISBN-13: 0132703041

DOWNLOAD EBOOK

Master the Linux Tools That Will Make You a More Productive, Effective Programmer The Linux Programmer's Toolbox helps you tap into the vast collection of open source tools available for GNU/Linux. Author John Fusco systematically describes the most useful tools available on most GNU/Linux distributions using concise examples that you can easily modify to meet your needs. You'll start by learning the basics of downloading, building, and installing open source projects. You'll then learn how open source tools are distributed, and what to look for to avoid wasting time on projects that aren't ready for you. Next, you'll learn the ins and outs of building your own projects. Fusco also demonstrates what to look for in a text editor, and may even show you a few new tricks in your favorite text editor. You'll enhance your knowledge of the Linux kernel by learning how it interacts with your software. Fusco walks you through the fundamentals of the Linux kernel with simple, thought-provoking examples that illustrate the principles behind the operating system. Then he shows you how to put this knowledge to use with more advanced tools. He focuses on how to interpret output from tools like sar, vmstat, valgrind, strace, and apply it to your application; how to take advantage of various programming APIs to develop your own tools; and how to write code that monitors itself. Next, Fusco covers tools that help you enhance the performance of your software. He explains the principles behind today's multicore CPUs and demonstrates how to squeeze the most performance from these systems. Finally, you'll learn tools and techniques to debug your code under any circumstances. Coverage includes Maximizing productivity with editors, revision control tools, source code browsers, and "beautifiers" Interpreting the kernel: what your tools are telling you Understanding processes–and the tools available for managing them Tracing and resolving application bottlenecks with gprof and valgrind Streamlining and automating the documentation process Rapidly finding help, solutions, and workarounds when you need them Optimizing program code with sar, vmstat, iostat, and other tools Debugging IPC with shell commands: signals, pipes, sockets, files, and IPC objects Using printf, gdb, and other essential debugging tools Foreword Preface Acknowledgments About the Author Chapter 1 Downloading and Installing Open Source Tools Chapter 2 Building from Source Chapter 3 Finding Help Chapter 4 Editing and Maintaining Source Files Chapter 5 What Every Developer Should Know about the Kernel Chapter 6 Understanding Processes Chapter 7 Communication between Processes Chapter 8 Debugging IPC with Shell Commands Chapter 9 Performance Tuning Chapter 10 Debugging Index


Rapid Web Applications with TurboGears

Rapid Web Applications with TurboGears

Author: Mark Ramm

Publisher: Pearson Education

Published: 2006-11-07

Total Pages: 533

ISBN-13: 0132703084

DOWNLOAD EBOOK

Master TurboGears: The Easy Python Framework for Rapid Web Development TurboGears harnesses the power of Python to provide a dynamic and easy-to-use Web development framework: one that dramatically increases developer productivity, and makes it far easier to create dynamic, user-friendly, Ajax-enabled Web applications. Now, for the first time, there’s a definitive guide to TurboGears–coauthored by its creator, Kevin Dangoor. This book will help experienced Web developers get productive with TurboGears–fast. You’ll quickly build your first TurboGears Web application–then extend it one step at a time, mastering the underlying libraries that make these enhancements possible. Next, the authors demonstrate TurboGears at work in a real-world application, by examining the code for “WhatWhat Status,” an open source project status tracking application. Finally, you’ll gain deep insight into the model, view, and controller technologies TurboGears is built upon: knowledge that will help you build far more robust and capable Python applications. Coverage includes Understanding the architecture of a TurboGears application Mastering SQLObject, customizing it, and using it with TurboGears models Utilizing TurboGears view technologies, including dynamic templates and MochiKit for Ajax Bringing CSS, XHTML, and JavaScript together in reusable components with TurboGears Widgets Using CherryPy and TurboGears controller technologies: from decorators to deployment Exploring the TurboGears toolbox Ensuring security and managing user access permissions in TurboGears applications


The Apache Modules Book

The Apache Modules Book

Author: Nick Kew

Publisher: Prentice Hall Professional

Published: 2007-01-26

Total Pages: 589

ISBN-13: 0132704501

DOWNLOAD EBOOK

"Do you learn best by example and experimentation? This book is ideal. Have your favorite editor and compiler ready–you'll encounter example code you'll want to try right away. You've picked the right book–this is sure to become the de facto standard guide to writing Apache modules." –Rich Bowen, coauthor, Apache Administrators Handbook, Apache Cookbook, and The Definitive Guide to Apache mod_rewrite "A first-rate guide to getting the most out of Apache as a modular application platform–sure to become a must-read for any Apache programmer, from beginner to experienced professional. It builds up carefully and meticulously from the absolute basics, while including chapters on everything from the popular Apache DBD Framework to best practices, security, and debugging." –Noirin Plunkett, documentation committer to the Apache httpd project, and member of the ASF conference committee The Only Comprehensive Guide to Developing Apache 2.x Modules and Applications Apache is more than the world's most popular Web server–it's also an extraordinarily powerful and extensible development platform. Now, ApacheTutor.org's Nick Kew has written The Apache Modules Book, the first start-to-finish, example-rich guide for every developer who wants to make the most of Apache. Kew begins with detailed, accessible introductions to Apache's architecture and API, then illuminates all the techniques you'll need, from request processing through code security. He brings together the best of both worlds: powerful C-based techniques for accomplishing tasks Perl or PHP can't handle, implemented with tools that deliver all the productivity you'd expect from higher-level languages. Utilizing realistic code samples, Kew introduces techniques documented in no other book-and, often, nowhere else at all. Coverage includes Using Apache Portable Runtime (APR) to streamline C development and avoid its pitfalls Leveraging Apache DBD to build applications far more scalable than classic LAMP software Working with the latest Apache 2.x features: filter modules, XML support, and smart proxies Mastering best practices, from thread safety to multi-platform development Utilizing the Apache Authentication Framework Tracing and debugging problems in both Apache and your custom modules Foreword Preface Acknowledgments About the Author Chapter 1 Applications Development with Apache Chapter 2 The Apache Platform and Architecture Chapter 3 The Apache Portable Runtime Chapter 4 Programming Techniques and Caveats Chapter 5 Writing a Content Generator Chapter 6 Request Processing Cycle and Metadata Handlers Chapter 7 AAA: Access, Authentication, and Authorization Chapter 8 Filter Modules Chapter 9 Configuration for Modules Chapter 10 Extending the API Chapter 11 The Apache Database Framework Chapter 12 Module Debugging Appendix A Apache License Appendix B Contributor License Agreements Appendix C Hypertext Transfer Protocol: HTTP/1.1 Index About the Web Site ApacheTutor.org contains code examples from the book, all designed for easy use and integration into existing applications.


Linux Device Drivers

Linux Device Drivers

Author: Jonathan Corbet

Publisher: "O'Reilly Media, Inc."

Published: 2005-02-07

Total Pages: 640

ISBN-13: 0596555385

DOWNLOAD EBOOK

Device drivers literally drive everything you're interested in--disks, monitors, keyboards, modems--everything outside the computer chip and memory. And writing device drivers is one of the few areas of programming for the Linux operating system that calls for unique, Linux-specific knowledge. For years now, programmers have relied on the classic Linux Device Drivers from O'Reilly to master this critical subject. Now in its third edition, this bestselling guide provides all the information you'll need to write drivers for a wide range of devices.Over the years the book has helped countless programmers learn: how to support computer peripherals under the Linux operating system how to develop and write software for new hardware under Linux the basics of Linux operation even if they are not expecting to write a driver The new edition of Linux Device Drivers is better than ever. The book covers all the significant changes to Version 2.6 of the Linux kernel, which simplifies many activities, and contains subtle new features that can make a driver both more efficient and more flexible. Readers will find new chapters on important types of drivers not covered previously, such as consoles, USB drivers, and more.Best of all, you don't have to be a kernel hacker to understand and enjoy this book. All you need is an understanding of the C programming language and some background in Unix system calls. And for maximum ease-of-use, the book uses full-featured examples that you can compile and run without special hardware.Today Linux holds fast as the most rapidly growing segment of the computer market and continues to win over enthusiastic adherents in many application areas. With this increasing support, Linux is now absolutely mainstream, and viewed as a solid platform for embedded systems. If you're writing device drivers, you'll want this book. In fact, you'll wonder how drivers are ever written without it.


Systems Performance

Systems Performance

Author: Brendan Gregg

Publisher: Pearson

Published: 2020-12-09

Total Pages: 2022

ISBN-13: 0136821650

DOWNLOAD EBOOK

Systems Performance, Second Edition, covers concepts, strategy, tools, and tuning for operating systems and applications, using Linux-based operating systems as the primary example. A deep understanding of these tools and techniques is critical for developers today. Implementing the strategies described in this thoroughly revised and updated edition can lead to a better end-user experience and lower costs, especially for cloud computing environments that charge by the OS instance. Systems performance expert and best-selling author Brendan Gregg summarizes relevant operating system, hardware, and application theory to quickly get professionals up to speed even if they have never analyzed performance before. Gregg then provides in-depth explanations of the latest tools and techniques, including extended BPF, and shows how to get the most out of cloud, web, and large-scale enterprise systems. Key topics covered include Hardware, kernel, and application internals, and how they perform Methodologies for rapid performance analysis of complex systems Optimizing CPU, memory, file system, disk, and networking usage Sophisticated profiling and tracing with perf, Ftrace, and BPF (BCC and bpftrace) Performance challenges associated with cloud computing hypervisors Benchmarking more effectively Featuring up-to-date coverage of Linux operating systems and environments, Systems Performance, Second Edition, also addresses issues that apply to any computer system. The book will be a go-to reference for many years to come and, like the first edition, required reading at leading tech companies. Register your book for convenient access to downloads, updates, and/or corrections as they become available. See inside book for details.


The Linux Kernel Primer

The Linux Kernel Primer

Author: Claudia Salzberg Rodriguez

Publisher: Prentice-Hall PTR

Published: 2006

Total Pages: 656

ISBN-13:

DOWNLOAD EBOOK

Offers a comprehensive view of the underpinnings of the Linux kernel on the Intel x86 and the Power PC.