├── .gitignore ├── Dockerfile ├── LICENSE ├── README.md ├── SUMMARY.md ├── book.json ├── cover.jpg ├── cover_small.jpg ├── foreword ├── image │ ├── docker.png │ ├── docker_logo.png │ ├── github_screenshot.png │ ├── go.png │ ├── go_logo.png │ └── linux_logo.png ├── overview.md ├── thanks.md ├── use_code.md └── use_docker.md ├── go_example ├── README.md ├── exec.md ├── fork.md └── spawn.md ├── notice ├── README.md ├── mkdir.md ├── sendfile.md └── sigkill.md ├── process_advanced ├── README.md ├── cgroups.md ├── copy_on_write.md ├── daemon_process.md ├── epoll.md ├── fd.md ├── file_lock.md ├── image │ └── top.png ├── ipc.md ├── namespaces.md ├── orphan_process.md ├── share_memory.md ├── signal.md ├── system_call.md └── zombie_process.md ├── process_basic ├── README.md ├── argv.md ├── concurrent_and_parallel.md ├── deadlock.md ├── exit_code.md ├── hello_world.md ├── image │ ├── concurrent1.png │ ├── concurrent10.png │ ├── concurrent11.png │ ├── concurrent12.png │ ├── concurrent13.png │ ├── concurrent2.png │ ├── concurrent3.png │ ├── concurrent4.png │ ├── concurrent5.png │ ├── concurrent6.png │ ├── concurrent7.png │ ├── concurrent8.png │ ├── concurrent9.png │ ├── htop.png │ ├── ieee_1003.1.png │ └── status_transform.svg ├── input_and_output.md ├── livelock.md ├── nohup.md ├── pid.md ├── posix.md ├── ppid.md ├── process_name.md ├── process_resource.md ├── run_process.md ├── status.md ├── the_more_the_better.md ├── use_pid.md └── what_is_process.md ├── project_run ├── README.md ├── architecture.md └── implement.md ├── reference ├── README.md ├── book.md ├── project.md └── thanks_again.md ├── run └── understand_linux_process.pdf /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/.gitignore -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/README.md -------------------------------------------------------------------------------- /SUMMARY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/SUMMARY.md -------------------------------------------------------------------------------- /book.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/book.json -------------------------------------------------------------------------------- /cover.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/cover.jpg -------------------------------------------------------------------------------- /cover_small.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/cover_small.jpg -------------------------------------------------------------------------------- /foreword/image/docker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/foreword/image/docker.png -------------------------------------------------------------------------------- /foreword/image/docker_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/foreword/image/docker_logo.png -------------------------------------------------------------------------------- /foreword/image/github_screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/foreword/image/github_screenshot.png -------------------------------------------------------------------------------- /foreword/image/go.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/foreword/image/go.png -------------------------------------------------------------------------------- /foreword/image/go_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/foreword/image/go_logo.png -------------------------------------------------------------------------------- /foreword/image/linux_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/foreword/image/linux_logo.png -------------------------------------------------------------------------------- /foreword/overview.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/foreword/overview.md -------------------------------------------------------------------------------- /foreword/thanks.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/foreword/thanks.md -------------------------------------------------------------------------------- /foreword/use_code.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/foreword/use_code.md -------------------------------------------------------------------------------- /foreword/use_docker.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/foreword/use_docker.md -------------------------------------------------------------------------------- /go_example/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/go_example/README.md -------------------------------------------------------------------------------- /go_example/exec.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/go_example/exec.md -------------------------------------------------------------------------------- /go_example/fork.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/go_example/fork.md -------------------------------------------------------------------------------- /go_example/spawn.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/go_example/spawn.md -------------------------------------------------------------------------------- /notice/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## 第五章 注意事项 3 | 4 | 对进程有了深入理解后,我们编写实际应用可能遇到这些坑,这里总结一下。 5 | -------------------------------------------------------------------------------- /notice/mkdir.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/notice/mkdir.md -------------------------------------------------------------------------------- /notice/sendfile.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/notice/sendfile.md -------------------------------------------------------------------------------- /notice/sigkill.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/notice/sigkill.md -------------------------------------------------------------------------------- /process_advanced/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/process_advanced/README.md -------------------------------------------------------------------------------- /process_advanced/cgroups.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/process_advanced/cgroups.md -------------------------------------------------------------------------------- /process_advanced/copy_on_write.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/process_advanced/copy_on_write.md -------------------------------------------------------------------------------- /process_advanced/daemon_process.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/process_advanced/daemon_process.md -------------------------------------------------------------------------------- /process_advanced/epoll.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/process_advanced/epoll.md -------------------------------------------------------------------------------- /process_advanced/fd.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/process_advanced/fd.md -------------------------------------------------------------------------------- /process_advanced/file_lock.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/process_advanced/file_lock.md -------------------------------------------------------------------------------- /process_advanced/image/top.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/process_advanced/image/top.png -------------------------------------------------------------------------------- /process_advanced/ipc.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/process_advanced/ipc.md -------------------------------------------------------------------------------- /process_advanced/namespaces.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/process_advanced/namespaces.md -------------------------------------------------------------------------------- /process_advanced/orphan_process.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/process_advanced/orphan_process.md -------------------------------------------------------------------------------- /process_advanced/share_memory.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/process_advanced/share_memory.md -------------------------------------------------------------------------------- /process_advanced/signal.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/process_advanced/signal.md -------------------------------------------------------------------------------- /process_advanced/system_call.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/process_advanced/system_call.md -------------------------------------------------------------------------------- /process_advanced/zombie_process.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/process_advanced/zombie_process.md -------------------------------------------------------------------------------- /process_basic/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/process_basic/README.md -------------------------------------------------------------------------------- /process_basic/argv.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/process_basic/argv.md -------------------------------------------------------------------------------- /process_basic/concurrent_and_parallel.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/process_basic/concurrent_and_parallel.md -------------------------------------------------------------------------------- /process_basic/deadlock.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/process_basic/deadlock.md -------------------------------------------------------------------------------- /process_basic/exit_code.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/process_basic/exit_code.md -------------------------------------------------------------------------------- /process_basic/hello_world.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/process_basic/hello_world.md -------------------------------------------------------------------------------- /process_basic/image/concurrent1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/process_basic/image/concurrent1.png -------------------------------------------------------------------------------- /process_basic/image/concurrent10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/process_basic/image/concurrent10.png -------------------------------------------------------------------------------- /process_basic/image/concurrent11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/process_basic/image/concurrent11.png -------------------------------------------------------------------------------- /process_basic/image/concurrent12.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/process_basic/image/concurrent12.png -------------------------------------------------------------------------------- /process_basic/image/concurrent13.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/process_basic/image/concurrent13.png -------------------------------------------------------------------------------- /process_basic/image/concurrent2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/process_basic/image/concurrent2.png -------------------------------------------------------------------------------- /process_basic/image/concurrent3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/process_basic/image/concurrent3.png -------------------------------------------------------------------------------- /process_basic/image/concurrent4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/process_basic/image/concurrent4.png -------------------------------------------------------------------------------- /process_basic/image/concurrent5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/process_basic/image/concurrent5.png -------------------------------------------------------------------------------- /process_basic/image/concurrent6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/process_basic/image/concurrent6.png -------------------------------------------------------------------------------- /process_basic/image/concurrent7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/process_basic/image/concurrent7.png -------------------------------------------------------------------------------- /process_basic/image/concurrent8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/process_basic/image/concurrent8.png -------------------------------------------------------------------------------- /process_basic/image/concurrent9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/process_basic/image/concurrent9.png -------------------------------------------------------------------------------- /process_basic/image/htop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/process_basic/image/htop.png -------------------------------------------------------------------------------- /process_basic/image/ieee_1003.1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/process_basic/image/ieee_1003.1.png -------------------------------------------------------------------------------- /process_basic/image/status_transform.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/process_basic/image/status_transform.svg -------------------------------------------------------------------------------- /process_basic/input_and_output.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/process_basic/input_and_output.md -------------------------------------------------------------------------------- /process_basic/livelock.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/process_basic/livelock.md -------------------------------------------------------------------------------- /process_basic/nohup.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/process_basic/nohup.md -------------------------------------------------------------------------------- /process_basic/pid.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/process_basic/pid.md -------------------------------------------------------------------------------- /process_basic/posix.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/process_basic/posix.md -------------------------------------------------------------------------------- /process_basic/ppid.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/process_basic/ppid.md -------------------------------------------------------------------------------- /process_basic/process_name.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/process_basic/process_name.md -------------------------------------------------------------------------------- /process_basic/process_resource.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/process_basic/process_resource.md -------------------------------------------------------------------------------- /process_basic/run_process.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/process_basic/run_process.md -------------------------------------------------------------------------------- /process_basic/status.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/process_basic/status.md -------------------------------------------------------------------------------- /process_basic/the_more_the_better.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/process_basic/the_more_the_better.md -------------------------------------------------------------------------------- /process_basic/use_pid.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/process_basic/use_pid.md -------------------------------------------------------------------------------- /process_basic/what_is_process.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/process_basic/what_is_process.md -------------------------------------------------------------------------------- /project_run/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/project_run/README.md -------------------------------------------------------------------------------- /project_run/architecture.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/project_run/architecture.md -------------------------------------------------------------------------------- /project_run/implement.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/project_run/implement.md -------------------------------------------------------------------------------- /reference/README.md: -------------------------------------------------------------------------------- 1 | 2 | ## 后记 3 | 4 | 最后一章列举本文参考过的书籍和项目,欢迎大家补充和讨论更多有关进程的知识。 5 | -------------------------------------------------------------------------------- /reference/book.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/reference/book.md -------------------------------------------------------------------------------- /reference/project.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/reference/project.md -------------------------------------------------------------------------------- /reference/thanks_again.md: -------------------------------------------------------------------------------- 1 |

Thanks for reading!

2 | 3 | ![](../cover.jpg) 4 | -------------------------------------------------------------------------------- /run: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/run -------------------------------------------------------------------------------- /understand_linux_process.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tobegit3hub/understand_linux_process/HEAD/understand_linux_process.pdf --------------------------------------------------------------------------------