We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent da49624 commit 3b64b38Copy full SHA for 3b64b38
doc/api/os.md
@@ -368,6 +368,18 @@ changes:
368
369
Returns the system uptime in number of seconds.
370
371
+The value returned can be inaccurate in some
372
+rare virtualization cases. The issue arises when the virtualized
373
+guest instance shares the kernel with the host system.
374
+Due to the fact that libuv uses a syscall that
375
+provides host's uptime instead of guest's
376
+uptime on OpenVZ, `os.uptime()` may also provide
377
+erroneous result.
378
+
379
+Please refer to <https://github.com/nodejs/node/issues/36244> and
380
+<https://github.com/libuv/libuv/issues/3068> for an exploration of
381
+this issue, until it is resolved by libuv.
382
383
## `os.userInfo([options])`
384
<!-- YAML
385
added: v6.0.0
0 commit comments