In: Computer Science
Open a terminal:
a) type the command ps –ef | less to view the first few processes
running on the system. Which process has the ID of 1?
b) What character do most processes have in the terminal column?
What does this indicate?
c) What user started the most of these processes?
d) Which parent process started the most processes?
e) Type ps –el | less. What character is in the state column for
most processes? What does this indicate?
f) What range of numbers do you see in the Nice (NI) column?
g) Type ps –el | grep Z. Do you have any zombie processes indicated
in the state column?
h) What does the ps- ax command do?
3) Describe what the init daemon does
a)
b) The UID which is root is the most common character for many
processes.
c) All the root level processes that needs to active on the system
otherwise it will crash are started by the user that is root.
d) bash command started the most number of parent processes. In my
case, it is 3000+
f) No column with NI name
g) No
h) This will print all the process running inside your
computer
3) It is the main process or parent process you can say. This keeps
the system on and if this goes off then every process will
eventually get terminated.
ALL THE BEST. THANKS.