Pre-Final Flashcards
(81 cards)
Characteristics of a Process
- It can be started from the GUI or the command line.
- It can start another process.
- It can only be created by another process.
Commands Used in Viewing and Controlling Processes
ps
top
jobs
bg
fg
It reports a snapshot of current processes.
ps
It displays tasks
top
Lists active jobs
jobs
It places a job in the background.
bg
This places a job in the foreground.
fg
Process state meaning of “R”
Running (R)
Process is not running; it is waiting for an event.
Sleeping (S)
Process is waiting for I/O such as a disk drive
Uninterruptable sleep (D)
Traced or stopped
T
A defunct or “zombie” process
This is a child process that has been terminated, but has not been cleaned up by its parent
Z
A high priority process
<
A low priority process
N
Has pages locked into memory. This is for real-time and custom I/O.
L
A session leader
s
Multi-threaded
l
In the foreground process group
+
User ID. This is the owner of the process.
USER
CPU usage in percent
%CPU
Memory usage in percent
%MEM
Virtual Memory Size
VSZ
This is the amount of physical memory (in kilobytes) the process is using
Resident Set Size (RSS)
This is the time when the process has started.
START