InterviewSolution
Saved Bookmarks
| 1. |
Which option is used by ps command to get a detailed listing of process attributes?(a) -u(b) -f(c) -l(d) -xThe question was asked in an internship interview.I would like to ask this question from Process Status:ps Command and Phases of a Process topic in division The Process of Unix |
|
Answer» CORRECT choice is (b) -f For explanation: ps is a highly VARIANT command; its actual output varies across different flavours. To GET a detailed listing of process attributes ALONG with PPID and owner (UID), we have to use the -f option with ps command. For EXAMPLE, |
|