arch(1) 맨 페이지 - 윈디하나의 솔라나라

개요

섹션
맨 페이지 이름
검색(S)

arch(1)

arch(1)                          User Commands                         arch(1)



NAME
       arch - display the architecture of the current host

SYNOPSIS
       arch [-k | archname]

DESCRIPTION
       The  arch  utility displays the application architecture of the current
       host system. Due to extensive historical use of  this  command  without
       any  options,  all  Oracle Solaris 11.4 SPARC based systems will return
       "sun4" as their application architecture. Use of this  command  is  not
       recommended. See NOTES section below.


       Systems  can be broadly classified by their architectures, which define
       what executables will run on which machines. A distinction can be  made
       between kernel architecture and application architecture (or, commonly,
       just "architecture"). Machines that run different kernels due to under‐
       lying hardware differences may be able to run the same application pro‐
       grams.

OPTIONS
       -k    Displays the kernel architecture, such  as  sun4v.  This  defines
             which specific Oracle Solaris kernel will run on the machine, and
             has implications only for programs  that  depend  on  the  kernel
             explicitly (for example, ps(1)).


OPERANDS
       The following operand is supported:

       archname    Use  archname to determine whether the application binaries
                   for this application architecture can run  on  the  current
                   host  system.  The  archname  must  be  a valid application
                   architecture, such as sun4,i86pc, and so forth.

                   If application binaries for archname can run on the current
                   host  system, TRUE (0) is returned. Otherwise, FALSE (1) is
                   returned.


EXIT STATUS
       The following exit values are returned:

       0     Successful completion.


       >0    An error occurred.


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       tab() box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) ATTRIBUTE  TYPEAT‐
       TRIBUTE VALUE _ Availabilitysystem/core-os


SEE ALSO
       mach(1), ps(1), uname(1), attributes(7)

NOTES
       This  command  is provided for compatibility with previous releases and
       its use is discouraged. Instead, the uname command is recommended.  See
       uname(1) for usage information.



Oracle Solaris 11.4               31 Jan 2018                          arch(1)
맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3