UNAME.1
资源名称:os_source.zip [点击查看]
上传用户:datang2001
上传日期:2007-02-01
资源大小:53269k
文件大小:1k
源码类别:
操作系统开发
开发平台:
C/C++
- .TH UNAME 1
- .SH NAME
- uname, arch - system info
- .SH SYNOPSIS
- fBunamefR [fB-snrvmpafR]fR
- .br
- fBarchfR [fB-snrvmpafR]fR
- .br
- .de FL
- .TP
- \fB\$1\fR
- \$2
- ..
- .de EX
- .TP 20
- \fB\$1\fR
- # \$2
- ..
- .SH OPTIONS
- .FL "-s" "System name"
- .FL "-n" "Node/network name"
- .FL "-r" "Operating system release"
- .FL "-v" "Operating system version"
- .FL "-m" "Machine type"
- .FL "-p" "Processor family"
- .FL "-a" "Short for fB-snrvmfR"
- .SH EXAMPLES
- .EX "uname -n" "Print the name of the system"
- .EX "arch" "Print the name of the system architecture"
- .SH DESCRIPTION
- .PP
- fIUnamefP and fIarchfP give information about the system. The options
- indicate which information strings must be printed. These strings are always
- in the same order. fIUnamefP and fIarchfP only differ w.r.t. the default
- string to print, fB-sfP and fB-pfP respectively.
- .PP
- The strings are compiled into the commands except for the node name, it is
- obtained from the file fI/etc/hostname.filefP. fBUname -mfP should
- return the actual machine type, not the same string as with fB-pfP.
- .SH "SEE ALSO"
- .BR uname (3).