Hands-On System Programming with Linux: Explore Linux system programming interfaces, theory, and practice Front Cover

Hands-On System Programming with Linux: Explore Linux system programming interfaces, theory, and practice

  • Length: 794 pages
  • Edition: 1
  • Publisher:
  • Publication Date: 2018-10-31
  • ISBN-10: 1788998472
  • ISBN-13: 9781788998475
  • Sales Rank: #2350889 (See Top 100 Books)
Description

Get up and running with system programming concepts in Linux

Key Features

  • Acquire insight on Linux system architecture and its programming interfaces
  • Get to grips with core concepts such as process management, signalling and pthreads
  • Packed with industry best practices and dozens of code examples

Book Description

The Linux OS and its embedded and server applications are critical components of today’s software infrastructure in a decentralized, networked universe. The industry’s demand for proficient Linux developers is only rising with time. Hands-On System Programming with Linux gives you a solid theoretical base and practical industry-relevant descriptions, and covers the Linux system programming domain. It delves into the art and science of Linux application programming― system architecture, process memory and management, signaling, timers, pthreads, and file IO.

This book goes beyond the use API X to do Y approach; it explains the concepts and theories required to understand programming interfaces and design decisions, the tradeoffs made by experienced developers when using them, and the rationale behind them. Troubleshooting tips and techniques are included in the concluding chapter.

By the end of this book, you will have gained essential conceptual design knowledge and hands-on experience working with Linux system programming interfaces.

What you will learn

  • Explore the theoretical underpinnings of Linux system architecture
  • Understand why modern OSes use virtual memory and dynamic memory APIs
  • Get to grips with dynamic memory issues and effectively debug them
  • Learn key concepts and powerful system APIs related to process management
  • Effectively perform file IO and use signaling and timers
  • Deeply understand multithreading concepts, pthreads APIs, synchronization and scheduling

Who this book is for

Hands-On System Programming with Linux is for Linux system engineers, programmers, or anyone who wants to go beyond using an API set to understanding the theoretical underpinnings and concepts behind powerful Linux system programming APIs. To get the most out of this book, you should be familiar with Linux at the user-level logging in, using shell via the command line interface, the ability to use tools such as find, grep, and sort. Working knowledge of the C programming language is required. No prior experience with Linux systems programming is assumed.

Table of Contents

  1. Linux System Architecture
  2. Virtual Memory
  3. Resource Limits
  4. Dynamic Memory Allocation
  5. Linux Memory Issues
  6. Debugging Tools for Common Memory Issues
  7. Process Credentials
  8. Process Execution
  9. Process Capabilities
  10. Process Creation
  11. Signalling – Part 1
  12. Signalling – Part 2
  13. Timers
  14. Multithreading with Pthreads Part 1-Essentials
  15. Multithreading with Pthreads Part II – Synchronization
  16. Multithreading with Pthreads Part III
  17. CPU Scheduling on Linux
  18. Advanced File I/O
  19. Troubleshooting and Best Practices
  20. File IO Essentials
  21. Daemon Processes
To access the link, solve the captcha.