uname — кансольная UNIX‐утыліта, якая друкуе інфармацыю аб сістэме.
Прыклады
На Red Hat GNU/Linux
# uname Linux # uname -a Linux HOST.domain.com 2.6.9-55.ELsmp #1 SMP Fri Apr 20 17:03:35 EDT 2007 i686 i686 i386 GNU/Linux
На Kubuntu
# uname Linux # uname -a Linux norrius-desktop 2.6.32-22-generic #33-Ubuntu SMP Wed Apr 28 13:27:30 UTC 2010 i686 GNU/Linux
На HP-UX
# uname -a HP-UX HOSTNAME B.11.23 U 9000/800 105901597 unlimited-user license
На Solaris
# uname SunOS sparc 5.11 snv_98 sun4u sparc SUNW,Sun-Blade-1000
На Mac OS X
# uname Darwin # uname -a Darwin macmini 10.6.0 Darwin Kernel Version 10.6.0: Wed Nov 10 18:13:17 PST 2010; root:xnu-1504.9.26~3/RELEASE_I386 i386
На Gentoo
# uname Linux # uname -a Linux lenovo 2.6.36-gentoo-r5-libre #2 SMP PREEMPT Mar 15 23:04:54 MSK 2011 x86_64 Intel(R) Atom(TM) CPU N455 @ 1.666GHz GenuineIntel GNU/Linux
На Android
# uname -a Linux localhost 2.6.32.9 #82 PREEMPT Sun Apr 10 15:28:28 EEST 2011 armv61 GNU/Linux
Спасылкі
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.