02-17-2010
reboot? shouldn't it be the same command , init 6 or shutdown command to reboot ldoms?
7 More Discussions You Might Find Interesting
1. AIX
Hi All!
My db2 is started in the AIX /etc/inittab on systemreboot as follows
db3:2:once:su - db2inst3 -c db2start >/dev/console 2>1
I changed the .profile of db2inst3 to put an alias to the db2start command as follows
alias db2start="/usr/bin/ksh /home/db2inst3/sample/db2start.ksh"
When... (1 Reply)
Discussion started by: voorkey
1 Replies
2. Solaris
Hi Guru's
Can any want here could explain to me the different between soft reboot and hard reboot .
Best Regards
Seelan (3 Replies)
Discussion started by: seelan3
3 Replies
3. Solaris
Hi,
Can someone explain in detail what 'uptime' ,'last reboot' and 'who -b' commands do in solaris.
this commands are not executing in every solaris box. why this is happening. Has solaris got some inbuilt commands into it. If yes then where i have found them?
Thanks,Soubhik (6 Replies)
Discussion started by: soubmukh
6 Replies
4. Shell Programming and Scripting
Can someone help me to convert the date format after get it from the "LAST REBOOT" command.
these is the standard output.
bash-3.00# last reboot
reboot system boot Fri Aug 6 15:07
reboot system down Fri Aug 6 15:04
reboot system boot ... (3 Replies)
Discussion started by: pichitw
3 Replies
5. Solaris
Hi
What are all the command outputs we have to note and keep it for safe before rebooting or shutting down a solaris box (5 Replies)
Discussion started by: newtoaixos
5 Replies
6. Shell Programming and Scripting
This is probably a simple question, but I'm new with writing scripts for Linux (IPFire in this case) and Google wasn't helpful with this.
When creating a script, what is the best and/or proper way to have it exit automatically if the reboot or shutdown command is given? If that's even... (2 Replies)
Discussion started by: bartgrefte
2 Replies
7. Solaris
Hi People,
I have been trying to learn solaris ldoms, have created one on a T2000 and get the following error when try to install it off DVD
WARNING: /virtual-devices@100/channel-devices@200/disk@1: Communication error with Virtual Disk Server using Port 0. Retrying
If anyone could help... (8 Replies)
Discussion started by: callmebob
8 Replies
reboot(8) System Manager's Manual reboot(8)
NAME
reboot, halt, poweroff - reboot or stop the system
SYNOPSIS
reboot [OPTION]...
halt [OPTION]...
poweroff [OPTION]...
DESCRIPTION
These programs allow a system administrator to reboot, halt or poweroff the system.
When called with --force or when in runlevel 0 or 6, this tool invokes the reboot(2) system call itself and directly reboots the system.
Otherwise this simply invokes the shutdown(8) tool with the appropriate arguments.
Before invoking reboot(2), a shutdown time record is first written to /var/log/wtmp
OPTIONS
-f, --force
Does not invoke shutdown(8) and instead performs the actual action you would expect from the name.
-p, --poweroff
Instructs the halt command to instead behave as poweroff.
-w, --wtmp-only
Does not call shutdown(8) or the reboot(2) system call and instead only writes the shutdown record to /var/log/wtmp
--verbose
Outputs slightly more verbose messages when rebooting, useful for debugging problems with shutdown.
ENVIRONMENT
RUNLEVEL
reboot will read the current runlevel from this environment variable if set in preference to reading from /var/run/utmp
FILES
/var/run/utmp
Where the current runlevel will be read from; this file will also be updated with the runlevel record being replaced by a shutdown
time record.
/var/log/wtmp
A new runlevel record for the shutdown time will be appended to this file.
AUTHOR
Written by Scott James Remnant <scott@netsplit.com>
REPORTING BUGS
Report bugs at <https://launchpad.net/upstart/+bugs>
COPYRIGHT
Copyright (C) 2009 Canonical Ltd.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICU-
LAR PURPOSE.
SEE ALSO
shutdown(8) telinit(8) runlevel(8)
Upstart 2009-07-09 reboot(8)