devuser pts/0 2011-11-18 09:55 (xxx.xxx.xxx.xxx)
root pts/1 2011-11-18 09:56 (xxx.xxx.xxx.xxx)
testuser pts/2 2011-11-18 14:54 (xxx.xxx.xxx.xxx)
root pts/3 2011-11-18 14:55 (xxx.xxx.xxx.xxx)
ps -dN|grep pts/3
reference: https://superuser.com/questions/358835/force-logout-a-user
[linux] Force logout a user
分類:linux