Linux:查看登录会话

来自WHY42
root@riguz:~ # w
 1:13PM  up 4 days, 12:46, 3 users, load averages: 0.60, 0.35, 0.23
USER       TTY      FROM                                      LOGIN@  IDLE WHAT
root       v0       -                                        Fri12AM 4days -cs
root       pts/0    202.66.38.130                            12:05PM  1:07 -cs
root       pts/1    202.66.38.130                             1:13PM     - w

pkill -kill -t pts/0