- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Runlevels
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
Forums
Discussions
Discussions
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
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
08-09-2007 07:27 AM
08-09-2007 07:27 AM
What is the difference between
init s and init S? I have read the other the threads explaining the difference but i'm confused.Kindly explain the difference in simple terms.
Thanks.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2007 07:35 AM
08-09-2007 07:35 AM
Re: Runlevels
>>init s and init S?
Not much. They both take the system down to single-user mode.
If you were to do 'init S' (upper case S), then the serial terminal that initiates the command becomes the "console".
Have a read of the man page for init.
# man init
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2007 07:43 AM
08-09-2007 07:43 AM
Re: Runlevels
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2007 12:33 PM
08-09-2007 12:33 PM
Re: Runlevels
S or s Use for system administration (also known as "single-
user state"). When booting into run level S at powerup,
the only access to the system is through a shell
spawned at the system console as the root user. The
only processes running on the system will be kernel
daemons started directly by the HP-UX kernel, daemon
processes started from entries of type sysinit in
/etc/inittab, the shell on the system console, and any
processes started by the system administrator.
Administration operations that require the system to be
in a quiescent state (such as the fsck(1M) operation to
repair a file system) should be run in this state.
Transitioning into run level S from a higher run level
does not terminate other system activity and does not
result in a "single-user state"; this operation should
not be done.
WK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2007 03:37 PM
08-09-2007 03:37 PM
Re: Runlevels
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2007 05:46 PM
08-09-2007 05:46 PM
Re: Runlevels
init S - single-user, booted to system console only. In this case only root file system only will get mounted.
init s - This is also single user mode and almost similiar to init S, the only difference is that the current terminal acts as the system console .
Thanks ,
VInu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2007 11:02 PM
08-11-2007 11:02 PM
Re: Runlevels
Are you sure that in case of init s, the curret terminal acts as a system console? As far as i have understood:
init S-> The terminal acts as a console
init s-> Only one physical console.
Can you confirm the same and if i am wrong please correct me. Waiting for you reply.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2007 11:12 PM
08-11-2007 11:12 PM
Re: Runlevels
Quite a long list :-) just kidding. I visited the below link posted by Awadesh :
http://en.wikipedia.org/wiki/Runlevel#HP-UX
As per the infromation mentioned there, Vinu seems to be correct. According to Vinu:
S - single-user, booted to system console only, with only root filesystem mounted (as read-only)
s - single user, identical to S except the current terminal acts as the system console
Is the infromation about init s and init S mentioned fine?
Thanks. Awaiting reply from all of you and please keep the reply simple as i am new to this. Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2007 09:52 AM
08-12-2007 09:52 AM
SolutionWith HP-UX, it is just the opposite:
init s - the terminal attached to the console port is the console.
init S (upper case s) - the terminal that issued the command is the console. However, you should be aware that this will probably only work if the terminal is a SERIAL attached terminal. If you are connected via a network connection (ssh, telnet, etc.) then you will lose your connection since networking is stopped on the way down to single-user mode.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2007 04:04 PM
08-12-2007 04:04 PM
Re: Runlevels
Here is a link: (11.31)
http://docs.hp.com/en/B2355-60130/init.1M.html
(Unfortunately you'll have to look real close to find the differences.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-12-2007 10:07 PM
08-12-2007 10:07 PM
Re: Runlevels
Thanks for your replies. I have understood the following:
init s-> The terminal which is actually connected to the console port is the console.
Incase of init S:
init S-> The terminal from where the command is issued will act as a console.
I want to know the basic difference and i think this is is fine.
Thanks a lot everybody.... I will clode the thread in a few days...if you have any information do post it...
Thanks once again :-)
-Ashish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-16-2007 03:25 AM
08-16-2007 03:25 AM