Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

QUESTION 9 What subdirectories do you expect to find under /proc? Directories fo

ID: 3605276 • Letter: Q

Question

QUESTION 9 What subdirectories do you expect to find under /proc? Directories for every connected device Directories for every running process O Directories for every user of the system who has a home directory O Directories for every user of the system who does not have a home directory Directories for various types of application software QUESTION 10 Under /proc, we see a subdirectory called 5813 which has files cmdline, environ, fd, io, mounts, cwd, exe and root. The file cmdline will be empty under what circumstance(s)? O The process was started from the command line O The process was started by root O The process was started through the GUI O The process was started by another process None of the above, this file will never be empty QUESTION 11 Under/proc, we see a subdirectory called 5813 which has files cmdline, environ, fd, io, mounts, cwd, exe and root. The file root will store O a link to the process' executable code O the PID of the process that spawned this process the UID of the user who started the process the root directory of the process O whether the process was launched by root (1) or a normal user ()

Explanation / Answer

Question 9. In Linux every /proc directory contains a list of process directories which contain information such as process ID and every other information regarding the running processes. so the answer would be " Directories for every running process".

Question 10. In linux if we check whether a file is empty or not using the file command even if it displays that the file is empty, practically the file is never empty, when the contents of the file are checked using vi editor dynamic current values are updated from the kernel, that is why even the display says that the file is empty, in reality the file is never empty. The answer is " None of the above,the file will never be empty".

Question 11. In linux under directory /proc the root file stores a link to the root directory of the process. So the answer is "the root directory of the process".

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote