Todd Kennedy
8b1db9c0a7
doc: note in docs about missing interfaces
Update the documentation for `os.networkInterfaces` to note that any
interface that has not been assigned an address will not be displayed in
the results
Fixes: https://github.com/iojs/io.js/issues/498
PR-URL: https://github.com/iojs/io.js/pull/543
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
10 years ago
Ben Noordhuis
9a3a0ccc50
doc: expand os.loadavg() section
Add a short explanation of what the load average is and why it's
unavailable on Windows.
Also sneak in a fix for a typo that I introduced in commit 56c5806
.
11 years ago
Ben Noordhuis
56c5806da3
doc: document os.loadavg() behavior on windows
The load average is a very UNIX-y concept. That's why os.loadavg()
always returns zeros on Windows. Mention that in the documentation.
11 years ago
Brian White
30701d6e74
os: add mac address to networkInterfaces() output
12 years ago
Maciej Małecki
d713db245b
doc: document possible return values of os.arch()
12 years ago
Ben Kelly
8a407f58b9
os: Include netmask in os.networkInterfaces()
re #3765 and #5432
fixes #4743
12 years ago
Ben Noordhuis
3fe6aba558
os: rename tmpDir() to tmpdir() for consistency
Make the casing consistent with the other os.* functions but keep
os.tmpDir() around as an alias.
12 years ago
Tim Bradshaw
e6acfed9cc
doc: os.cpus() returns times in milliseconds
12 years ago
Nathan Rajlich
5e4e87ade5
os: add os.endianness() function
12 years ago
isaacs
a11bf99ce0
Fix #3407 os.tmpDir()
13 years ago
Mustansir Golawala
7ee15457ed
os: add cross platform EOL character
13 years ago
isaacs
2d44dcc8be
doc: Add stability indicators to documentation
13 years ago
isaacs
8a121fa0e7
doc refactor: os
13 years ago
isaacs
0e752246d3
doc refactor: os
13 years ago
Ben Noordhuis
37bb37d151
os: rename getNetworkInterfaces() to networkInterfaces()
13 years ago
Robert Mustacchi
317653b4df
Rework getNetworkInterfaces() for Linux, SunOS, Mac OS X
14 years ago
isaacs
a7ce79124e
Add arch/platform to os module
14 years ago
Ryan Dahl
19e53512b8
os.getNetworkInterfaces()
14 years ago
Ryan Dahl
9bcfc0745c
Revert "Implement os.isWindows"
This reverts commit 9e31e0837e
.
Use process.platform == 'win32'
14 years ago
Bert Belder
9e31e0837e
Implement os.isWindows
14 years ago
Brian White
d75c338dd6
Add more functionality to the os module
14 years ago
Ryan Dahl
c9e5cfcc34
Random doc fixes
14 years ago
Ryan Dahl
4f2ab03e97
Fix typo
14 years ago
Brian White
f1762ff815
Add os module and getHostname
14 years ago