The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Operating Systems > HP-UX
.
google unix.com



HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
System Shutdown Warning Using SAM MINICooperS UNIX for Advanced & Expert Users 1 06-09-2009 04:12 AM
Transfer files from one location to another location KiranKumarKarre Shell Programming and Scripting 1 05-04-2009 03:57 AM
AIX warning message: 651-812: System shutdown due to linux.cao.ca AIX 6 04-02-2009 04:46 PM
copy files from one location to similar location pharos467 UNIX for Advanced & Expert Users 1 09-21-2008 12:21 PM
[ID 882636 kern.warning] WARNING: interrupt level 11 not serviced voxure SUN Solaris 9 01-30-2006 05:49 AM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 06-08-2009
MINICooperS MINICooperS is offline
Registered User
  
 

Join Date: Jun 2009
Posts: 11
Location Of SAM 5min Shutdown Warning

Posted this question in another segment by error, but here goes. Lost my notes on the location of the 5min shutdown warning when using SAM. I set my single user system to 0mins so I don't have to keep backspacing out the 5mins and changing it to 0mins.
Thanks

(Located my old notes by accident, see below if interested)

Last edited by MINICooperS; 06-15-2009 at 12:38 AM..
  #2 (permalink)  
Old 06-09-2009
vbe's Avatar
vbe vbe is offline Forum Staff  
Moderator
  
 

Join Date: Sep 2005
Location: Switzerland - GE
Posts: 1,546
Are you talking of SAM in HP-UX?
Why would someone use sam to shutdown the system, when so easy in command line ?
I know how to in command line ...

And Using sam ->routine task->shutdown takes quite more time...

maybe in /var/sam/rt?
quite sure its in /var/sam somewhere...
  #3 (permalink)  
Old 06-15-2009
MINICooperS MINICooperS is offline
Registered User
  
 

Join Date: Jun 2009
Posts: 11
Immediate System Shutdown Notes: via SAM in HP-UX (from an old HP friend)
From a terminal window (have to cd out of mounted filesystems first to "/" directory) by entering
'shutdown -hy 0' (or /usr/sbin/shutdown -hy 0 if /usr/sbin not in path but should be for root) as this is the quickest way for me. If you want to change Sam's user interface for a default then the only way that I have discovered to do it is to edit the rt_restart.ui --- they have the value hard-coded into the the file. Not really recommended as this was not meant to be user configurable, but it's your system.
So if you wish you can edit
/usr/sam/lib/C/rt_restart.ui
and go down towards the end of the file inside the block labeled
text_edit rt_restart_te_time
and change the line that reads
default "5"
to
default "0"

A third option would be to bring up Sam
Click on Actions on the top toolbar -> Add Custom Application
Then when the popup comes up
Label: add something you like like "Immediate Shutdown"
Command: /usr/sbin/shutdown -hy 0
leave the rest as is and click OK.
Now you should have an icon that you can click on to execute the shutdown -- the
only gotcha with this is that you'll have to be in the "/" directory when you start
SAM for it to work.

Last edited by MINICooperS; 06-15-2009 at 12:47 AM..
  #4 (permalink)  
Old 06-15-2009
vbe's Avatar
vbe vbe is offline Forum Staff  
Moderator
  
 

Join Date: Sep 2005
Location: Switzerland - GE
Posts: 1,546
Ah...So it wasnt something standard (and so unsupported ...)

Thanks for sharing!


All the best

-----Post Update-----

If you dont mind I will move the thread to HP-UX forum where it will be more helpfull...
  #5 (permalink)  
Old 06-15-2009
MINICooperS MINICooperS is offline
Registered User
  
 

Join Date: Jun 2009
Posts: 11
Okay by me.
That tidbit of info was "off the record" from an HP tech.
Enjoy!
Sponsored Links
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 06:32 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language translation by Google.
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0