.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.48.5.
.\"*******************************************************************
.\"
.\" This file was generated with po4a. Translate the source file.
.\"
.\"*******************************************************************
.TH WHO 1 2022年9月 "GNU coreutils 9.1" 用户命令
.SH 名称
who \- 显示已登录用户
.SH 概述
\fBwho\fP [\fI\,选项\/\fP]... [ \fI\,文件 | 参数1 参数2 \/\fP]
.SH 描述
.\" Add any additional description here
.PP
显示与当前登录用户有关的信息。
.TP
\fB\-a\fP, \fB\-\-all\fP
等价于 \fB\-b\fP \fB\-d\fP \fB\-\-login\fP \fB\-p\fP \fB\-r\fP \fB\-t\fP \fB\-T\fP \fB\-u\fP
.TP
\fB\-b\fP, \fB\-\-boot\fP
最近一次系统引导的时间
.TP
\fB\-d\fP, \fB\-\-dead\fP
显示死进程
.TP
\fB\-H\fP, \fB\-\-heading\fP
显示表格的表头
.TP
\fB\-\-ips\fP
显示 IP地址而不是主机名。加上 \fB\-\-lookup\fP,则会尽可能基于已存储的 IP 规范化,而不是已存储的主机名
.TP
\fB\-l\fP, \fB\-\-login\fP
显示系统登录进程
.TP
\fB\-\-lookup\fP
试图通过 DNS 规范主机名
.TP
\fB\-m\fP
仅显示和标准输入关联的主机名和用户
.TP
\fB\-p\fP, \fB\-\-process\fP
显示由 init 生成的活跃进程
.TP
\fB\-q\fP, \fB\-\-count\fP
所有登录名称与已登录用户数量
.TP
\fB\-r\fP, \fB\-\-runlevel\fP
显示当前运行级别
.TP
\fB\-s\fP, \fB\-\-short\fP
仅显示名称、线路与时间(默认)
.TP
\fB\-t\fP, \fB\-\-time\fP
显示最近一次系统时钟更改
.TP
\fB\-T\fP, \fB\-w\fP, \fB\-\-mesg\fP
添加用户状态信息,如 +, \- 或 ?
.TP
\fB\-u\fP, \fB\-\-users\fP
w列出已登陆用户
.TP
\fB\-\-message\fP
等价于 \fB\-T\fP
.TP
\fB\-\-writable\fP
等价于 \fB\-T\fP
.TP
\fB\-\-help\fP
显示此帮助信息并退出
.TP
\fB\-\-version\fP
显示版本信息并退出
.PP
如果没有指定文件,默认使用 \fI\,/var/run/utmp\/\fP。\fI\,/var/log/wtmp\/\fP 常被指定为文件参数。如果给出参数1
和参数2,则等价于 \fB\-m\fP:两个参数通常可以是 'am i' 或 'mom likes'。
.SH 作者
由 Joseph Arceneaux, David MacKenzie 和 Michael Stone 编写。
.SH 报告错误
GNU coreutils 的在线帮助:
.br
请向 报告翻译错误。
.SH 版权
Copyright \(co 2022 Free Software Foundation, Inc. License GPLv3+: GNU GPL
version 3 or later .
.br
This is free software: you are free to change and redistribute it. There is
NO WARRANTY, to the extent permitted by law.
.SH 参见
完整文档请见:
.br
或者在本地使用: info \(aq(coreutils) who invocation\(aq
.SH "跋"
.br
本页面中文版由中文 man 手册页计划提供。
.br
中文 man 手册页计划:\fBhttps://github.com/man-pages-zh/manpages-zh\fR