• Home
  • Disclaimer
  • Contact
  • Archives
  • About
  • Subscribe
  • Support
  • Advertise

Kernel Talks

Unix, Linux, & Cloud!

  • How-to guides
    • Howto
    • Disk management
    • Configurations
  • OS
    • HPUX
    • Linux
  • Commands & tools
    • Commands
    • Software & Tools
    • System services
  • Cloud computing
    • AWS CSA preparation guide!
    • Cloud Services
  • Tips & Tricks
  • Linux commands
You are here: Home / HPUX

Run levels in HPUX at a glance

Published: September 29, 2016 | Modified: June 20, 2020 | 490 views



Learn the list of different run levels in HPUX and their roles. Also, see how to check the current run level in which the system is running.

A run level is the state of a system depending on which system services will spawn. Normally lower run levels are having fewer services available for the user and mainly used for administrative purposes. Higher levels have more services available and targets end user’s use. In HPUX highest run levels like 5 and 6 are kept reserved for future purposes. We will see the list of run levels and their offerings in the following article.

Current run level in HPUX can be identified using the below command :

# who -r
   .       run-level 3  Jan 19 21:14    3    0    S

The output fields of the above commands are as below:
1. A dot . indicates that the terminal has seen activity in the last minute and is therefore its. i.e. current.
2. Current run-level
3. Timestamp
4. The current state of init
5. The number of times that state has been previously entered
6. The previous state

Read also: Different usage of ‘who’ command.

List of run levels in HPUX

0 indicates shutdown state
S indicates single user mode booted to local console only with root FC (RO) mounted
s indicates the same as S only current terminal acts as system console.
1 indicates the single-user mode with local FS (RW) mounted
2 indicates multi-user state with CDE launched
3 indicates the same as 2 but with NFS
4 indicates GUI (here VUE started instead of CDE)
5,6 indicates reserved to state and not yet defined in kernel code.

⇠ Previous article
How to restart NFS in HPUX
Next article ⇢
HPUX boot process

Related stuff:

  • Get list of desired LUN id from powermt output
  • HPUX Patch naming conventions
  • Adding extra or secondary swap in HPUX
  • Howto get Disk serial number in HPUX
  • LVM commands tutorial : Part 2 : Volume group (vgextend, vgreduce, vgexport, vgimport)
  • How to get boot path of vpmon in HPUX
  • File encryption / password protect file in HPUX
  • Understanding /etc/hosts file
  • Understanding /etc/fstab file
  • Logs under /var/stm/logs/os in HPUX
  • cut command and its examples
  • sar command (Part III) : Disk, Network reporting

Filed Under: HPUX Tagged With: How to check current run level, How to identify run level, hpux, list of run levels, Run levels in HPUX

If you like my tutorials and if they helped you in any way, then

  • Consider buying me a cup of coffee via paypal!
  • Subscribe to our newsletter here!
  • Like KernelTalks Facebook page.
  • Follow us on Twitter.
  • Add our RSS feed to your feed reader.

Share Your Comments & Feedback: Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Get fresh content from KernelTalks

  • Email
  • Facebook
  • RSS
  • Twitter

Popular posts

  • How to start, stop & restart MariaDB server in Linux
  • How to rescan disk in Linux after extending VMware disk
  • How to reset iptables to the default settings
  • 4 ways to check the size of physical memory (RAM) in Linux
  • How to list YUM repositories in RHEL / CentOS
  • mount.nfs: requested NFS version or transport protocol is not supported
  • How to configure login banners in Linux (RedHat, Ubuntu, CentOS, Fedora)
  • How to remount filesystem in the read-write mode under Linux
  • MobaXterm X11 proxy: Authorisation not recognised
  • How to setup domain name in Linux server

Get Linux & Unix stuff right into your mailbox. Subscribe now!

* indicates required

This work is licensed under a CC-BY-NC license · Privacy Policy
© Copyright 2016-2020 KernelTalks · All Rights Reserved.
The content is copyrighted to Shrikant Lavhate & can not be reproduced either online or offline without prior permission.