Uname
范例

在Darwin系统上，带有-a命令行参数运行uname的输出结果可能会像这样：
Darwin Roadrunner.local 10.3.0 Darwin Kernel Version 10.3.0: Fri Feb 26 11:58:09 PST 2010; root:xnu-1504.3.12~1/RELEASE_I386 i386
下表包含了各种版本的uname在各种平台上的例子。在bash shell中，环境变量OSTYPE包含一个与uname -o类似（但不完全相同）的值。
| 操作系统 | 操作系统或内核名称（-s） | 操作系统名称（-o） | 硬件架构（-m） | 处理器（-p） | 硬件平台（-i或-M） | 操作系统或内核版本（-v） | 操作系统或内核发行号（-r） |
| --- | --- | --- | --- | --- | --- | --- | --- |
| Cygwin (Windows XP), Pentium 4 | CYGWIN_NT-5.1 | Cygwin | i686 | 未知 | 未知 | 2006-01-20 13:28 | 1.5.19(0.150/4/2) |
| Cygwin 1.7 (Windows 7 64-bit), Core i7 | CYGWIN_NT-6.1-WOW64 | Cygwin | i686 | 未知 | 未知 | 2012-05-09 10:25 | 1.7.15(0.260/5/3) |
| MSYS (Windows Vista) | MINGW32_NT-6.0 | Msys | i686 | 未知 | 未知 | 2009-07-11 17:46 | 1.0.11(0.46/3/2) |
| UWIN (64 bit Windows 7), Intel Core i5 | UWIN-W7 | UWIN | i686-64 | x64 | 64/64 | 2012-06-26 | 5.0/6.1 |
| FreeBSD 6.1, Intel | FreeBSD | 无效选项 | i386 | i386 | [内核配置文件中的内核名称。即：GENERIC] | FreeBSD 6.1-RELEASE-p15 #1: Sun Apr 15 18:04:51 EDT 2007 | 6.1-RELEASE-p15 |
| FreeBSD 9.0, Intel | FreeBSD | FreeBSD | amd64 | amd64 | [内核配置文件中的内核名称。即：GENERIC] | FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:46:30 UTC 2012     root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC | 9.0-RELEASE |
| IRIX 6.5.30, Origin 2000 | IRIX64 | 无效选项 | IP30 | mips | 无效选项 | 07202013 | 6.5 |
| Solaris 9, Sun Fire 280R | SunOS | 无效选项 | sun4u | sparc | SUNW,Sun-Fire-280R | Generic_112233-08 | 5.9 |
| Solaris 10, Sun Fire V490 | SunOS | 无效选项 | sun4u | sparc | SUNW,Sun-Fire-V490 | Generic_142900-13 | 5.10 |
| Solaris 11.1, Sun Fire X4540 | SunOS | Solaris | i86pc | i386 | i86pc | 11.1 | 5.11 |
| openSUSE 10.3, Core2-duo 64-bit | Linux | GNU/Linux | x86_64 | x86_64 | x86_64 | #1 SMP 2007/09/21 22:29:00 UTC | 2.6.22.5-31-default |
| Gentoo, UltraSparc IIe | Linux | GNU/Linux | sparc64 | sun4u | TI UltraSparc IIe (Hummingbird) | #1 SMP Wed Nov 10 02:04:26 CET 2010 | 2.6.34-gentoo-r12 |
| any, coreutils 7.1 | Linux | GNU/Linux | sparc64 | sparc64 | UltraSPARC T1 (Niagara) | (all) | (all) |
| any, coreutils 7.1–8.4 | Linux | GNU/Linux | ppc64 | ppc64 | PPC 970FX (XServe G5) | (all) | (all) |
| Linux Mint 10 "Julia" 64-bit | Linux | GNU/Linux | x86_64 | 未知 | 未知 | #33-Ubuntu SMP Sun Sep 19 20:32:27 UTC 2010 | 2.6.35-22-generic |
| Debian GNU/kFreeBSD 6.0, AMD | GNU/kFreeBSD | GNU/kFreeBSD | x86_64 | amd64 | AMD Sempron(tm) Processor 3000+ | #0 Thu Nov 26 04:22:59 CET 2009 | 8.0-1-amd64 |
| Debian 6.0.5 on B型树莓派 | Linux | GNU/Linux | armv61 | 未知 | 未知 | #90 Wed Apr 18 18:23:05 BST 2012 | 3.1.9+ |
| Ubuntu 12.0.4 on Pandaboard ES | Linux | GNU/Linux | armv7l | armv7l | armv7l | #33-Ubuntu SMP PREEMPT Sat Jan 26 00:46:04 UTC 2013 | 3.2.0-1425-omap4 |
| Android 4.2.1 on Nexus 4 | Linux | GNU/Linux | armv7l | 未知 | 未知 | #1 SMP PREEMPT Thu Nov 8 15:42:02 PST 2012 | 3.4.0-perf-ge039dcb |
| Mac OS X Snow Leopard 10.6, MacBook3,1 (Late 2007) | Darwin | 无效选项 | i386 | i386 | 无效选项 | Darwin Kernel Version 10.0.0: Fri Jul 31 22:47:34 PDT 2009; root:xnu-1456.1.25~1/RELEASE_I386 | 10.0.0 |
| Mac OS X Lion 10.7.3 build 11D50, MacbookPro7,1 (Late 2010) | Darwin | 无效选项 | x86_64 | i386 | 无效选项 | Darwin Kernel Version 11.3.0: Thu Jan 12 18:47:41 PST 2012; root:xnu-1699.24.23~1/RELEASE_X86_64 | 11.3.0 |
| Mac OS X Mountain Lion 10.8.3 build 12D78, MacbookPro10,1 (Mid 2012) | Darwin | 无效选项 | x86_64 | i386 | 无效选项 | Darwin Kernel Version 12.3.0: Sun Jan  6 22:37:10 PST 2013; root:xnu-2050.22.13~1/RELEASE_X86_64 | 12.3.0 |
| Haiku R1/Alpha 1, QEMU | Haiku | Haiku | BePC | 未知 | 未知 | r33109 Sep 12 2009 17:45:45 | 1 |
| IBM AIX 5.3 | AIX | AIX | 00C57D4D4C00 | powerpc | IBM,8205-E6B | 5 | 3 |
| MINIX 3.1.7, x86 | Minix | 无效选项 | i686 | i386 | 无效选项 | 1.7 | 3 |
| DragonFlyBSD 2.7, AMD64 | DragonFly | 无效选项 | x86_64 | x86_64 | [内核配置文件的文件名] | DragonFly v2.7.3.122.g0ba92-DEVELOPMENT #0: Tue June  8 16:50:35 CEST 2010 | 2.7-DEVELOPMENT    root@Chance.: /usr/obj/usr/src/sys/X86_64_GENERIC |
| Ubuntu 11.04 | Linux | GNU/Linux | x86_64 | x86_64 | x86_64 | #46-Ubuntu SMP Tue Jun 28 15:07:17 UTC 2011 | 2.6.38-10-generic |
| HP-UX 11i v3 | HP-UX | 无效选项 | ia64 | 无效选项 | [如果不能确定，则显示唯一机器ID号或节点名称。] | U | B.11.31 |
| Debian GNU/Hurd | GNU | GNU | i686-AT386 | 未知 | 未知 (-i) / 无效选项 (-M) | GNU-Mach 1.3.99-486/Hurd-0.3 | 0.3 |
| UnixWare 7.1.4 | UnixWare | 无效选项 | i386 | x86at | -i 硬件序列号/许可证编号，例如1AB000123；-M为无效选项 | 7.1.4 | 5 |