Question: Linux Operating System ] ps is a command that displays information about all processes currently running in your system. Read man page of ps command.

Linux Operating System] ps is a command that displays information about all processes currently
running in your system.
Read man page of ps command.
Enter the following commands: (1) ps ef | more and (2) ps aux | more. Both of these will result in
displaying a long list of processes.
Identify what processes are started when the system is booted, and what processes are started later
on. For each process, find out who owns it, what code it is running, and how much CPU/memory it has
used.
Now, store the details of all processes owned by root in a file called root-processes-1, and all
processes owned by you in a file called my-processes-1. Next, restart your system, and create similar
files, root-processes-2 and my-processes-2. Compare root-processes-2 with root-processes-2, and
my-processes-1 with my-processes-1. Explain the differences between the two.
NB. The following Linux command is used to store the details of all processes owned by the root user
in a file called root_processes.txt
ps -U root -u root u > root_processes.txt

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!