AIX: user is not logged in, but user processes are still running
Posted on 2013-11-18
Please watch this:
[root@p750 bin]# w | grep "cl00-3"
from where I can imagine the user cl00-3 is not logged in anymore.
But then you see a process eating a lot of cpu on topas: 48628662
[root@p750 bin]# pstree -p 48628662
-+- 00001 root /etc/init
\-+= 4194592 root /usr/sbin/srcmstr
\-+= 39781132 root /usr/sbin/inetd
\-+= 16582992 root telnetd -ac
\-+= 11012174 cl00-3 /bin/bash /uv6/bin/uv.login
\--- 48628662 cl00-3 /uv1/uv/bin/uvdls
last also shows the user is not logged in anymore.
It's obvious the user disconnected, probably with a "hard disconnect", and somehow AIX noted it - as it's not in the user list - but user processes are still running.
How can I trap this disconnection and kill the user proctree ?
Thanks in advance,