You can run the pkill command to exit common users logging on to linux! 1. first, check the active USER: w Display Description: USER: current active user tty: Terminal name FROM: remote LOGIN host name LOGIN @: logon time IDLE: IDLE time, start timing the JCPU from the end of the last task:
You can run the pkill command to exit common users logging on to linux!
1. First, check the active User: w
Display description:
USER: current active USER
TTY: Terminal name
FROM: remote login host name
LOGIN @: logon time
IDLE: IDLE time, starting from the end of the last task.
JCPU: It is distinguished by terminal number, indicating the CPU time consumed by all process tasks related to the terminal within a certain period of time.
PCPU: CPU time consumed after the task is executed in what domain
WHAT: The command line of the currently running process
2. force the active user to exit: pkill
You can run the pkill-kill-t [TTY] command. [TTY] indicates the terminal name displayed by the w command.