Thanks Perderabo, I quite understand.
With my little knowledge, I thought that the warning sent before the kill signal was the message displayed by shutdown. That's why I was confused to see that this warning message was displayed exactly the same in both cases.
About my other question, do you have any clue?
I'd like to be have a command to reboot my server giving the other users 5 minuts to close their work in progress. How can I achieve something like:
Hai
Could somebody tell me the solution to my problem.
the question is as follows
there is one unix server and 100 dummy terminals connected to my server, i want to shutdown client system if some of the
client forgetten to power down their system.
plez provide me the code for that. (2 Replies)
Hello all
I'm trying to automate the startup/shutdown of my database whenever the OS is bounced ...
OS : Linux (Kernel : 2.4.20.-6)
Oracle : 9.2.0.5
The contents of /etc/init.d/dbora file is listed below
case "$1" in
'start')
su - $ORACLE_OWNER -c "$ORACLE_HOME/bin/dbstart"... (1 Reply)
Hello all -
On some of the systems we use - AlphaServer es40 Tru64 digital unix - you can login with the username: shutdown - with no password - and it shuts down the system gracefully. I've tried to trace what's going on in the system, but to no avail.
I've been searching the web, but... (1 Reply)
Hi Guys,
I want to execute few of my bash script, so that whenever someone calls shutdown now -r command, I want my script to execute first before shutting down.
Any help please?????
I've just started playing with the unix system, so far its been brilliant.... (10 Replies)
Firstly uname -a = UnixWare companyname 5 7.1.4 i386 x86at SCO UNIX_SVR5
Server is an HP Proliant ML350 G4 Tower
Right, now to the problem.
We frequently have power outtages and lightning strikes here due to our location in a VERY rural part of the UK.
As such, I need to be able to remotely... (6 Replies)
Hi,
I am on Alpha Server with HP Tru64 system.
I wish to setup shutdown to automatically and cleanly shutdown informix during the shutting down of the system.
Ie. I was trying to use rc0.d to do this but failed.
Has anyone tried doing this before? I already have the script and linked it
to... (0 Replies)
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)
Hi,
I'm testing out this plink script - which will be executed to shutdown multiple LPARs.
This consists from:
plink -i /path/ssh/cert/ root@host shutdown -F
plink -i /path/ssh/cert/ root@host2 shutdown -F
The commands gets executed, however it stops on one host, and does not move... (6 Replies)
Discussion started by: ollie01
6 Replies
LEARN ABOUT HPUX
reboot
reboot(1M)reboot(1M)NAME
reboot - reboot the system
SYNOPSIS
time] message]
time] message]
DESCRIPTION
The command terminates all currently executing processes except those essential to the system, then reboots the system, or halts, or makes
the partition ready for reconfiguration. When invoked without arguments, syncs all disks before rebooting the system.
Options
The command recognizes the following options:
Shut down the system and halt.
Shut down the system and reboot automatically (default).
Shut down the system to a ready-to-reconfigure state and reboot if possible.
If the partition is unable to reboot, it will stop at a ready-to-reconfigure state. However, if the option is also
specified, the system will always stop at ready-to-reconfigure state. This option is available only on systems that
support hardware partitions.
Shut down the system to a ready-to-reconfigure state and do not reboot.
This option can be used only in combination with the option. This option is available only on systems that support
hardware partitions.
Do not sync the file systems before shutdown.
The and options are ignored with this option.
Sync the file systems before shutdown;
for file systems that were cleanly mounted, modify the flag from to (default).
Quick and quiet.
Suppress broadcast of warning messages, terminate processes by brute force (with and immediately call with arguments
as indicated by the other options (see reboot(2)). No logging is performed. The and options are ignored with this
option.
Specify what time
will bring the system down. time can be the word (indicating immediate shutdown) or a future time in one of two for-
mats: and The first form brings the system down in number minutes; the second brings the system down at the time of
day indicated (based on a 24-hour clock).
Display message at the terminals of all users on the system at decreasing intervals as reboot time approaches. The message
must not contain any embedded double quotes.
At shutdown time a message is written in the file
(if it exists), containing the time of shutdown, who ran and the reason.
Only users with appropriate privileges can execute the command.
WARNINGS
does not invoke the shutdown scripts associated with subsystems to bring them down in a cautious manner. See shutdown(1M).
If the option is used in a virtual partition environment on a partitionable system, then the requested reconfiguration will not take place
until all the virtual partitions on that hard partition are shut down and the virtual partition monitor is rebooted.
AUTHOR
was developed by HP and the University of California, Berkeley.
FILES
Shutdown log
SEE ALSO vpartition(1), reboot(2), partition(5).
reboot(1M)