Thursday, September 29, 2016

Run levels in HPUX at a glance

Current run level in HPUX can be identified using below command : # who -r    .       run-level 3  Jan 19 21:14    3    0    S The out... thumbnail 1 summary
Current run level in HPUX can be identified using below command :


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


The output fields are :
1. A dot (.) indicates that the terminal has seen activity in the last minute and is therefore          ``current''.
2. Current run level
3. Timestamp
4. Current state of init
5. The number of times that state has been previously entered
6. The previous state

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 same as S only current terminal acts as system console.
1 indicates single user mode with local FS (RW) mounted
2 indicates multi user state with CDE launched
3 indicates same as 2 but with NFS
4 indicates GUI (here VUE started instead of CDE)
5,6 indicates reserved state and not yet defined in kernel code.



No comments

Post a Comment

Any thoughts?