chkconfig --list oradbstart
运行结果:
oradbstart 0:off 1:off 2:off 3:on 4:on 5:on 6:off
注:根据上面的运行结果,当相应的运行级别为on时(例如:5:on),在对应的/etc/rc.d/rcN.d(例如:和5:on对应的是:/etc/rc.d/rc5.d)下面会生成一个文件:S99oradbstart,使用vi S99oradbstart打开该文件,可以看到该文件的内容和/etc/rc.d/init.d/oradbstart内容相同,表示配置成功
最后重启操作系统测试。