Hi,
My server runnning on SUN Solaris rel.5.5.1. I have been facing this issues for years. I have some Xbase databases running on the server. User is using emulation software to telnet to server for accessing application. If user logout application abnormally - by closing windows session, then it will become a run away process. And if user login system again, there will be 2 user login if you issue who command, and if you use ps -ef, and it will also show 2 process existed, both also active. But from ps -ef, or from ps -u, there will be 2 different process existed, and in fact there is only active, the earlier process is considered ran away and can be killed off. Those ran away processes, you will realised that the time will keep growing and it will create unnecessary load and slow down the system.
In normal circumstances, the system will only show 1 active user and processes may be have 2, so that i will know which is the active one and I can kill it off, but now our SunOS seems like having some problem in identifying.
Is there a command to show that which are the active process so that I can kill it off safely. Would appreciate any comment or advise from you.
Thank you and have a nice day.
Regards
T.W.Low