Chapter Index
Process & OS
4 topics in this chapter
4Topics
01
Topic
process Object
How the Node.js process object exposes env, argv, pid, cwd, exit state, memory usage, versions, IPC, and native process bindings.
nodejsprocessenvironmentargvmemory-usage
29 min read
02Topic
Signals & Exit Codes
How Node.js handles SIGTERM, SIGINT, exit codes, beforeExit, exit, uncaught exceptions, and graceful shutdown across process scopes.
nodejssignalsexit-codesSIGINTSIGTERMgraceful-shutdown
39 min read
03Topic
os Module
How the Node.js os module reports CPU counts, available parallelism, memory, load average, network interfaces, paths, users, and platform data.
nodejsos-modulecpumemorynetwork-interfacesplatform
30 min read
04Topic
Standard I/O
How Node.js standard input, output, and error streams map to file descriptors, TTYs, pipes, console output, and backpressure.
nodejsstdinstdoutstderrTTYpipes
32 min read