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: ps ef more and 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 CPUmemory it has
used.
Now, store the details of all processes owned by root in a file called rootprocesses and all
processes owned by you in a file called myprocesses Next, restart your system, and create similar
files, rootprocesses and myprocesses Compare rootprocesses with rootprocesses and
myprocesses with myprocesses 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 rootprocesses.txt
ps U root u root u rootprocesses.txt
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
