HP UNIX 系统关闭与启动 

2019-07-14 02:26发布

 |                 Multi user mode                                |       |----------------------------------------------------------------|        /|/          /|/         |             |              |      /|/         |            |          |             |              |       |         |          boot        shutdown       |              |       |         |            |          |             |              |       |         |    ________|_________/_/________   shutdown -h     |       |         |   |        single user mode    |    |              |     shutdown -r         |   |----------------------------|    |              |       |         |      |             |                |              |       |         |      |             | reboot -h      |              |       |         |      |             |                |              |       |     reboot     |     _______/_/______________/_/             |       |         |      |     |  Halt state       |                   |       |         |      |     |-------------------|                   |       |         |      |             |                               |       |         |      |             | power off                     |       |         |      |             |                               |       |         |______|             |                               |_______|       ______________________/_/________________________________________       |                power off                                      |       |---------------------------------------------------------------|                   Ctrl+B 进入硬件程序环境       co     返回操作系统       rs     重启             PDC互交,当         1 主引导磁盘引导,使用替代内核         2 主引导磁盘损坏,从备份盘引导         3 从安装介质引导,安装操作系统             ISL交互,当         1 默认内核(/stand/vmunix)不可引导         2 引导到单用户模式,而非多用户模式         3 忘了root密码             PDC         boot               正常启动         boot pri isl       ISL交互             ISL命令             到多用户模式                hpux                                 引导到单用户模式             hpux  -is                                  /stand中列出备份文件      hpux  ls       指定启动内核                hpux  -is /stand/vmunix.prex         显示LIF中的auto文件     hpux show autofile       指定默认内核           hpux set autofile "hpux /stand/vmnuix.a"                    shutdown - ry 0 立即启动       reboot          强行重启                   运行级别       0级    关闭系统       s级    单用户,使用shoudown进入       S级    单用户,VTY可访问       1级    类似于单用户,安装了文件系统,syncer在运行       2级    多用户       3级    CDE可用,NFS可用       4级    HP VUE可用             查看运行级别  who -r         /etc/inittab中定义了进程init的参数                    重新配置内核      新建内核生成三个文件        vmunix_test        dlkm.vmunix_test        system.SAM             手工升级内核        1  cp /stand/system  /stand/system.prev           cp /stand/build/system.SAM  stand/system         2 kmupdate  /stand/build/vmunix_test         3 shutdown -ry 0       不要使用cpmv替代kmupdate             lsdev  列出当前配置的内核驱动程序       sysdef 列出当前内核可配参数       system_prep -s system  生成内核参数文件       km_kernel -s ./system  生成内核/stand/build/vmunix_test             查看内核子系统       kmsystem | grep -e nfs -e lan                    系统级别改变,升序地执行脚本,S/K脚本命名习惯S+K=1000         可有SXXX相同的情况,此时同时启动多个服务