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

  man pages->HP-UX 11i man pages -> uname (1)              


 uname(1)                                                           uname(1)

 NAME    [Toc]    [Back]
      uname - display information about computer system; set node name
      (system name)

 SYNOPSIS    [Toc]    [Back]
      uname [-ailmnrsv]

      uname [-S nodename]

 DESCRIPTION    [Toc]    [Back]
      In the first form above, the uname command displays selected
      information about the current computer system, derived from the
      utsname structure (see uname(2)).

      In the second form, uname sets the node name (system name) that is
      used in the utsname structure.

    Options    [Toc]    [Back]
      uname recognizes the options listed below.  If you enter several
      options, the output is always in the order shown for the -a option.

           none           Equivalent to -s.

           -a             Display the options below in the following order,
                          separated by blanks.

                               -s -n -r -v -m -i -l

           -i             Display the machine identification number (or the
                          node name, if the machine identification number
                          cannot be determined).  This option cannot display
                          the unique machine identification number.  For
                          getting the unique machine identification number
                          refer to the getconf command or confstr call.  See
                          getconf(1)) and confstr(3C).

           -l             Display the license level of the operating system.
                          128-, 256-, and unlimited-user licenses are shown
                          as unlimited-user license.

           -m             Display the machine hardware and model names.  On
                          Itanium(R)-based systems, this option always
                          displays ia64.  See WARNINGS.

           -n             Display the node name (system name) by which the
                          system is usually known in a UUCP network.  See

           -r             Display the current release level of the operating

 Hewlett-Packard Company            - 1 -   HP-UX 11i Version 2: August 2003

 uname(1)                                                           uname(1)

           -s             Display the name of the operating system.  On
                          standard HP-UX systems, this option always
                          displays HP-UX.

           -v             Display the current version level of the operating

           -S nodename    Change the node name (system name) to nodename.
                          nodename is restricted to UTSLEN-1 characters (see
                          uname(2)).  See WARNINGS.  Only users with
                          appropriate privileges can use the -S option.

 EXAMPLES    [Toc]    [Back]
      When you execute the command uname -a, it produces output like the

           HP-UX myhost A.09.01 C 9000/750 2015986034 32-user license

      The displayed fields are interpreted as follows:

           HP-UX                    The operating system name (option -s).

           myhost                   The UUCP network system name by which
                                    the system is known (-n).

           B.11.00                  The operating system release identifier

           A                        The operating system version identifier

           9000/889                 The machine and model numbers (-m).

           2015986034               The machine identification number (-i).

           32-user license          The operating system license level (-l).

 WARNINGS    [Toc]    [Back]
      It is recommended that the model command or the getconf command be
      used to obtain the model name, since future model names may not be
      compatible with uname.  See model(1) and getconf(1).

      Many types of networking services are supported on HP-UX, each of
      which uses a separately assigned system name and naming convention.
      To ensure predictable system behavior, it is essential that system
      names (also called host names or node names) be assigned in such a
      manner that they do not create conflicts when the various networking
      facilities interact with each other.

      The system does not rely on a single system name in a specific
      location, partly because different services use dissimilar name

 Hewlett-Packard Company            - 2 -   HP-UX 11i Version 2: August 2003

 uname(1)                                                           uname(1)

      formats as explained below.  The hostname and uname commands assign
      system names as follows:

      |Node Name     |Command       |name Format    |Used By                |
      |Internet name |hostname name |sys[.x.y.z...] |ARPA and NFS Services  |
      |UUCP name     |uname -S name |sys            |uucp, related programs |
      +--------------+--------------+---------------+-------- --------------+

      where sys represents the assigned system name.  It is strongly
      recommended that sys be identical for all commands and locations and
      that the optional .x.y.z... follow the specified notation for the
      particular ARPA/NFS environment.

      Internet names are also frequently called host names or domain names
      (which are different from NFS domain names).  Refer to hostname(5) for
      more information about Internet naming conventions.

      Whenever the system name is changed in any file or by the use of any
      of the above commands, it should also be changed in all other
      locations as well.  Other files or commands in addition to those above
      (such as /etc/uucp/Permissions if used to circumvent uname, for
      example) may contain or alter system names.  To ensure correct
      operation, they should also use the same system name.

      System names are normally assigned by the /sbin/init.d/hostname script
      at start-up, and should not be altered elsewhere.

 SEE ALSO    [Toc]    [Back]
      getconf(1), hostname(1), model(1), setuname(1M), gethostname(2),
      sethostname(2), uname(2), hostname(5).

      uname: SVID2, SVID3, XPG2, XPG3, XPG4, POSIX.2

 Hewlett-Packard Company            - 3 -   HP-UX 11i Version 2: August 2003
[ Back ]
 Similar pages
Name OS Title
uname HP-UX get information about computer system; set node name (system name)
setuname HP-UX get information about computer system; set node name (system name)
uname FreeBSD display information about the system
RAID Tru64 Small Computer System Interface
SCSI Tru64 Small Computer System Interface
top HP-UX display and update information about the top processes on the system
sysmips IRIX MIPS Computer Systems Inc. system call
scsi HP-UX Small Computer System Interface device drivers
audsys HP-UX start or halt the auditing system and set or display audit file information
icod_stat HP-UX Display instant Capacity on Demand (iCOD) status and system information.
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service