In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces "the introduction of the user's command forcibly kicked by the administrator under the linux". In the daily operation, I believe that many people have doubts about the introduction of the user's command forcibly kicked out by the administrator under the linux. The editor consulted all kinds of materials and sorted out a simple and easy-to-use method of operation. I hope it will be helpful to answer the doubt that the administrator forcibly kicks out the user's command under the linux. Next, please follow the editor to study!
Linux forces the user command to be kicked out:
Enter the w command to view the logged-in user information
[root@KW_S01_192.168.1.106_A ~] # w
19:22:31 up 2:11, 3 users, load average: 0.00, 0.00, 0.00
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
Root pts/0 192.168.1.178 18:41 0.00s 0.16s 0.01s w
Root pts/1 192.168.1.178 19:22 4.00s 0.14s 0.05s ssh localhost
Root pts/2 localhost.locald 19:22 4.00s 0.07s 0.07s-bash
Second, use the command pkill-kill-t user tty
[root@KW_S01_192.168.1.106_A] # pkill-kill-t pts/2
Third, verify whether the operation is successful
[root@KW_S01_192.168.1.106_A ~] # w
19:24:25 up 2:12, 2 users, load average: 0.00, 0.00, 0.00
USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
Root pts/0 192.168.1.178 18:41 0.00s 0.18s 0.02s w
Root pts/1 192.168.1.178 19:22 1:58 0.09s 0.09s-bash
Login user information description:
USER: displays the login user account name. If the user logs in repeatedly, the account will also be repeated.
TTY: the terminal used by the user to log in.
FROM: shows where the user logs in to the system.
LOGIN@: means LOGIN AT and indicates the time when you log in and enter the system.
IDLE: the idle time of the user, the time of the meeting since the end of the user's last task.
JCPU: a terminal code that indicates the CPU time spent by all process tasks related to the terminal during the touch period.
PCPU: refers to the CPU time spent after the task of the WHAT domain is executed.
WHAT: represents the currently executed task.
At this point, on the "linux administrator forced to kick out the user's command introduction" on the end of the study, I hope to be able to solve everyone's doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.