05/04/02 11:46:09

User Control
Support@crinc.com
Back To Support Page

w       shows who is logined in         *who

cri386 #w
9:07pm up 6 days, 5:43, 5 users, load average: 0.00, 0.00, 0.00
User      Tty          Login@           Idle          JCPU              PCPU                          What*
kurt      tty01       1:52pm         103:11                                                                 -sh
pierce  ttyB02      8:26pm            3                                                                           w
pierce  ttyp0        9:04am           3:52 1                                                                  -sh
tommy  ttyp4       3:30pm           5:23                                                                    -sh
pierce   ttyp11      10:18am         6:10                                                                    /appl/fp/dclerk
    ^ who* ^ how they are login                                                                             ^ what's going on

ps -fu xxxx             tool for looking at processes to kill or reset a user or program. xxxx is user name
ps -ef |grep ttyxxx   
If you are looking for a tty port to kill or reset for a new login

cri386 #ps -fu pierce
UID    PID       PPID C STIME TTY TIME COMMAND
pierce 12183      1       0 18:50:25 B02 0:01 -sh
pierce 10739 10738    0 15:00:27 p0 0:00 -sh
pierce 28061     1        0 Sep 13 ? 0:03 fct_smbd -n PIERCE

kill PID                 Reset or Kill a user or program, if does not work try using the PPID

kill -9 PID             KILL now no mater what!
Support@crinc.com
Back To Support Page