Home » LPI » 117-201 » What would be displayed as the result of issuing the command ps ef?
What would be displayed as the result of issuing the command ps ef?
A. A listing of the users running processes formatted as a tree.
B. A listing of the stopped processes.
C. A listing of all the running processes formatted as a tree.
D. A listing of all system processes formatted as a tree.
Correct Answer: A
Explanation/Reference:
Explanation: Without any options, the ps command displays the running processes associated with the current user ID. The e option displays the processes’ environment and the f option displays the processes in a tree format, illustrating the relationship between parent and child relationships.
Reference: http://www.oreillynet.com/linux/cmd/p/ps.html
Incorrect Answers
B:Only the running processes are listed, not the stopped processes.
C:You would need the a option to display all the running processes.
D:Only the user processes are listed, not the system processes.
Download Printable PDF. VALID exam to help you PASS.
|
|