Operating System - HP-UX
1833329 Members
3060 Online
110051 Solutions
New Discussion

what is the command to halt the system arbitrary in HP-UX?

 
julie_53
Occasional Advisor

what is the command to halt the system arbitrary in HP-UX?

As we know, this is a command "stop+A" in solaris to halt the system arbitrary . Is there a similar command in HPUX to halt the system arbitrary?
15 REPLIES 15
Robert-Jan Goossens
Honored Contributor

Re: what is the command to halt the system arbitrary in HP-UX?

No, there is no simular command in HPUX

STOP+A will hold the kernel and gives you an OK> prompt on solaris.

On the other hand, you can acces the GSP with Ctrl+B and run re to reset the system.

Depends a bit on what you would like do.

Hope this helps,
Robert-Jan
Alessandro Pilati
Esteemed Contributor

Re: what is the command to halt the system arbitrary in HP-UX?

A more difficult solution could be a program that intercepts the keyboard interrupts and when detects a particular sequence, does an action.
But natively there is noting similar to solaris STOP-A on a running hpux system.

Regards,
Alex
if you don't try, you'll never know if you are able to
julie_53
Occasional Advisor

Re: what is the command to halt the system arbitrary in HP-UX?

Thanks, Robert. I just want to know if the system hang, how can I do?
Ranjith_5
Honored Contributor

Re: what is the command to halt the system arbitrary in HP-UX?

Logon to GSP.

MP login: Admin
MP password:

* Your connection is via Telnet. For improved security this MP *
* now supports SSH-2. Telnet can be disabled via the SA command. *

(c)Copyright 2000 Hewlett-Packard Co., All Rights Reserved.

Welcome to
Superdome's Management Processor


Utility Subsystem FW Revision Level: 15.14



MP MAIN MENU:

CO: Consoles
VFP: Virtual Front Panel
CM: Command Menu
CL: Console Logs
SL: Show Event Logs
FW: Firmware Update
HE: Help
X: Exit Connection
MP> CM

Enter HE to get a list of available commands

(Use ^B to return to main menu.)



MP:CM>TC

TC command will reset the server with a crash dump which you can analyse later for troubleshooting.


Regards,
Syam
Robert-Jan Goossens
Honored Contributor

Re: what is the command to halt the system arbitrary in HP-UX?

typo from gsp rs to reset and tc to reset the server with a crash dump.

Thanks Syam.
julie_53
Occasional Advisor

Re: what is the command to halt the system arbitrary in HP-UX?

thanks syam and Robert. But I found sometime when the system is hanging, such as IP address is not correct, the system can not boot up and when I type "Ctrl+B", the system is no response. and I have to push "TOC" button to restart the server. by the way, my server is HP9000/k380
Robert-Jan Goossens
Honored Contributor

Re: what is the command to halt the system arbitrary in HP-UX?

Yes on a K-class the only option would be to use the TOC button.

Best regards,
Robert-Jan
Ranjith_5
Honored Contributor

Re: what is the command to halt the system arbitrary in HP-UX?

Hi Julie,

Do you have any lan console port on your server? If yes configure IP to that and you can access the console through that. there is no reason for console getting hung during bootup. Any way if the system seems to be hanging during the service startups, you can do a CTRL & \ key combination to bipass the problem."^\"

Regards,
Syam
julie_53
Occasional Advisor

Re: what is the command to halt the system arbitrary in HP-UX?

so in that situation, for example, if the IP address is not corret, and the server can not boot up. I have to push the "TOC" button and then "break" when the system is in booting process. And then I can get a login console and can log in and do modification with the ip address and reboot the system. Am I right?
Ranjith_5
Honored Contributor

Re: what is the command to halt the system arbitrary in HP-UX?

Jullie,

IP address problem shouldnt affect your system booting.

Regards,
Syam
Robert-Jan Goossens
Honored Contributor

Re: what is the command to halt the system arbitrary in HP-UX?

in case of a bad ip you should have control over your server using the console.

http://www5.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000080061947

Above doc describes all possible toc on various hp/9000 servers.

Regards,
Robert-Jan
julie_53
Occasional Advisor

Re: what is the command to halt the system arbitrary in HP-UX?

Syam, it is a old machine. I think it has not lan console port and it's keyboard is connect to console. I will test "^\" command next time. thank syam !
julie_53
Occasional Advisor

Re: what is the command to halt the system arbitrary in HP-UX?

Thanks Robert and Syam ! your information is really very helpful to me!
Torsten.
Acclaimed Contributor

Re: what is the command to halt the system arbitrary in HP-UX?

Hi Julie,

btw, the CTRL B key combination on a K-class is available, when the key (power) switch on the front side of the box is in position "service".

T.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Bill Hassell
Honored Contributor

Re: what is the command to halt the system arbitrary in HP-UX?

The K-series computers have no separate LAN connection for the processor ROMs. You must access the console using a 'real' terminal or connect a PC with an emu;ator to the console port. CTRL-B *only* works on the console port and *only* works when the keyswitch is turned all the way (clockwise) to the right. You can always login from the console as lomg as the system is still running.

Once you type CTRL-B, you'll see a CM> prompt which comes from the processor ROMs. But from this prompt, you are disconnected HP-UX. You have access to commands like RS (reset and reboot), TC (transfer of control to produce a total memory dump), CO to get back to HP-UX.


Bill Hassell, sysadmin