DragonFly On-Line Manual Pages
UNAME(1) DragonFly General Commands Manual UNAME(1)
uname -- display information about the system
The uname command writes the name of the operating system implementation
to standard output. When options are specified, strings representing one
or more system characteristics are written to standard output.
The options are as follows:
-a Behave as though the options -m, -n, -r, -s, and -v were speci-
-i Write the kernel ident to standard output.
-m Write the type of the current hardware platform to standard out-
-n Write the name of the system to standard output.
-p Write the type of the machine processor architecture to standard
-r Write the current release level of the operating system to stan-
-s Write the name of the operating system implementation to standard
-v Write the version level of this release of the operating system
to standard output.
-P Generates a default ABI: configuration string for dports / pkgng
to the standard output, including odd-to-even version-munging.
-PP Generates a default ABI: configuration string for dports / pkgng
to the standard output, without version-munging.
If the -a flag is specified, or multiple flags are specified, all output
is written on a single line, separated by spaces.
An environment variable composed of the string UNAME_ followed by any
flag to the uname utility (except for -a) will allow the corresponding
data to be set to the contents of the environment variable.
A varsym composed of the string UNAME_ followed by any flag to the uname
utility (except for -a) will allow the corresponding data to be set from
the contents of the varsym. Environment variables override varsyms in
The uname utility exits 0 on success, and >0 if an error occurs.
varsym(1), sysctl(3), uname(3), sysctl(8)
The uname command is expected to conform to the IEEE Std 1003.2
The uname command appeared in PWB UNIX.
DragonFly 5.5 October 24, 2003 DragonFly 5.5