Linux commands (006)--W

Source: Internet
Author: User

The W command displays a list of users who have logged in to the system and displays the instructions that the user is executing. Execute this command to know who is currently logged in to the system, and which programs they are executing. The Execute W command alone displays all users, and you can also specify the user name to display information about only one user.

Let's take a look at how the W command is described in the man page: "The W command is used to show which users have logged into the system and understand what they are doing." The header information for the W command is used to describe the current time, how long the system has been running, how many users are currently logged on to the system, and the average load on the system in the past 1,5,15 minutes. ”

Use of the W command:
# syntax W-[HUSFV] [user]# option-H: Do not print header information;-u: Ignores user name when displaying current process and CPU time;-S: use short output format;-F: Does not show where the user is logged in;-V: Displays version information. # parameter User: Only the specified user is displayed

  

Linux commands (006)--W

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.