查看你的MAC 服务器系统环境

有的时候当您重新在MAC服务器上编译东西,你需要知道当前系统是32位还是64位。那么如何查看呢。

Open the Terminal and type the following command:

uname -a

If you’re using a 32 bit Kernel in Mac OS X:
iMac:~ user$ uname -a
Darwin iMac.local 10.0.0 Darwin Kernel Version 10.0.0: Fri Jul 31 22:47:34 PDT 2009; root:xnu-1456.1.25~1/RELEASE_I386 i386

see the i386 on the end there? That indicates it’s the 32 bit kernel

If you’re using a 64 bit Kernel in Mac OS X:
iMac:~ user$ uname -a
Darwin iMac.local 10.0.0 Darwin Kernel Version 10.0.0: Fri Jul 31 22:47:34 PDT 2009; root:xnu-1456.1.25~1/RELEASE_X86_64 x86_64

Advertisements

2 responses to this post.

  1. 苹果机绘图的多一点。很少用。

    回复

  2. Posted by 巴鲁 on 十一月 13, 2009 at 2:15 上午

    恩,我现在用的都是苹果的。

    回复

发表评论

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / 更改 )

Twitter picture

You are commenting using your Twitter account. Log Out / 更改 )

Facebook photo

You are commenting using your Facebook account. Log Out / 更改 )

Google+ photo

You are commenting using your Google+ account. Log Out / 更改 )

Connecting to %s

%d 博主赞过: