How Linux Works

摘要

  • 第一部分 The Big Picture
  • Levels and Layers
  • Hardware
  • The Kernel
  • User and User Space
  • 第二部分 Overview of the Linux Kernel
  • 进程管理 Process Management
  • 内存管理 Memory Management
  • 设备管理 Device Drivers and Management
  • 系统调用 System Calls
  • 用户空间 User Space
  • 用户管理 User Management
  • 第三部分 Application and Development
  • The Desktop
  • The Shell Script
  • The Development Tools
  • Compiling and Building
  • 第四部分 Future

第一部分 The Big Picture

Levels and Layers

Hardware

Overview of the Linux Kernel

Basic Commands

设备管理 Device Drivers and Management

磁盘管理 DISKS and Filesystems

进程管理 Process Management

内存管理 Memory Management

系统调用 System Calls

用户空间 User Space

用户管理 User Management

未来 Looking Forward

第二部分 Overview of the Linux Kernel

一、Basic Commands

二、Files and Directory

Files Modes and Permissions

Listing and Manipulating Processes

Directory Hierarchy

Running Commands

三、DEVICES 设备管理

Devices Files

Devices Path

Devices Extend

四、DISKS and FileSystems 磁盘管理

Partitioning Disk Devices

FileSystems

Swap Space

Traditional FileSystems

Looking Forwarding

五、How the Linux Kernel Boots

六、How User Space Starts

七、System Configuration

System Logging

User Management Files

  • /etc/passwd File
  • /etc/shadow File

System Time

Batch Jobs

Scheduling Tasks

Users

User ID and Users Switching

User Identification and Authentication

八、System Resource Utilization

Introduction to Resource Monitoring

Load Averages

Measuring Memory

Measuring CPU

Measuring I/O

Per-Processes Monitoring

九、Network

Network Basic

Moving Files across the Network

rsync

samba

NFS

Configuring Linux as a Router

Firewalls

Ethernet,IP and ARP

Wireless Ethernet

十、Network Application and Services

Network Servers

SSH

Diagnostic Tools

  • lsof
  • tcpdump
  • netstat
  • port scanning

Remote Procedure Call(RPC)

Network Security

第三部分 Application and Development

一、The Desktop

二、Shell Scripts

三、Development Tools

四、Compiling and Building

Compiling Software From C Source Code

Building on the BASIC

  • Web Servers and Application
  • Databasees
  • Virtualization
  • Distributed Computing
  • Embedded Systems

第四部分 Future

Tips

源码阅读的一般方法

  • 核心子系统(例如进程管理子系统)
  • 结构体、数据结构
  • 关键程序、加载顺序
  • 主题式探索(例如:Linux 支持闰秒吗?)

扩展阅读

电子书《Linux Perf Master》

性能诊断指南

How Linux Works

动态追踪技术

参考文献

推荐文章