*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> uname (1)              
Title
Content
Arch
Section
 

uname(1)

Contents


NAME    [Toc]    [Back]

       uname - Displays information about the operating system

SYNOPSIS    [Toc]    [Back]

       uname [-amnrsvp]

       uname [-S system-name]

       The  uname command displays system information or sets the
       system name.

STANDARDS    [Toc]    [Back]

       Interfaces documented on this reference  page  conform  to
       industry standards as follows:

       uname:  XCU5.0, SVID 4

       Refer to the standards(5) reference page for more information
 about industry standards and associated tags.

OPTIONS    [Toc]    [Back]

       Displays all information specified with the  -m,  -n,  -r,
       -s, and -v options.  Displays the type of hardware running
       the system.  Displays the name of the node (this may be  a
       name  that the system is known by to a communications network).
  [Tru64 UNIX]  Displays the processor type  of  the
       current  host.  Displays the release number of the operating
 system.  Displays the name of  the  implementation  of
       the  operating  system.  (This  option  is on by default.)
       [Tru64 UNIX]  Changes the  name  of  the  system  to  system_name.
   The  system_name  argument  is  restricted  to
       SYS_NMLN-1 characters.  The value of SYS_NMLN is implementation
      specific      and      is      defined      in
       /usr/include/sys/utsname.h.  Only users  with  appropriate
       privileges  can  use  this option.  Displays the operating
       system version.

OPERANDS    [Toc]    [Back]

       None

DESCRIPTION    [Toc]    [Back]

       The uname command writes system  information  to  standard
       output.  This command is used primarily to determine which
       system you are using.  The options cause selected information
 returned by the uname() call to be displayed.

       The  uname command prints out only the major.minor and not
       the variant. For example, with 5.1A, it  prints  out  just
       5.1.  To know the variant, it is suggested to use the command
 sizer -v.

NOTES    [Toc]    [Back]

       When the -a option is used, output  is  displayed  in  the
       order:

              <system> <node> <release> <version> <hardware>

              When  you  request  information  by  specifying the
              individual options, the appropriate information  is
              displayed in the order indicated.

              [Tru64  UNIX]  If  the -p option is used, processor
              information is appended to the  output  line.   The
              output  of uname may include embedded blank spaces,
              so you should use caution when passing  the  output
              to parsing algorithms.

EXIT STATUS    [Toc]    [Back]

       The  following  exit  values  are  returned: The requested
       information  has  been  successfully  written.   An  error
       occurred.

EXAMPLES    [Toc]    [Back]

       To  display  the  complete system name and version banner,
       enter: uname -a

ENVIRONMENT VARIABLES    [Toc]    [Back]

       The following environment variables affect  the  execution
       of  uname: Provides a default value for the internationalization
 variables that are unset or null. If LANG is unset
       or  null,  the corresponding value from the default locale
       is used. If any of the internationalization variables contain
 an invalid setting, the utility behaves as if none of
       the variables had been defined.  If  set  to  a  non-empty
       string value, overrides the values of all the other internationalization
 variables.  Determines the locale for  the
       interpretation of sequences of bytes of text data as characters
 (for example, single-byte as opposed  to  multibyte
       characters  in  arguments).  Determines the locale for the
       format and contents  of  diagnostic  messages  written  to
       standard  error.  Determines the location of message catalogues
 for the processing of LC_MESSAGES.

FILES    [Toc]    [Back]

       System name information header file.  Node  specific  configuration
 file.

SEE ALSO    [Toc]    [Back]

      
      
       Functions:  uname(2)

       Standards:  standards(5)



                                                         uname(1)
[ Back ]
 Similar pages
Name OS Title
sizer Tru64 Displays information about the system or kernel, or creates a system configuration file
rqsprint IRIX displays information about a collection of ELF files on a system
show_clerk HP-UX Displays attribute information about the CDS clerk on the local system
hwmgr_view Tru64 Displays information about the status of the system and its hardware components
show_server HP-UX Displays attribute information about the server running on the local system
prs Tru64 Displays key information in a Source Code Control System (SCCS) file
what Tru64 Displays identifying information for Source Code Control System (SCCS) files
uname OpenBSD print operating system name
prf IRIX operating system profiler
pxfuname IRIX Retrieves the operating system name
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service