- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Run level S vs. run level s
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
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
01-29-2002 06:49 AM
01-29-2002 06:49 AM
What is a difference between Run Levels S and s?
I've noticed that HP-UX's behavior is not as specified for RL S and s.
PLSE advise.
BR,
DGS
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2002 06:55 AM
01-29-2002 06:55 AM
Re: Run level S vs. run level s
S|s
Enter the single-user environment. When this level change occurs, the logical system console /dev/syscon is changed to the terminal from which the command was executed.
And even more from the man page:
0
Shut down HP-UX.
S|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.
1
Start a subset of essential system processes. This state can also be used to perform system administration tasks.
2
Start most system daemons and login processes. This state is often called the "multi-user state". Login processes either at local terminals or over the network are possible.
3
Export filesystems and start other system processes. In this state NFS filesystems are often exported, as may be required for an NFS server.
4
Activate graphical presentation managers and start other system processes.
5-6
These states are available for user-defined operations.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2002 06:57 AM
01-29-2002 06:57 AM
Re: Run level S vs. run level s
Run level s is a single-user run level and is used for system administration-related tasks. Only one physical system console can be used. The daemons available in this run level are those started by "init" having the "sysinit" keyword in the /etc/inittab file and any other daemon started directly by the HP-UX kernel. Run level S is just like s except that the terminal you are logged into acts as the system console.
Best,
Bob Trombley
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2002 07:01 AM
01-29-2002 07:01 AM
Re: Run level S vs. run level s
Both S and s are single user states, but (if I've got this the right way round) run level S has the file systems mounted.
Hilary
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2002 07:10 AM
01-29-2002 07:10 AM
Re: Run level S vs. run level s
The predefined run-levels for HP-UX 10.x are as follows:
0 Halted or reboot level, All kill (K) and start (S) scripts in
/sbin/rc.0.d are executed.
S Single user state. All kill and start scripts on /sbin/rc.0.d
are executed.
1 Boot time system configuration. Necessary system configuration
is done at this state. (For example: assignment of the hostname,
mount of disk file systems, performing software configuration)
All kill and start scripts on /sbin/rc.1.d are executed.
2 Typically called multi-user state. Allows users to access the
system. All kill and start scripts on /sbin/rc.2.d are executed.
3 Networked multi-user state. NFS file systems can be exported.
All kill and start scripts on /sbin/rc.3.d are executed.
4 For HP-VUE users. All kill and start scripts on /sbin/rc.4.d
are executed.
5 Not defined.
6 Not defined.
there is no different between S and s
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2002 09:22 PM
01-29-2002 09:22 PM
Re: Run level S vs. run level s
But if you enter init S, it will also bring the system into single user, but it will not terminate you telnet session.
Try it on a test box!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2002 11:47 PM
01-29-2002 11:47 PM
Re: Run level S vs. run level s
But does it mean that the only meaningful way of entering Run Level S|s is booting at powerup?
And what about changing to the logical system console?
BR,
DGS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2002 06:38 PM
01-30-2002 06:38 PM
Re: Run level S vs. run level s
This is my 1st comment in ITRC. Pl. find my comments below:
Run Level "s"
-------------
Special run-level reserved for System administration.Referred to as single-user run-level meaning it???s reserved for a single user (typically system administrator).
Run Level "S"
-------------
This is Similar to run-level ???s???.In run-level ???s??? only the physical system console has access to the operating system, whereasIn run-level ???S??? (uppercase S) the capabilities of the system console are switched to the terminal where you are logged in, thus making it the virtual system console.
Should you require any further clarification on this, pl. feel free to email me.
Cheers,
Sanjay Verma
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2002 01:18 AM
01-31-2002 01:18 AM
Re: Run level S vs. run level s
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2002 01:27 AM
01-31-2002 01:27 AM
Re: Run level S vs. run level s
According to init man page: "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." (See Patrick Wallek's note).
When entering RL S "from bottom up" ("from top down" approach doesn't make sense here) is it possible to have a system console to be switched from physical terminal to virtual?
BR,
DGS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2002 04:42 AM
01-31-2002 04:42 AM
Solutionshutdown 0 used to be the method of choice as it would truly shutdown the system, bypass hardware selftests and reboot into true single user mode. Alas, changes have been made to where now (10.20 and higher), shutdown 0 no longer guarentees true single user mode.
So the only way to get into single used mode is to interrupt the boot process and use: hpux -is
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2002 06:34 AM
01-31-2002 06:34 AM
Re: Run level S vs. run level s
That's what I've suspected %{
BR,
DGS