- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Define a new run level
Categories
Company
Local Language
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Knowledge Base
Forums
Discussions
- Cloud Mentoring and Education
- Software - General
- HPE OneView
- HPE Ezmeral Software platform
- HPE OpsRamp
Knowledge Base
Discussions
Forums
Discussions
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
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-23-2007 06:58 PM
01-23-2007 06:58 PM
Please let me know how to define a new run level in HPUX ?
Thanks
Salman
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2007 07:36 PM
01-23-2007 07:36 PM
Re: Define a new run level
$ man init
rgs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2007 07:37 PM
01-23-2007 07:37 PM
Re: Define a new run level
$ man rc
rgs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2007 07:42 PM
01-23-2007 07:42 PM
Re: Define a new run level
i want to create a new run level named "z"
how shall i proceed ?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2007 07:51 PM
01-23-2007 07:51 PM
Re: Define a new run level
In HP-UX, the different runlevels have been classified as follows:
* 0 - system halted
* 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
* 1 - single-user with local filesystems mounted (read-write)
* 2 - multi-user with most daemons started and Common Desktop Environment launched
* 3 - multi-user, nearly identical to runlevel 2 with NFS exported
* 4 - multi-user with VUE started instead of CDE
* 5 - user-defined
* 6 - user-defined
I don't know if you can define a custom runlevel.
You may wish to use runlevel 5 or 6.
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2007 07:52 PM
01-23-2007 07:52 PM
Solutiontelinit
telinit, which is linked to /etc/init, is used to direct the actions
of init. It takes a one-character argument and signals init via the
kill system call to perform the appropriate action. The following
arguments serve as directives to init:
0-6 tells init to place the system in one of the run levels
0 through 6.
a, b, c tells init to process only those /etc/inittab file
entries having run level a, b, or c set.
Q or q tells init to re-examine the /etc/inittab file.
S or s tells init to enter the single user environment. When
this level change is effected, logical system console
/dev/syscon is changed to the terminal from which the
command was executed.
telinit can be invoked only by users with appropriate privileges.
rgs