Linux in w command using __linux

Source: Internet
Author: User
Overview

The W command –> to view the information of the logged-in person and their behavior. parameter -H does not display a caption. -U ignores user name when listing current process and CPU time. This is primarily the case after the SU command is executed. -S uses short mode. Does not display logon hours, JCPU (terminal stage jobs), and PCPU (program consumption) time. -F Toggles the display of the from item, which is the remote host name entry. The default value is to not display the remote host name-v display version information. Use

User: Logon username
TTY: System-assigned terminal number after login
From: remote host name, where to log in
login@: When to log in
IDLE: User idle time. This is a timer, and once the user performs any action, the timer is reset.
JCPU: Time occupied by all processes connected to the terminal. Include the current running background job occupancy time
PCPU: Elapsed time for the current process
WHAT: The command line that is currently running a process is compared to other commands

1 difference from who command, W command not only can see the user information of the login server, but also can see what these users do

2 Who am I command, display their own user name in the system, login terminal, logon time

3 WhoAmI command to display your user name in the system

4 logname command, you can display their initial login to the system username, mainly identify sudo before and after the situation

5 Last command to view the latest 1 months of user logon server
6 TTY command to view the connected device or terminal

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.