- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- run level init 6
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-26-2007 04:54 PM
тАО03-26-2007 04:54 PM
run level init 6
Can anyone explain about init 6
or which is the best site to collect the information about init 6
Thanks
Prashant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-26-2007 05:06 PM
тАО03-26-2007 05:06 PM
Re: run level init 6
Never used run level 6 or saw it running in production environment. Yet to see...
Do a man init
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-26-2007 05:29 PM
тАО03-26-2007 05:29 PM
Re: run level init 6
0-6 init enters the corresponding run level. Run levels 0, 5, and 6 are reserved states for shutting the system down. Run levels 2, 3, and 4 are available as multi-user operating states.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-26-2007 05:45 PM
тАО03-26-2007 05:45 PM
Re: run level init 6
5-6 These states are available for user-defined operations.
--------------------------------------------
Found below for Sun Solaris SunOS 5.8
Maintenance Commands init(1M)
0-6 init enters the corresponding run level. Run levels 0, 5, and 6 are reserved states for shut-ting the system down.
Run levels 2, 3, and 4 are available as multi-user operating states.
Which the best site or more info other than ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-26-2007 05:49 PM
тАО03-26-2007 05:49 PM
Re: run level init 6
Run levels 0, 1 and 6 are reserved. Runlevel 0 is used to
halt the system, runlevel 6 is used to reboot the system
and runlevel 1 is used to get the system down into single
user mode. Runlevel S is not really ment to use directly,
but more for the scripts that are executed when entering
runlevel 1.For more information on this, see the manpages
for shutdown(1) and inittab(5).
Runlevels 7-9 are also valid, though not really docu-
mented. This is because "traditional" Unix variants don't
use them. In case you wonder, runlevels S and s are in
fact the same. Internally they are aliases for the same
runlevel - this is just a leftover from the systems the
author used to use when writing sysvinit.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-26-2007 06:04 PM
тАО03-26-2007 06:04 PM
Re: run level init 6
Init commands widely used on Solaris env. HP does not recommend to use the init. The recommended is to use shutdown with different options as per your situation.
If you go to sbin dir and look for the dirs you can understand the difference. The system startup (S??) and shutdown (K??) (and runtime) scripts are bit different than Linux and Solaris.
# pwd
/sbin
# ls -ld rc?.*
dr-xr-xr-x 2 bin bin 96 May 18 1998 rc0.d
dr-xr-xr-x 2 bin bin 2048 Jan 5 1999 rc1.d
dr-xr-xr-x 2 bin bin 2048 May 18 2002 rc2.d
dr-xr-xr-x 2 bin bin 96 Nov 23 1998 rc3.d
dr-xr-xr-x 2 bin bin 96 Jun 10 1996 rc4.d
# cd rc4.d
# ll
total 0
#
Regards,
Rasheed Tamton.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-26-2007 09:19 PM
тАО03-26-2007 09:19 PM
Re: run level init 6
is common (shorthand) idiom on Solaris and Linux to reboot the machine (with init scripts being executed on those OS).
However, on HP-UX it isn't recommended.
# shutdown -g0 -i6 -y (Solaris)
or
# shutdown -r now (Linux)
are much too long ;-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-26-2007 11:15 PM
тАО03-26-2007 11:15 PM
Re: run level init 6
Runlevel 6 is use for reboot a machine. it is equivalent to ..
#shutdown -yr 0 (HP Unix)
But, in HP Unix, there is no runlevel 6.
Cheers;
Indrajit Roy