1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-21 21:22:06 +02:00
tldr/pages.zh/common/w.md
Ziqiang Wu 2e78c67026
glances, hostname, w, iptables, lsblk, reboot, date, at, poweroff, open: update outdated Chinese pages (#16047)
Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
2025-04-12 10:49:41 +03:00

367 B

w

显示已登录用户及其进程信息。 更多信息:https://manned.org/w.

  • 显示所有当前已登录用户的信息:

w

  • 显示指定用户的信息:

w {{用户名}}

  • 显示已登录用户信息,但不显示标题行:

w {{[-h|--no-header]}}

  • 显示信息时不包含登录时间、JCPU 和 PCPU 列:

w {{[-s|--short]}}