LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Another session logged in but running no processes? (https://www.linuxquestions.org/questions/linux-server-73/another-session-logged-in-but-running-no-processes-859535/)

asimov 01-30-2011 05:49 AM

Another session logged in but running no processes?
 
Hi all,

Since I can't figure what's going on, any hint would be appreciated.

My University gives us access to a Linux server, named stud1.

Code:

me@stud1:~$ uname -a
Linux stud1.some.univ.ac 2.6.9-89.31.1.ELsmp #1 SMP Mon Oct 4 21:41:59 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux

Apparently I was logged in, and never logged out sometime:
Code:

me@stud1:~$ who
<snip>
me      pts/37      Jan 30 13:27 (6.6.66.66)
<snip>
me      pts/58      Dec 30 19:13

but when trying to find out why I'm still logged in, I can't find it:
Code:

me@stud1:~$ ps faux |grep me
root  30030  0.0  0.0 51128 4360 ?        Ss  13:27  0:00  \_ sshd: me [priv]
me    30033  0.0  0.0 51132 2336 ?        S    13:27  0:00      \_ sshd: me@pts/37
me    30034  0.0  0.0 59684 1536 pts/37  Ss  13:27  0:00          \_ -bash
me    31241  0.0  0.0 10732 1248 pts/37  R+  13:45  0:00              \_ ps faux
me    31242  0.0  0.0 51084  584 pts/37  S+  13:45  0:00              \_ grep --color=auto me

My question is: what is going on? how can I logout this unused session?

Thanks in advance.

business_kid 01-30-2011 11:11 AM

Can you kill the bash terminal associated with it?
the o/p of lsof |grep me might also be interesting

asimov 01-30-2011 11:32 AM

how can I kill the terminal? the mysterious pts is not even showing in /dev:
Code:

me@stud1:/dev/pts$ ls
0  101  120  136  137  14  23  25  26  28  29  33  35  36  37  39  44  48  5  56  64  77  8  84  85  87  88  89  92

Code:

me@stud1:~$ lsof |grep me
sshd      19550  me  cwd  unknown                            /proc/19550/cwd (readlink: Permission denied)
sshd      19550  me  rtd  unknown                            /proc/19550/root (readlink: Permission denied)
sshd      19550  me  txt  unknown                            /proc/19550/exe (readlink: Permission denied)
sshd      19550  me NOFD                                      /proc/19550/fd (opendir: Permission denied)
bash      19551  me  cwd      DIR  0,19    8192    2321487 /u1/004/me (netapp1:/vol/stud/u1)
bash      19551  me  rtd      DIR  8,17    4096          2 /
bash      19551  me  txt      REG  8,17  773216    3342359 /bin/bash
bash      19551  me  mem      REG  8,17  5846806    1410562 /var/db/nscd/passwd
bash      19551  me  mem      REG  8,17 48512432    3253817 /usr/lib/locale/locale-archive
bash      19551  me  mem      REG  8,17    21546    3293592 /usr/lib64/gconv/gconv-modules.cache
bash      19551  me  mem      REG  8,17    10128    3293526 /usr/lib64/gconv/ISO8859-1.so
bash      19551  me  mem      REG  8,17  115168    4866275 /lib64/ld-2.3.4.so
bash      19551  me  mem      REG  8,17  1641144    4866378 /lib64/tls/libc-2.3.4.so
bash      19551  me  mem      REG  8,17    19816    4866380 /lib64/libdl-2.3.4.so
bash      19551  me  mem      REG  8,17    15744    4866394 /lib64/libtermcap.so.2.0.8
bash      19551  me    0u      CHR 136,14                  16 /dev/pts/14
bash      19551  me    1u      CHR 136,14                  16 /dev/pts/14
bash      19551  me    2u      CHR 136,14                  16 /dev/pts/14
bash      19551  me  255u      CHR 136,14                  16 /dev/pts/14
lsof      19741  me  cwd      DIR  0,19    8192    2321487 /u1/004/me (netapp1:/vol/stud/u1)
lsof      19741  me  rtd      DIR  8,17    4096          2 /
lsof      19741  me  txt      REG  8,17  109176    3257342 /usr/sbin/lsof
lsof      19741  me  mem      REG  8,17 48512432    3253817 /usr/lib/locale/locale-archive
lsof      19741  me  mem      REG  8,17  115168    4866275 /lib64/ld-2.3.4.so
lsof      19741  me  mem      REG  8,17  1641144    4866378 /lib64/tls/libc-2.3.4.so
lsof      19741  me    0u      CHR 136,14                  16 /dev/pts/14
lsof      19741  me    1w    FIFO    0,7          195501252 pipe
lsof      19741  me    2u      CHR 136,14                  16 /dev/pts/14
lsof      19741  me    3r      DIR    0,3        0          1 /proc
lsof      19741  me    4r      DIR    0,3        0 1293746185 /proc/19741/fd
lsof      19741  me    5w    FIFO    0,7          195501258 pipe
lsof      19741  me    6r    FIFO    0,7          195501259 pipe
grep      19742  me  cwd      DIR  0,19    8192    2321487 /u1/004/me (netapp1:/vol/stud/u1)
grep      19742  me  rtd      DIR  8,17    4096          2 /
grep      19742  me  txt      REG  8,17    89152    3342386 /bin/grep
grep      19742  me  mem      REG  8,17 48512432    3253817 /usr/lib/locale/locale-archive
grep      19742  me  mem      REG  8,17  115168    4866275 /lib64/ld-2.3.4.so
grep      19742  me  mem      REG  8,17  1641144    4866378 /lib64/tls/libc-2.3.4.so
grep      19742  me  mem      REG  8,17    63432    4866305 /lib64/libpcre.so.0.0.1
grep      19742  me    0r    FIFO    0,7          195501252 pipe
grep      19742  me    1u      CHR 136,14                  16 /dev/pts/14
grep      19742  me    2u      CHR 136,14                  16 /dev/pts/14
lsof      19743  me  cwd      DIR  0,19    8192    2321487 /u1/004/me (netapp1:/vol/stud/u1)
lsof      19743  me  rtd      DIR  8,17    4096          2 /
lsof      19743  me  txt      REG  8,17  109176    3257342 /usr/sbin/lsof
lsof      19743  me  mem      REG  8,17 48512432    3253817 /usr/lib/locale/locale-archive
lsof      19743  me  mem      REG  8,17  115168    4866275 /lib64/ld-2.3.4.so
lsof      19743  me  mem      REG  8,17  1641144    4866378 /lib64/tls/libc-2.3.4.so
lsof      19743  me    4r    FIFO    0,7          195501258 pipe
lsof      19743  me    7w    FIFO    0,7          195501259 pipe



All times are GMT -5. The time now is 10:38 AM.