题目内容

默认情况下,如果没有为ps命令传递任何参数,则它将打印什么信息?

All processes running on the terminal
B. All active processes
C. All sleeping processes
D. All processes run by the current shell
E. All processes run by the current user

查看答案
更多问题

Peter想找出是什么应用导致系统运行缓慢,他应该使用以下哪种工具类显示当前所有运行中的进程占用CPU的情况?

A. top
B. ps
C. lsof
D. free
E. uptime

Carol通过ps命令找到了某个进程的PID后,应该使用哪个工具来停止执行该进程?

A. killall
B. pkill
C. TERM
D. kill
E. pgrep

以下对/proc最好的描述是?

A. /proc contains information about files to be processed.
B. /proc contains configuration files for processes.
C. /proc contains information on currently running processes, including the kernel.
D. /proc contains variable data such as mail and web files.

以下哪条命令可以持续监控一个名为nagios的进程?

A. top -n 1
B. top -p 23
C. ps -nagios
D. top -p `pidof nagios`

答案查题题库