探索者的羽翼在线观看未删减完整版|人间**未删减版电影在线观看完整版|在线观看国产欧美|青在线视频,色戒电影完整版视频在线观看,芈月传电视剧全集在线观看免费版,奇米影音第四色

軟題庫(kù) 學(xué)習(xí)課程
試卷名稱
考試中心《》在線考試
試卷年份2006年上半年
試題題型【分析簡(jiǎn)答題】
試題內(nèi)容

閱讀以下說(shuō)明,回答問(wèn)題1至問(wèn)題8,將解答填入答題紙對(duì)應(yīng)的解答欄內(nèi)。
【說(shuō)明】(15分)
Linux系統(tǒng)開機(jī)引導(dǎo)時(shí)首先啟動(dòng)內(nèi)核,由內(nèi)核檢查和初始化硬件設(shè)備,載入設(shè)備的驅(qū)動(dòng)程序模塊,安裝root文件系統(tǒng),然后內(nèi)核將啟動(dòng)一個(gè)名為init的進(jìn)程。在init運(yùn)行完成并啟動(dòng)其它必要的后續(xù)進(jìn)程后,系統(tǒng)開始運(yùn)行,引導(dǎo)過(guò)程結(jié)束。init進(jìn)程啟動(dòng)時(shí)需要讀取inittab配置文件,該文件確定init在系統(tǒng)啟動(dòng)和關(guān)機(jī)時(shí)的工作特性。典型的inittab文件內(nèi)容見(jiàn)以下清單:
#
# inittab    This file describes how the INIT process should set up
#         the system in a certain run-level.
#
# Default runlevel. The runlevels used by RIdS are:
# 0 - halt (Do NOT set initdefault to this)
# 1 - Single user mode
# 2 - Multiuser, without NFS (The same as 3, ifyou do not have networking)
# 3 - Full multiuser mode
# 4 - unused
# 5 -X11
# 6 - reboot (Do NOT set initdefault to this)
#
id:5:initdefault:
# System initialization.
si::sysinit:/et~/rc.d/rc.sysinit
10:0:wait:/etc/rc.d/rc 0
11:1 :wait:/etc/rc.d/rc 1
12:2:wait:/etc/rc.d/rc 2
13:3 :wait’/ete/rc.d/re 3
14:4:wait:/etc/rc.d/rc 4
15:5:wait:/etc/rc.d/rc 5
16:6:wait:/et~/rc.d/rc 6
# Trap CTRL-ALT-DELETE
ca::ctrlaltdel:/sbin/shutdown -t3 -r now
# When our UPS tells us power has failed, assume we have a few minutes
# of power left. Schedule a shutdown for 2 minutes from now.
# This does, of course, assume you have powerd installed and your
# UPS connected and working correctly.
pf::poweffail:/sbin/shutdown -f-h +2 "Power Failure System Shutting Down"
# If power Was restored before the shutdoWn kicked in, cancel it.
pr: 12345:powerokwait:/sbin/shutdown-c "Power Restored; Shutdown Cancelled"
# Run gettys in standard mnlevels
1:2345:respawn:/sbin/mingetty tty 1
2:2345:respawn:/sbin/mingetty tty2
3:2345 :respawn:/sbin/mingetty tty3
4:2345:respawn:/sbin/mingetty try4
5:2345:respawn:/sbin/mingetty try5
6:2345:respawn:/sbin/mingetty try6
# Run xdm in runlevel 5
x:5 :respawn:/etc/X11/prefdm -nodaemon
【問(wèn)題1】(2分)
啟動(dòng)init進(jìn)程前,不需要經(jīng)過(guò)___(1)___步驟。
A.LILO加載內(nèi)核  B.檢測(cè)內(nèi)存  C.加載文件系統(tǒng)  D.啟動(dòng)網(wǎng)絡(luò)支持
【問(wèn)題2】(2分)
inittab文件存放在___(2)___目錄中。
A./etc      B./boot    C./sbin      D./root
【問(wèn)題3】(2分)
Linux系統(tǒng)運(yùn)行級(jí)別3 工作在___(3)___狀態(tài)。
A.單用戶字符模式
B.多用戶字符模式
C.單用戶圖形模式
D.多用戶圖形模式
【問(wèn)題4】(2分)
根據(jù)說(shuō)明中inittab文件的內(nèi)容,系統(tǒng)引導(dǎo)成功后,工作在___(4)___狀態(tài)。
A.單用戶字符模式
B.多用戶字符模式
C.單用戶圖形模式
D.多用戶圖形模式
【問(wèn)題5】(2分)
在系統(tǒng)控制臺(tái),___(5)___用Ctrl+Alt+Delete組合鍵來(lái)重新引導(dǎo)服務(wù)器。
A.允許      B.不允許
【問(wèn)題6】(2分)
假設(shè)root用戶執(zhí)行“init0”命令,系統(tǒng)將會(huì)___(6)___。
A.暫?!     .關(guān)機(jī)   C.重新啟動(dòng)     D.初始化
【問(wèn)題7】(2分)
root用戶執(zhí)行“psauxlgrepinit”’命令,得到init的PID是___(7)___。
A.0        B.1     C.2        D.3
【問(wèn)題8】(1分)
根據(jù)上述inittab文件的內(nèi)容,系統(tǒng)在引導(dǎo)過(guò)程結(jié)束前,至少還要執(zhí)行___(8)___進(jìn)程。
A.rC.sysinit
B.rC.sysinit 和 rc 5
C.rC.sysinit, rc0, rcl, rc2, rc3, re4, rc5和qlrc6
D.rc0, rcl, rc2, rc3, rc4, rc5和glrc6

查看答案

相關(guān)試題



更多試題