`
jsntghf
  • 浏览: 2476839 次
  • 性别: Icon_minigender_1
  • 来自: 苏州
社区版块
存档分类
最新评论

查看用户行为并踢出用户

阅读更多

查看用户行为

 

[root@commcy ~]# w
 14:59:25 up 10 days,  4:56,  3 users,  load average: 1.01, 1.46, 1.99
USER     TTY      FROM              LOGIN@   IDLE   JCPU   PCPU WHAT
root     pts/1    192.168.10.199   12:51    1:57m 31.14s  0.05s -bash
root     pts/2    192.168.10.59    14:24    0.00s  0.04s  0.00s w
root     pts/3    192.168.10.58    14:44   14:25   0.01s  0.01s -bash

 

都有谁在使用系统

 

[root@commcy ~]# who
root     pts/1        2011-08-25 12:51 (192.168.10.199)
root     pts/2        2011-08-25 14:24 (192.168.10.59)
root     pts/3        2011-08-25 14:44 (192.168.10.58)

 

将用户踢出

 

[root@commcy ~]# pkill -kill -t pts/3

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics