Operating System - HP-UX
1848004 Members
7670 Online
104022 Solutions
New Discussion

On HP9000 running 11i anyway to kill hung user session?

 
SOLVED
Go to solution
Mike Bray
Advisor

On HP9000 running 11i anyway to kill hung user session?

History is that they used a kill -9 to try to kill this user process (bad, way bad) and it's still showing up although pid is no longer found. Not causing issues and system bounce later this month will take care of it. I'm just curious if there is a way to remove it completely.

# who -HT
NAME LINE TIME IDLE PID COMMENTS
sherry - pts/1 Sep 15 06:38 0:24 18509 10.10.1.249
sherry - pts/2 Sep 15 07:45 0:50 22910 10.10.1.249
sales - pts/3 Sep 15 08:58 0:34 26784 10.10.1.124
summit - pts/4 Sep 15 09:28 0:01 28868 12.18.165.2
summit - pts/6 Sep 15 09:07 . 27275 12.18.165.2
sales x pts/12 Sep 14 09:21 old 10597 10.10.1.123
# ps -ef | grep 10597
root 29147 27300 0 09:33:43 pts/6 0:00 grep 10597
# kill -15 10597
kill: 10597: The specified process does not exist.
4 REPLIES 4
Jaime Bolanos Rojas.
Honored Contributor
Solution

Re: On HP9000 running 11i anyway to kill hung user session?

Hi Mike!

Most of the time the reboot takes care of those small details.

For more info take a look at this thread:

http://forums1.itrc.hp.com/service/forums/bizsupport/questionanswer.do?threadId=1057002

Regards,

Jaime.
Work hard when the need comes out.
IT_2007
Honored Contributor

Re: On HP9000 running 11i anyway to kill hung user session?

If it says not exist then it is gone. do you still see user logged in using who command?

If so, kill parent process to kill his session.
Mike Bray
Advisor

Re: On HP9000 running 11i anyway to kill hung user session?

Thanks, followed link and will attempt to use the two scripts mentioned to run against "wtmp".
Mike Bray
Advisor

Re: On HP9000 running 11i anyway to kill hung user session?

Thanks