WHO.1
Upload User: jnzhq888
Upload Date: 2007-01-18
Package Size: 51694k
Code Size: 1k
Category:

OS Develop

Development Platform:

WINDOWS

  1. .TH WHO 1
  2. .SH NAME
  3. who - print list of currently logged in users
  4. .SH SYNOPSIS
  5. fBwhofR [fIfilefR]fR
  6. .br
  7. .de FL
  8. .TP
  9. \fB\$1\fR
  10. \$2
  11. ..
  12. .de EX
  13. .TP 20
  14. \fB\$1\fR
  15. # \$2
  16. ..
  17. .SH EXAMPLES
  18. .EX "who   " "Print user names, terminals and times"
  19. .SH DESCRIPTION
  20. .PP
  21. fIWhofR prints a list of currently logged in users.  For each one, 
  22. the user name, terminal, and login time is printed.  
  23. This program gets its information from the file fI/etc/utmpfR, which 
  24. is updated by init and login.  
  25. If the file does not exist, neither of these will create it, and 
  26. fIwhofR will not work.  Note that if you decide to create an empty  
  27. fI/usr/adm/wtmpfR to enable the login accounting, it will grow forever and 
  28. eventually fill up your disk unless you manually truncate it from time to time.
  29. If an optional file name is provided, the logins in that file will be printed.
  30. .SH "SEE ALSO"
  31. .BR utmp (5).