UNAME(1c,C) AIX Commands Reference UNAME(1c,C) ------------------------------------------------------------------------------- uname PURPOSE Displays the name of the current operating system. SYNTAX +------- -s -------+ uname ---| one of |---| | +----+ | | +----| -a |----+ | | | | -x | | | +-| +----+ |-+ | +----------+ | +-| -m -n -l |-+ ^| -r -s -v || |+----------+| +------------+ DESCRIPTION The uname command writes to the standard output the name of the operating system that you are using. Note: In AIX, changing a machine name is done with the chparm command. FLAGS -a Displays all information specified with the -m, -n, -r, -s, and -v flags. -l Displays the TCF cluster site number. -m Displays the type of hardware running the system. -n Displays the name of the node (this may be a name that the system is known by to a communications network). -r Displays the release number of the operating system. -s Displays the operating system name. (This flag is on by default.) -v Displays the operating system version. -x Displays the information specified with the -a flag and the LAN network number. Processed November 8, 1990 UNAME(1c,C) 1 UNAME(1c,C) AIX Commands Reference UNAME(1c,C) If you enter a flag that is not valid, uname exits with an error message, an error return status, and no output. EXAMPLE To display the complete system name and version banner: uname -a RELATED INFORMATION See the uname system call in AIX Operating System Technical Reference. Processed November 8, 1990 UNAME(1c,C) 2