joyent/node — Issue #2862: os.arch should be the architecture of the OS not of the process
Author: joshwilsdon
Created: 2012-03-02 19:41:34+00:00
State: open

In lib/os.js:

```
exports.arch = function() {
return process.arch;
};
```

Which means that on a system that's running a 64 bit kernel but a 32 bit node binary you get:

```
> os.arch()
'ia32'
```

when you would have expected 'x64'.