| Multi User Mode |
| ----------------------------------------------------------------------------- --------------- |
/ | / / | / | | | / | /
| | | | | | |
| Boot shutdown | | | | | |
| | | | | | |
| ________ | _________ / _ / ________ shutdown -h | |
| | Single User Mode | | | Shutdown -r
| | ---------------------------- | | | |
| | | | | | |
| | | | Reboot -h | | |
| | | | | | |
Reboot | _______ / _ / ______________ / _ / | |
| | | Halt State | | | |
| | | ------------------- | | | |
| | | | | | |
| | | Power Off | |
| | | | | | |
| ______ | | | _______ |
______________________ / _______________________________
| Power Off |
| ----------------------------------------------------------------------------- -------------- |
Ctrl b Enters the hardware program environment
CO returns the operating system
RS restart
Intert with PDC, when
1 Main guidance disk boot, use alternative kernel
2 main guidance disk damage, boot from backup disk
3 Guide from the installation medium, install the operating system
Interact with ISL, when
1 default core (/ stand / vmunix) cannot be booted
2 Guide to single user mode, not multi-user mode
3 forgot the root password
In the PDC
Boot normal start
Boot Pri ISL to ISL Interaction
ISL command
To multi-user mode HPUX boots to single user mode HPUX -IS
List the backup file HPUX LS in / stand
Specifies startup kernel hpux -is /stand/vmunix.prex
Display the auto file in LIF HPUX SHOW Autofile
Specify the default kernel HPUX SET AutoFile "HPUX /STAND/VMNUix.a"
Shutdown - RY 0 starts immediately
Reboot forcibly restart
Running level
0-level shutdown system
S-class single users, use Shoudown to enter
S-class single users, Vty accessible
Level 1 is similar to a single user, installing the file system, SYNCER is running
Level 2 multi-user
Level 3 CDE available, NFS available
Level 4 HP Vue available
View Run Level Who -r
Define the parameters of process init in / etc / inittab
Reconfigure the kernel
New core generation three files
Vmunix_test
DLKM.VMunix_Test
SYSTEM.SAM
Handmade upgrade kernel
1 Cp / Stand / System /Stand/system.prev
Cp /stand/build/system.sam stand / system
2 kmupdate / stand / build / vmunix_test
3 shutdown -ry 0
Don't use CP or MV to replace KMUPDATE
LSDEV lists the currently configured kernel driver
Sysdef lists the current kernel parameters
System_prep -s system generating kernel parameter file
KM_kernel -s ./system generated kernel / stand / build / vmunix_test
View kernel system
Kmsystem | grep -e nfs -e lan
System level changes, executive scripts in ascending order, S / K script naming habits S K = 1000,
There can be the same situation as SXXX, and at the same time start multiple services.