[root@hc168 ~]# uname
Linux
[root@hc168 ~]# w
14:56:57 up 5 days, 21:29, 1 user, load average: 0.06, 0.01, 0.00
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
yaobin pts/0 222.218.129.183 14:53 0.00s 0.03s 0.01s sshd: yaobin [priv]



|
[root@hc168 ~]# uname Linux [root@hc168 ~]# w 14:56:57 up 5 days, 21:29, 1 user, load average: 0.06, 0.01, 0.00 USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT yaobin pts/0 222.218.129.183 14:53 0.00s 0.03s 0.01s sshd: yaobin [priv]
UNAME(1) User Commands UNAME(1) NAME
uname - print system information
SYNOPSIS
uname [OPTION]...
DESCRIPTION
Print certain system information. With no OPTION, same as -s.
-a, --all
print all information, in the following order, except omit -p and -i if unknown:
-s, --kernel-name
print the kernel name
-n, --nodename
print the network node hostname
-r, --kernel-release
print the kernel release
-v, --kernel-version
print the kernel version
-m, --machine
print the machine hardware name
-p, --processor
print the processor type or "unknown"
-i, --hardware-platform
print the hardware platform or "unknown"
-o, --operating-system
print the operating system
--help display this help and exit
--version
output version information and exit
AUTHOR
Written by David MacKenzie.
REPORTING BUGS
Report bugs to . uname -a should give you all the information you want uname -l [root@HCMRTG_BY cron]# uname -a
Linux HCMRTG_BY_YaoBin 2.6.18-92.el5 #1 SMP Tue Apr 29 13:16:12 EDT 2008 i686 i686 i386 GNU/Linux
|
|
|