![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| 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 |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
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.. |
|
||||
|
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.. |
|
||||
|
Okay by me.
That tidbit of info was "off the record" from an HP tech. Enjoy! |
| Sponsored Links | ||
|
|