WHO.1
资源名称:os_source.zip [点击查看]
上传用户:datang2001
上传日期:2007-02-01
资源大小:53269k
文件大小:1k
源码类别:
操作系统开发
开发平台:
C/C++
- .TH WHO 1
- .SH NAME
- who - print list of currently logged in users
- .SH SYNOPSIS
- fBwhofR [fIfilefR]fR
- .br
- .de FL
- .TP
- \fB\$1\fR
- \$2
- ..
- .de EX
- .TP 20
- \fB\$1\fR
- # \$2
- ..
- .SH EXAMPLES
- .EX "who " "Print user names, terminals and times"
- .SH DESCRIPTION
- .PP
- fIWhofR prints a list of currently logged in users. For each one,
- the user name, terminal, and login time is printed.
- This program gets its information from the file fI/etc/utmpfR, which
- is updated by init and login.
- If the file does not exist, neither of these will create it, and
- fIwhofR will not work. Note that if you decide to create an empty
- fI/usr/adm/wtmpfR to enable the login accounting, it will grow forever and
- eventually fill up your disk unless you manually truncate it from time to time.
- If an optional file name is provided, the logins in that file will be printed.
- .SH "SEE ALSO"
- .BR utmp (5).