可以who -up查找哪些用戶登錄以及佔用的pid
[root@localhost ~]$ who -up
2014-02-10 09:02 4566 id=6
root pts/0 2014-02-10 16:23 . 21539 (192.168.133.1)
root pts/1 2014-02-10 16:23 . 21565 (192.168.133.1)
root pts/2 2014-02-10 16:18 . 20894 (192.168.133.1)
然後殺掉進程即可 kill -9 21539