WHEN I LOG OFF IN A TELNET SECTION SOME PROSSESS SAYS ON EVEN WHEN I HAVE LOGED OFF. IF YOU HAVE HAD THIS TYPE OF PROBLE PLEASE ADVICE WHAT YOU HAVE DONE.
THANK YOU IN ADVANCE.
If the processes are running as cron, at, or nohup; then they shouldn't be tied to your tty... they won't go away until they finished doing what they are doing.
If you are using a terminal emulation (Tinyterm, Exceed, telnet.exe, etc), then exit all the way out -- don't just close the emulation program without logging all the way out.
Thank you But for what ever reson some processes still running even though we logged off all the way out.
If I see who is logged in I will find all users on even they have logged off all the way.
Have seen situations where people have logged off and still show up on the system. A good way to eliminate these ghosts is to zero out the following four files and reboot.
cat /dev/null > /etc/wtmp
"" /etc/wtmpx
"" /etc/utmp
"" /etc/utmpx
When one of these files gets corrupted it will eventually cause login problems; then you have to go into maintenance mode to clean it up.
I've seen this before too. I assume you are looking who is logged on with "who".
One thing you can do is do a "ps -t <tty>" where "<tty>" is the tty device returned by "who". e.g. "ps -t ttyp12". If no processes are returned then they are logged out.
Don't know why this is important to you. The only time I can imagine it will be of concern is if you are starting to run out of pseudo-terminals. When that happens just increase the max.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.