1833402 Members
3190 Online
110052 Solutions
New Discussion

Terminal Window Hangs

 
sai.prashant
Occasional Advisor

Terminal Window Hangs

Hello All,
The system desktop terminal of HP Unix 11.0 Workstation hangs in between when the user's are working. We can telnet and check the various status and can clear /var/tmp to create some space in /var. But doing so also doen't solve the purpose untill we finally reboot the system.
Please help me out in handling these situations with the commands i have to use, What fields i need to check and what process to kill

Thanks,
Sai
5 REPLIES 5
Kent Ostby
Honored Contributor

Re: Terminal Window Hangs

Sai --

I'm a bit confused as to whether or not you have a SYSTEM hang or TERMINAL hang.

If you have a terminal hang (likely since you're saying that you can telnet in), you can do a ps -ef | grep console (if its using the /dev/console port) and kill the shell (or just look at what the shell's doing).

If you are using a hard wired console such as the 700/92 700/96, you can reset the console by holding down the D key and powering down the console while continuing to hold the "D" key for a count of 8.

Release the "D" key and hit return whe the message "Default configs used, press return to continue appears." . This will fix the problem if the hang is in the console HW.

Best regards,

Kent M. Ostby
"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"
sai.prashant
Occasional Advisor

Re: Terminal Window Hangs

It's not the system that is hanging, bcoz if the system hangs then how can i telnet to it.
It will of help too if you can provide me procedure or commands and lookup even when the system hangs.

Thanks,
Sai
Steve Steel
Honored Contributor

Re: Terminal Window Hangs

Hi


That is not what was said


1)Do you have a grapgical or Ascii console on this machine.


2)If graphical then do you see errors in /var/dt/Xerrors

3)If Ascii terminal then

ps -ef|grep -i console

Probably a process locks the console


What do the users do on the console.


What do you mean by hang

can do nothing or cannot log in.


steve Steel-
If you want truly to understand something, try to change it. (Kurt Lewin)
Dave Unverhau_1
Honored Contributor

Re: Terminal Window Hangs

Sai,

Are you talking about the terminal window in a CDE user session hanging?

Which version of HP-UX are you running, and what kind of workstation is it?

Did this problem just crop up on a working system? Was any software recently changed (patches applied or removed)?

Best Regards,

Dave
Romans 8:28
Chris Wilshaw
Honored Contributor

Re: Terminal Window Hangs

You say that you can clear /var/tmp to create space in /var

By this, do you mean that when the problem shows up, /var is always 100% full? If so, you (or your application developers) need to look at what is using all the space in /var/tmp

You could also check the sizes of files in;
/var/adm/syslog
/var/mail
/var/adm/cron
/var/adm/crash