Location Of SAM 5min Shutdown Warning


 
Thread Tools Search this Thread
Operating Systems HP-UX Location Of SAM 5min Shutdown Warning
# 1  
Old 06-08-2009
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 01:38 AM..
# 2  
Old 06-09-2009
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  
Old 06-15-2009
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 01:47 AM..
# 4  
Old 06-15-2009
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  
Old 06-15-2009
Okay by me.
That tidbit of info was "off the record" from an HP tech.
Enjoy!
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Using awk to Summarize Log File in 5min Intervals

I have huge log file that taken every minute and I need the total at 5min intervals. Sample log: #timestamp(yyyymmddhhmm);result;transaction 201703280000;120;6 201703280001;120;3 201703280002;105;3 201703280003;105;5 201703280004;105;5 201703280005;105;4 201703280006;120;2... (2 Replies)
Discussion started by: wwolfking
2 Replies

2. Shell Programming and Scripting

How to find a existing file location and directory location in Solaris box?

Hi This is my third past and very impressed with previous post replies Hoping the same for below query How to find a existing file location and directory location in solaris box (1 Reply)
Discussion started by: buzzme
1 Replies

3. UNIX for Advanced & Expert Users

Round up time to 5min

Hi, I have a data like Date Time Pulse 04/02/2012 00:01:05 2 04/02/2012 00:01:48 5 04/02/2012 00:02:09 3 04/02/2012 00:03:19 4 04/02/2012 00:04:40 1 04/02/2012 00:04:45 9 04/02/2012 00:05:15 15 04/02/2012 00:05:48 9 04/02/2012 00:06:49 12 04/02/2012 00:07:00 19 04/02/2012 00:07:45 1... (4 Replies)
Discussion started by: aniketdixit
4 Replies

4. Shell Programming and Scripting

File created in a different location instead of desired location on using crontab

Hi, I am logging to a linux server through a user "user1" in /home directory. There is a script in a directory in 'root' for which all permissions are available including the directory. This script when executed creates a file in the directory. When the script is added to crontab, on... (1 Reply)
Discussion started by: archana.n
1 Replies

5. UNIX for Dummies Questions & Answers

Script to force Oracle database shutdown when shutdown immediate does not work

I have Oracle 9i R2 on AIX 5.2. My Database is running in shared server mode (MTS). Sometimes when I shutdown the database it shutsdown cleanly in 4-5 mints and sometimes it takes good 15-20 minutes and then I get some ora-600 errors and only way to shutdown is by opening another session and... (7 Replies)
Discussion started by: aixhp
7 Replies

6. UNIX for Advanced & Expert Users

System Shutdown Warning Using SAM

Bump to questions thread, thanks. (1 Reply)
Discussion started by: MINICooperS
1 Replies

7. AIX

AIX warning message: 651-812: System shutdown due to

Hi Gurus, One of my old server running AIX 4.3.2. One member of admin group account keeps getting warning message for days as below. From errpt log I couldn't find any clue related to this warning message. What I can say is this message shows up a few days after we did a disk change. My... (6 Replies)
Discussion started by: linux.cao.ca
6 Replies

8. UNIX for Dummies Questions & Answers

warning message in SAM

On running ‘Disk Devices’ tools under ‘Disks and File Systems’ option of System Administration Manager (SAM) in our UNIX Server (HP 9000 running HPUX B.11.11 U) a warning message appeared. The message that appeared reads as follows “The Logical Volume Manager shows this device file,... (3 Replies)
Discussion started by: mhbd
3 Replies
Login or Register to Ask a Question