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`
以下哪条命令可以查看内存和交换分区的使用情况?
A. tree
B. pgrep
C. uptime
D. free
以下哪条命令可以确定由当前用户启动的进程的默认优先级?
A. prio
B. nice
C. renice
D. defpriority