CHAPTER 05
Process & OS
Every subchapter in this chapter, free to read online. Work through them in order, or jump straight to the runtime detail you need.
05
chapter
4
subchapters
Free
online
Subchapter
02process Object
How the Node.js process object exposes env, argv, pid, cwd, exit state, memory usage, versions, IPC, and native process bindings.
Subchapter
03Signals & Exit Codes
How Node.js handles SIGTERM, SIGINT, exit codes, beforeExit, exit, uncaught exceptions, and graceful shutdown across process scopes.
Subchapter
04os Module
How the Node.js os module reports CPU counts, available parallelism, memory, load average, network interfaces, paths, users, and platform data.
Subchapter
Standard I/O
How Node.js standard input, output, and error streams map to file descriptors, TTYs, pipes, console output, and backpressure.
Other chapters
13 moreCHAPTER 01Node.js Architecture4 subchaptersCHAPTER 02Buffers4 subchaptersCHAPTER 03Streams6 subchaptersCHAPTER 04File System5 subchaptersCHAPTER 06The Module System5 subchaptersCHAPTER 07Async Patterns & Control Flow6 subchaptersCHAPTER 08Runtime Platform APIs & Tooling5 subchaptersCHAPTER 09Network Fundamentals with Node.js7 subchaptersCHAPTER 10HTTP Servers, Clients & Proxies7 subchaptersCHAPTER 11TLS, HTTPS & HTTP/26 subchaptersCHAPTER 12API Design, Contracts & Frameworks7 subchaptersCHAPTER 13Realtime & Streaming APIs5 subchaptersCHAPTER 14Child Processes & OS Workloads1 subchapters