Created
February 19, 2013 20:03
-
-
Save danmilon/4989367 to your computer and use it in GitHub Desktop.
node os.gethostname() strace
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ node -p -e 'process.versions' | |
{ http_parser: '1.0', | |
node: '0.8.19', | |
v8: '3.11.10.25', | |
ares: '1.7.5-DEV', | |
uv: '0.8', | |
zlib: '1.2.3', | |
openssl: '1.0.1c' } | |
$ strace -e uname node -e "for (var i = 0; i < 15; i++) { require('os').hostname() }" | |
uname({sys="Linux", node="DANPC", ...}) = 0 | |
uname({sys="Linux", node="DANPC", ...}) = 0 | |
uname({sys="Linux", node="DANPC", ...}) = 0 | |
uname({sys="Linux", node="DANPC", ...}) = 0 | |
uname({sys="Linux", node="DANPC", ...}) = 0 | |
uname({sys="Linux", node="DANPC", ...}) = 0 | |
uname({sys="Linux", node="DANPC", ...}) = 0 | |
uname({sys="Linux", node="DANPC", ...}) = 0 | |
uname({sys="Linux", node="DANPC", ...}) = 0 | |
uname({sys="Linux", node="DANPC", ...}) = 0 | |
uname({sys="Linux", node="DANPC", ...}) = 0 | |
uname({sys="Linux", node="DANPC", ...}) = 0 | |
uname({sys="Linux", node="DANPC", ...}) = 0 | |
uname({sys="Linux", node="DANPC", ...}) = 0 | |
uname({sys="Linux", node="DANPC", ...}) = 0 | |
uname({sys="Linux", node="DANPC", ...}) = 0 | |
+++ exited with 0 +++ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment