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
01

process Object

How the Node.js process object exposes env, argv, pid, cwd, exit state, memory usage, versions, IPC, and native process bindings.

02

Signals & Exit Codes

How Node.js handles SIGTERM, SIGINT, exit codes, beforeExit, exit, uncaught exceptions, and graceful shutdown across process scopes.

03

os Module

How the Node.js os module reports CPU counts, available parallelism, memory, load average, network interfaces, paths, users, and platform data.

04

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 more