Process & OS

Every topic in this chapter, free to read online. Work through them in order, or jump straight to the runtime detail you need.

Start with the first topic5.1 process Object
05chapter
4topics
Freeonline

Topics

4 topics

process Object

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

Signals & Exit Codes

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

os Module

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

Standard I/O

How Node.js standard input, output, and error streams map to file descriptors, TTYs, pipes, console output, and backpressure.