`
雨过天晴0521
  • 浏览: 155564 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

如何判断Solaris和SolarisX86是运行在32位还是64位模式下

 
阅读更多
-bash-3.00$ man isainfo
Reformatting page.  Please Wait... done

User Commands                                          isainfo(1)

NAME
     isainfo - describe instruction set architectures

SYNOPSIS
     isainfo [ [-v] [-b | -n | -k]  | [-x]]

DESCRIPTION
     The isainfo utility is used to identify  various  attributes
     of  the  instruction  set  architectures  supported  on  the
     currently running system. Among the questions it can  answer
     are  whether  64-bit  applications are supported, or whether
     the running kernel uses 32-bit or 64-bit device drivers.

     When invoked with no options, isainfo prints  the  names  of
     the  native  instruction  sets for applications supported by
     the current version of the operating  system.  These  are  a
     subset  of  the  list  returned  by  isalist(1).  The subset
     corresponds to the basic applications environments supported
     by the currently running system.

OPTIONS
     The following options are supported:

     -b       Prints the number of bits in the address  space  of
              the native instruction set.

     -k       Prints the name of the instruction set(s)  used  by
              the operating system kernel components such as dev-
              ice drivers and STREAMS modules.

     -n       Prints the name of the native instruction set  used
              by  portable  applications supported by the current
              version of the operating system.

     -v       When used with the -b, -k  or  -n  options,  prints
              more detailed information.

     -x       Prints instruction extensions  to  the  native  ABI
              which are supported by the platform.

EXAMPLES

SunOS 5.10          Last change: 20 Jul 2004                    1

User Commands                                          isainfo(1)

     Example 1: Invoking isainfo on a 32-bit x86 Platform

     The following example invokes isainfo on a 32-bit x86  plat-
     form:

     example% isainfo -v
     32-bit i386 applications

     example% isainfo -k
     i386

     Example 2: Invoking isainfo on a System Running  the  64-bit
     Operating System on a 64-bit SPARC Processor

     The following example invokes isainfo on  a  system  running
     the 64-bit operating system on a 64-bit SPARC processor:

     example% isainfo
     sparcv9 sparc
     example% isainfo -n
     sparcv9
     example% isainfo -v
     64-bit sparcv9 applications
     32-bit sparc applications
     example% isainfo -vk
     64-bit sparcv9 kernel modules

     Example 3: Invoking isainfo -x on an AMD Opteron CPU

     The following example invokes isainfo with the -x option  on
     an AMD Opteron CPU:

     example% isainfo -x
     i386: fpu tsc cx8 sep cmov mmx ammx a3dnow a3dnowx fxsr sse sse2 pause

EXIT STATUS
     Non-zero        Options are not specified correctly, or  the
                     command is unable to recognize attributes of
                     the system on which it is running. An  error
                     message is printed to stderr.

ATTRIBUTES
     See attributes(5) for descriptions of the  following  attri-
     butes:

SunOS 5.10          Last change: 20 Jul 2004                    2

User Commands                                          isainfo(1)

     ____________________________________________________________
    |       ATTRIBUTE TYPE        |       ATTRIBUTE VALUE       |
    |_____________________________|_____________________________|
    | Availability                | SUNWcsu                     |
    |_____________________________|_____________________________|

SEE ALSO
     isalist(1),  uname(1),   psrinfo(1M),   sysinfo(2),   attri-
     butes(5), isalist(5)

SunOS 5.10          Last change: 20 Jul 2004                    3

-bash-3.00$ )
-bash-3.00$
-bash-3.00$ isainfo -k
amd64
-bash-3.00$ isainfo -n
amd64
-bash-3.00$ isainfo -v
64-bit amd64 applications
        tscp cx16 sse3 sse2 sse fxsr amd_3dnowx amd_3dnow amd_mmx mmx cmov amd_sysc
        cx8 tsc fpu
32-bit i386 applications
        tscp cx16 sse3 sse2 sse fxsr amd_3dnowx amd_3dnow amd_mmx mmx cmov amd_sysc
        cx8 tsc fpu
分享到:
评论

相关推荐

    Solaris10_u11 for x86_11

    使用split命令在unix上分割为40份,使用前先组装

    Solaris10_u11 for x86_09

    使用split命令在unix上分割为40份,使用前先组装

    Solaris10_u11 for x86_14

    使用split命令在unix上分割为40份,使用前先组装

    p6810189_10204_Solarisx86.zip

    oracle 10g 软件p6810189_10204_Win32适用于Solaris 32位系统

    vservice--siu安装手册

    IP侧的动态库可以支持的运行环境是RedHat Advanced Server、solarisX86 7、 solarisX86 8,该动态库和IP的程序装在一台机器上。 MTP适配程序支持运行环境solarisX86 7,solarisX86 8,RedHat linux 7.2,要和板卡装在...

    SUN存储管理软件CAM 6.10(Solarisx86)

    用于SUN存储的硬件管理和运维

    SX86Asm.rar_系统设计方案_Unix_Linux_

    SolarisX86汇编与硬件接口,,一是系统深层开发特别是开发硬件接口的需要,二是一些特殊开发者(特别是在DOS平台下工作过的开发者)的兴趣。

    VMD_Linux_With_userGuide

    VMD是一个分子可视化程序,该程序采用3D图形以及内置脚本来对大型生物分子系统进行显示、制成动画以及分析等操作 VMD_Linux 是vmd 的Linux版本,如果想获取更新、源码等可以从官网下载,还有Mac,SOLARISX,等多个...

Global site tag (gtag.js) - Google Analytics