Operating System - Linux
1753321 Members
6714 Online
108792 Solutions
New Discussion юеВ

Re: ghost connections - user logged but not connected

 
Alain BLANC
Occasional Advisor

ghost connections - user logged but not connected

Hello everybody,
HP11.11 on J7000 and rp3440
#who
root pts/0 May 20 14:07
myself pts/1 Jun 2 13:40
#ps -ef |grep pts/0 |grep -v grep
#ps -ef |grep "May 20" |grep -v grep
#
root is logged but no process linked nor connection pts/0 visible.
Is someone can explaine to me the way to kill this ghost connexion ?

thank so much
Alain
3 REPLIES 3
Michal Kapalka (mikap)
Honored Contributor

Re: ghost connections - user logged but not connected

Hi Alain,

you could try to install lsof and find out which process is locked to the user.

mikap
savus
Advisor

Re: ghost connections - user logged but not connected

Hello Alain,

you can kill the connection with
#fuser -ku /dev/pts/0

Regards,
Stefan
Alain BLANC
Occasional Advisor

Re: ghost connections - user logged but not connected

Thank you for these answers
Sorry Stephan, the result of fuser seems ineffective in that case

#fuser -ku /dev/pts/0
/dev/pts/0:

#who
root pts/0 May 20 14:07
myself pts/1 Jun 2 13:40

I try to install lsof.