单选题A typical example of a process # 19082 in the /proc file would be:      # ls -l /proc/19082      total 0   dr-xr-xr-x  1  root system 0    Sep 15  15:12  .      dr-xr-xr-x  1  root system 0    Sept 15 15:12  ..      -rw-------  1  root system 0    Sept

题目
单选题
A typical example of a process # 19082 in the /proc file would be:      # ls -l /proc/19082      total 0   dr-xr-xr-x  1  root system 0    Sep 15  15:12  .      dr-xr-xr-x  1  root system 0    Sept 15 15:12  ..      -rw-------  1  root system 0    Sept 15  15:12 as       -r--------  1  root system 128  Sept 15  15:12 cred      --w-------  1  root system 0    Sept 15  15:12 ctl      dr-xr-xr-x  1  root system 0    Sept 15  15:12 lwp      -r--------  1  root system 0    Sept 15  15:12 map      dr-x------  1  root system 0    Sept 15  15:12 object      -r--r--r--  1  root system 448  Sept 15  15:12 psinfo     -r--------  1  root system 1024 Sept 15  15:12 sigact      -r--------  1  root system 1520 Sept 15  15:12 status      -r--r--r--  1  root system 0    Sept 15  15:12 sysent   Writing to which of the following files will allow the owner to stop a process?()
A

 status

B

 sysent

C

 ctl

D

 as

如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

Which two commands are used during the password recovery process?()

A. clear system login

B. boot -s

C. recovery

D. delete system root-authentication


参考答案:B, C

第2题:

Atypicalexampleofaprocess#19082inthe/procfilewouldbe:

#ls-l/proc/19082

total0

dr-xr-xr-x1rootsystem0Sep1515:12.

dr-xr-xr-x1rootsystem0Sept1515:12..

-rw-------1rootsystem0Sept1515:12as

-r--------1rootsystem128Sept1515:12cred

--w-------1rootsystem0Sept1515:12ctl

dr-xr-xr-x1rootsystem0Sept1515:12lwp

-r--------1rootsystem0Sept1515:12map

dr-x------1rootsystem0Sept1515:12object

-r--r--r--1rootsystem448Sept1515:12psinfo

-r--------1rootsystem1024Sept1515:12sigact

-r--------1rootsystem1520Sept1515:12status

-r--r--r--1rootsystem0Sept1515:12sysent

Writingtowhichofthefollowingfileswillallowtheownertostopaprocess?()


参考答案:C

第3题:

If the square root of t is a real number, is the square root of t positive?

(1) t>0

(2) t2>0


正确答案:E
E 解析:This question is looking for a definite yes or no answer. Statement (1) is not sufficient since all it tells us is that t is a positive number. Unless the radical sign () is used, a positive number has two square roots, a positive root and a negative root. For example, if t is 4, then it has two square roots, 2 and -2. So we can eliminate A and D.
With statement (2) alone, we don't get much more information; all it really tells us is that t is a positive number (it cannot be negative, since the square root of a negative number is a complex number, not a real number). So again, t could be 4, and its root could be either positive or negative. So we can eliminate B. Putting them both together doesn't tell us whether the square root of t is positive either, so our answer has to be E.

第4题:

Simultaneous Multithreading (SMT) is enabled in a POWER6 VIO client running AIX 6.1.  Which command would be used to disable it after the next operating system reboot is performed?()

  • A、 schedo -o smt=0 -p
  • B、 smtctl -m off -w boot
  • C、 chdev -l sys0 -a smt=off
  • D、 echo 0 > /proc/sys/smt_enable

正确答案:B

第5题:

●下面Linux命令中, (62)可用于关闭系统。

(62)

A. [root@root]#init 0

B. [root@root]# init 1

C.[root@root]# init 2

D. [root@root]#init 3


正确答案:A

第6题:

During an AIX installation, which of the following actions will occur once the Complete Overwrite option is selected?()

A.All new disks in the system will be formatted

B.Only the contents of the root volume group destination disks will be destroyed

C.All file systems, including /(root), /tmp, /usr, and /var, but no usr data in the root volume group, will be destroyed

D.The contents of all disks on the system, even if they are not shown as the destination root volume group disks, will be destroyed


参考答案:B

第7题:

请阅读下列程序代码,然后将程序的执行结果补充完整。横线处应填写的内容是( )。 程序代码: public class throwsExeeption{ static void Proc(intsel) throws Arithmetic Exception,Array Index Out Of Bounds Exception{ System.out.println("InSituation"+sel); if(sel= =0){ System.OUt.println("noException caught"); return; } else if(sel= =l){ int iArray[]=newint[4]; iArray[1]=3; } } public static void main(String args[]){ try{ Proe(O); Proc(1); } catch(Array Index Out Of Bounds Exception e){ System.out.println("Catch"+e); } finally{ System.out.println("inProcfinally"): } } } 执行结果: In Situation 0 no Exception caught in Proc finally

A.In Situation l

B.In Situation

C.with Catch

D.int iArray l


正确答案:A
A。【解析】本题考查考生阅读Java程序的能力。题目程序看似复杂,但流程非常简单。程序的public类是thtowsExeeption,类中定义了Proe(intsel)方法。程序入口是main方法,使用try-catch-finally来捕获ArithmeticExeeption和ArrayIndexOutOfBoundsExeeption异常,这两个异常是关于算术异常或数组索引越界的异常。执行Proe(0)时,输出InSituation0和noExceptioncaught两条信息;执行Proc(1)时,输出InSituationl和inProcfinally两条信息。整个程序并未发生异常。

第8题:

阅读下列代码 public class Arrays{ public static void main(String[]args){ int[]a=new int[5]; for(int i=0;i<a. length; i=i+1){ a[i]=10+i; } for(int i=0; i<a. length; i=i+1){ System. out. println(a[i]); } String[]s={"Frank","Bob","Jim"}; for(int i=0; i<s. length; i=i+1){ System. out. println(s[i]); } S[2]="Mike"; System. out. println(s[2]); } } 代码运行结果正确的是

A.10 11 12 13 14 Mike Bob Frank Jim

B.11 12 13 14 15 Frank Bob Mike Jim

C.10 11 12 13 14 Frank Bob Jim Mike

D.11 12 13 14 15 Mike Jim Bob Frank


正确答案:C
解析:每一个for循环对整型数组a赋值时从“10+0”开始,直到“10+4”为止共5个数。第二个for循环直接将字符串数组内容依次打印出来,循环结束后对s[2]重新赋值为“Mike”,故再次打印s[2]时输出“Mike”。

第9题:

修改系统变量 Path 的值为%System Root%/ System32;% System Root%;% System Root%/ System32/wbem;D:/


正确答案: 右击【我的电脑】→【属性】→【高级】→【环境变量】→选中path→【编辑】→输入“%SystemRoot%/System32;%SystemRoot%;%SystemRoot%/System32/wbem;D:///”→【确定】→【确定】

第10题:

配置交换机SWA的桥优先级为0的命令为()。

  • A、[SWA] stp priority 0
  • B、[SWA-Ethernet1/0/1] stp priority 0
  • C、[SWA] stp root priority 0
  • D、[SWA-Ethernet1/0/1] stp root priority 0

正确答案:A

更多相关问题