
۴۴٬۰۰۰تومان
نوع فایل دانلود: EPUB
پس از خرید، یک فایل EPUB دریافت میکنید.
این فایل با Calibre، Apple Books و سایر کتابخوانهای دیجیتال مناسب است.
**با مفاهیم برنامهنویسی سیستمی در لینوکس آشنا شوید و شروع به کار کنید**
ویژگیهای کلیدی
* درک معماری سیستم لینوکس و رابطهای برنامهنویسی آن
* تسلط بر مفاهیم اصلی مانند مدیریت فرایند، سیگنالدهی و pthreadها
* پر از بهترین روشهای صنعتی و دهها نمونه کد
درباره کتاب
سیستمعامل لینوکس و برنامههای تعبیهشده و سروری آن، بخشهای حیاتی زیرساخت نرمافزاری امروز در دنیایی غیرمتمرکز و شبکهای هستند. تقاضا برای توسعهدهندگان ماهر لینوکس هم با گذشت زمان بیشتر میشود. کتاب «برنامهنویسی سیستمی لینوکس بهصورت عملی» پایهای نظری محکم و توضیحاتی کاربردی و مرتبط با صنعت به شما میدهد و حوزه برنامهنویسی سیستمی لینوکس را پوشش میدهد. این کتاب به هنر و علم برنامهنویسی برنامههای لینوکس میپردازد — معماری سیستم، حافظه و مدیریت فرایند، سیگنالدهی، تایمرها، pthreadها و ورودی/خروجی فایل.
این کتاب فراتر از رویکرد «از API فلان برای انجام بهمان استفاده کنید» میرود؛ مفاهیم و نظریههایی را توضیح میدهد که برای فهم رابطهای برنامهنویسی و تصمیمهای طراحی لازماند، سبکسنگینهایی که توسعهدهندگان باتجربه هنگام استفاده از آنها میکنند، و دلیل پشت آنها. نکات و تکنیکهای عیبیابی هم در فصل پایانی آمدهاند.
در پایان این کتاب، دانش مفهومی ضروری برای طراحی و تجربه عملی کار با رابطهای برنامهنویسی سیستمی لینوکس را بهدست خواهید آورد.
آنچه یاد میگیرید
* مبانی نظری معماری سیستم لینوکس را بررسی کنید
* بفهمید چرا سیستمعاملهای مدرن از حافظه مجازی و APIهای حافظه پویا استفاده میکنند
* با مسائل حافظه پویا آشنا شوید و آنها را بهطور مؤثر دیباگ کنید
* مفاهیم کلیدی و APIهای قدرتمند سیستمی مرتبط با مدیریت فرایند را بیاموزید
* ورودی/خروجی فایل را بهخوبی انجام دهید و از سیگنالدهی و تایمرها استفاده کنید
* مفاهیم چندنخی، APIهای pthread، همگامسازی و زمانبندی را عمیق بفهمید
این کتاب برای چه کسانی است
«برنامهنویسی سیستمی لینوکس بهصورت عملی» برای مهندسان سیستم لینوکس، برنامهنویسان، یا هر کسی است که میخواهد فراتر از استفاده از یک مجموعه API برود و مبانی نظری و مفاهیم پشت APIهای قدرتمند برنامهنویسی سیستمی لینوکس را بفهمد. برای بیشترین بهره از این کتاب، باید با لینوکس در سطح کاربر آشنا باشید: ورود به سیستم، کار با شِل از طریق خط فرمان، و توانایی استفاده از ابزارهایی مثل find، grep و sort. آشنایی عملی با زبان برنامهنویسی C لازم است. تجربه قبلی در برنامهنویسی سیستمی لینوکس فرض نشده است.
فهرست مطالب
1. معماری سیستم لینوکس
2. حافظه مجازی
3. محدودیتهای منابع
4. تخصیص حافظه پویا
5. مسائل حافظه در لینوکس
6. ابزارهای دیباگ برای مسائل رایج حافظه
7. اعتبارنامههای فرایند
8. اجرای فرایند
9. قابلیتهای فرایند
10. ایجاد فرایند
11. سیگنالدهی - بخش ۱
12. سیگنالدهی - بخش ۲
13. تایمرها
14. چندنخی با Pthreads بخش ۱ - مبانی
15. چندنخی با Pthreads بخش ۲ - همگامسازی
16. چندنخی با Pthreads بخش ۳
17. زمانبندی CPU در لینوکس
18. ورودی/خروجی پیشرفته فایل
19. عیبیابی و بهترین روشها
20. مبانی ورودی/خروجی فایل
21. فرایندهای دیمون
**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 examplesBook DescriptionThe 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 schedulingWho this book is forHands-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 Contents1. Linux System Architecture2. Virtual Memory3. Resource Limits4. Dynamic Memory Allocation5. Linux Memory Issues6. Debugging Tools for Common Memory Issues7. Process Credentials8. Process Execution9. Process Capabilities10. Process Creation11. Signalling - Part 112. Signalling - Part 213. Timers14. Multithreading with Pthreads Part 1-Essentials15. Multithreading with Pthreads Part II - Synchronization16. Multithreading with Pthreads Part III17. CPU Scheduling on Linux18. Advanced File I/O19. Troubleshooting and Best Practices20. File IO Essentials21. Daemon Processes