Linux users who are currently logged in to the system

Syntax: w [-fhlsuV][user name]

linux w Command Supplementary Description: Execute this command to know who are the users who are currently logged in to the system and the programs they are executing. Executing the linux w command alone will display all users. You can also specify a user name to display information about only one user.

linux w Command parameters:

-f Turn on or off the display where the user logs into the system from.

-h Do not display header information columns for each column.

-l Use verbose format list, this is the default.

-s Use a concise format listing, do not display user login time, terminal phase jobs and CPU time spent by programs.

-u Ignore the name of the program to execute, and information about how much CPU time the program is spending.

-V Display version information.

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326987542&siteId=291194637