11. An administrator needs to change a system‘s run level from level 2 to
level 3. what is the appropriate method to accomplish this? A. Use the reboot command
B. Edit the /etc/rc.boot file and reboot the system C. Edit /etc/.init.state file and reboot the system D. Use the telinit command Answer: D 确定当前运行级别
在命令行中,输入下面的命令: # cat /etc/.init.state 2 #
系统将显示一个数字,即当前运行级别。 显示以前的运行级别的历史
使用 fwtmp 命令,您可以显示以前的运行级别的历史,如下所示:
1. 以 root 用户的身份登录。 2. 输入下面的命令,系统将显示与下面所示类似的信息: # /usr/lib/acct/fwtmp 更改系统运行级别
系当系统第一次启动时,它会进入 /etc/inittab 文件中的 initdefault 项所定义的缺省运行级别。系统会一直在该运行级别中运行,直到它收到一个更改运行级别的信号。您可以执行 lsitab 命令,以查看您的系统的缺省运行级别: # lsitab init init:2:initdefault: #
要更改运行级别,请执行下面的过程:
1. 检查 /etc/inittab 文件,以确认您将要改变到的运行级别是否支持您正在运行的进程。进程 getty 是很重要的,因为它可以控制系统控制台和其他登录的终端线路访问。确保 getty 进程在所有的运行级别中都可以运行。
2. 使用 wall 命令通知所有的用户,您将要改变系统运行级别,并要求这些用户退出系统。
3. 使用 telinit 命令(以您将要切换到的运行级别作为该命令的参数),例如:
# telinit M
12 . Under which of the following circumstances must a JFS filesystem
be used instead of a JFS2 filesystem? A. filesystem will contain 100GB files B.filesystem resides on a 32-bit system
C.filesystem contains a large number of small files D. filesystem compression is required Answer: D
13. An administrator received a call from a user whose PC crashed while
using vi to edit a file. The user wants the edited file back. Where should the administrator look for the file? A. /tmp
B. /var/preserve 存放已终止的 vi 会话 C. /var/tmp/$USER D. #HOME/.vi Answer: B
14. An administrator runs mktcpip aixhost 172.168.0.50 en0 to change the
network address, but the command hangs for an extended period of time. Which of the following is the most likely cause of the program?
A. ent0 is in a defined state B. en0 is currently active
C. There is no physical network adapter on the system D. The address 172.168.0.50 is in use by another system Answer: B
15. Which of the following commands restarts a TCP/IP subsystem that provides network services? A. refresh –s inetd B. refresh –s tcpip C. /etc/rc.tcpip efresh D. refresh –g inetd Answer: A
refresh:请求子系统或子系统组的刷新
inetd是监视一些网络请求的守护进程,其根据网络请求来调用相应的服务进程来处理连接请求
-s 指定要刷新的子系统。Subsystem 名称可以是实际的子系统名称或
Subsystem 者子系统的同义名称。如果 Subsystem 名称不包含在子系统对象类
中,refresh 命令失败。
1. 要刷新组,比如 tcpip,请输入:
refresh -g tcpip
2. 要刷新子系统,比如 inetd,请输入: refresh -s inetd
用refresh -s inetd或refresh -g tcpip
可以实现重启网络的目的
16. How can directory be excluded from a mksysb backup? A. Put an entry in the /etc/excluded.rootvg file B. Put an entry in the /etc/mksysb.exclude file
C. Remove the directory‘s entry from the mksysb /image.data file D. remove the directory‘s entry from the /var/adm/ras/bosinst.data file Answer: A
mksysb:在文件或可引导磁带上创建 root 卷组的可安装映像。
Note: If you want to exclude certain files from the backup, create the /etc/exclude.rootvg file, with an ASCII editor, and enter the patterns of file names that you do not want included in your system backup image. The patterns in this file are input to the pattern matching conventions of the grep command to determine which files will be excluded from the backup. If you want to exclude files listed in the /etc/exclude.rootvg file, select the Exclude Files field and press the Tab key once to change the default value to yes.
For example, to exclude all the contents of the directory called scratch, edit the exclude file to read as follows: /scratch/
For example, to exclude the contents of the directory called /tmp, and avoid excluding any other directories that have /tmp in the pathname, edit the exclude file to read as follows:
^./tmp/
Refer to the Installation Guide, \information.
17. How would an AIX administrator find information regarding smit menu definitions? A. Use ODM commands B. In the /smit.log file C. In the /etc/environment file D. In the /usr/lib/smit/menu.cfg file Answer: A
18. An administrator identified a problem with an AIX command and implemented a word-around. A call was made to IBM Support to report the problem. What severity level should the administrator choose? A. Crit-Sit B. Severity 1 C. Severity 2 D. Severity 3 Answer: D
19. An administrator needs to replace a failed internal disk in a mirrored rootvg. Which of the following is on of the steps that must be followed?