Linux Administration Analysing Processes Flashcards
every program is run as a _______
process
what is a process
instance of a running program
command to check the running process
ps
what does ps -f do ?
displays the full information of each process, including the user who owns the process and the command line arguments used to start the process.
what does ps -fe do ?
It shows all processes running on the system, including those of other users
how to show dynamic real-time view of processes and tasks
top
what exactly does top show
PID
PR
SHR
VIRT
USER
%CPU
TIME+
NI
%MEM
what is PID
Shows task’s unique process id.
what is PR
Stands for priority of the task.
WHAT IS SHR
Represents the amount of shared memory used by a task.
what is VIRT
Total virtual memory used by the task.
what is USER
User name of owner of task
what is %cpu
Represents the CPU usage.
what is time+
CPU Time, the same as ‘TIME’, but reflecting more granularity through hundredths of a second
what is NI
Represents a Nice Value of task. A Negative nice value implies higher priority, and positive Nice value means lower priority.