linux下踢掉其他用户

[root@75testserver ~]# w

14:07:55 up 2 days,  4:34,  4 users,  load average: 53.00, 52.75, 52.31
USER     TTY      FROM              LOGIN@   IDLE   JCPU   PCPU WHAT
root     pts/0    192.168.7.50     09:23    4:11m  1:42   1:42  top
root     pts/1    192.168.7.30     13:49   17:47   0.03s  0.03s -bash
root     pts/2    192.168.7.36     14:01    5:56   0.02s  0.02s -bash
root     pts/3    192.168.7.36     14:02    0.00s  0.03s  0.01s w
[root@75testserver ~]# pkill -kill -t pts/0(踢掉从7.50登陆的用户)
[root@75testserver ~]# w
14:11:16 up 2 days,  4:38,  3 users,  load average: 53.05, 52.88, 52.44
USER     TTY      FROM              LOGIN@   IDLE   JCPU   PCPU WHAT
root     pts/1    192.168.7.30     13:49    1:02   0.03s  0.03s -bash
root     pts/2    192.168.7.36     14:01    9:17   0.02s  0.02s -bash
root     pts/3    192.168.7.36     14:02    0.00s  0.03s  0.01s w
[root@75testserver ~]#

你可能感兴趣的:(linux,用户,职场,休闲,average)