SlideShare a Scribd company logo
SUBMITTED BY:-NAVIYA MARIYA
MCA 3rd year
 A process is a program in execution .
 Eg:- In C or C++ the compiler creates the
binary code when we actually run the
binary it becomes a process.
 If a command issued , then it creates or
starts a new process.
 Eg:- pwd ,issued it used to list the current
directory location the user starts the
proess
 5 Digit id ,It keeps account of process.
 This id called process id or pid.
 Each process have unique pid.
 Used up process id again used.
 For newer process
 If all possible combinations are used.
 No two process have same process id.
 System keeps track of each process
 A process can be in two ways
 foreground process
 Background process
 Every process when started runs in
foreground by default, receives input from
the keyboard and sends output to the
screen.
When issuing pwd command
 $ ls pwd
Output:
 $ /home/prgmname/root
 It takes lots of time.
 No other process can start.
 It runs in the background without keyboard
input .
 Waits till keyboard input is required.
 Other processes can be done in parallel
with the process running in background .
 No need to wait for the previous process to
be completed.
 ps (Process status) can be used to see/list
all the running processes.
 Eg:- $ ps
PID TTY TIME
CMD
19 pts/1 00:00:00 sh
24 pts/1 00:00:00 ps
 -f for full information about the process
UID: User ID
PID: Process ID
PPID: Parent process ID
C: CPU utilization of process
STIME: Process start time
TTY: Terminal type associated with the
process
TIME: CPU time taken by the process
CMD: The command that started this
process
 When running in foreground, hitting Ctrl + c
(interrupt character) will exit the command.
 For processes running in background kill
command can be used if it’s pid is known.
 Eg:- $ kill 19 ;19 PID
Terminated
 If a process ignores a regular kill
command, you can use kill -9 followed by
the process ID .
Process  managment

More Related Content

ODP
operating system (process)
PPTX
Development environment
PDF
Certifying (RISC) Machine Code Safe from Aliasing (OpenCert 2013)
TXT
Config
DOCX
LP-Unit3.docx
PPTX
UNIX Notes
PDF
Process management
PPTX
System Administration: Linux Process
operating system (process)
Development environment
Certifying (RISC) Machine Code Safe from Aliasing (OpenCert 2013)
Config
LP-Unit3.docx
UNIX Notes
Process management
System Administration: Linux Process

Similar to Process managment (20)

PPTX
578781849-RHSA-1-Chap578781850-RHSA-1-Chapter-4ter-7.pptx
PPTX
Managing Processes in Unix.pptx
PPTX
Managing Processes in Unix.pptx
PPTX
04_ForkPipe.pptx
PPTX
AOS_Module_4ssssssssssssssssssssssss.pptx
PPT
11_UNIX_Processes_Including_Select.ppt
PPTX
13 process management
PPTX
Linux system administration
PPTX
Linux Systems Programming: Process CommunCh11 Processes and Signals
PDF
UNIT-2-Process-Management.pdf
PPTX
Lecture_Slide_4.pptx
PDF
System calls
PDF
Systems Programming Assignment Help - Processes
PPTX
Advanced Operating Systems......Process Management
PPTX
Process management in operating system | process states | PCB | FORK() | Zomb...
PPTX
Chapter3_ProcessConcept-Operation_on_Processes.pptx
DOCX
InstructionsInstructions for numberguessernumberGuesser.html.docx
578781849-RHSA-1-Chap578781850-RHSA-1-Chapter-4ter-7.pptx
Managing Processes in Unix.pptx
Managing Processes in Unix.pptx
04_ForkPipe.pptx
AOS_Module_4ssssssssssssssssssssssss.pptx
11_UNIX_Processes_Including_Select.ppt
13 process management
Linux system administration
Linux Systems Programming: Process CommunCh11 Processes and Signals
UNIT-2-Process-Management.pdf
Lecture_Slide_4.pptx
System calls
Systems Programming Assignment Help - Processes
Advanced Operating Systems......Process Management
Process management in operating system | process states | PCB | FORK() | Zomb...
Chapter3_ProcessConcept-Operation_on_Processes.pptx
InstructionsInstructions for numberguessernumberGuesser.html.docx
Ad

Recently uploaded (20)

PDF
Tcl Scripting for EDA.pdf
PPTX
Entre CHtzyshshshshshshshzhhzzhhz 4MSt.pptx
PPTX
DEATH AUDIT MAY 2025.pptxurjrjejektjtjyjjy
PPTX
material for studying about lift elevators escalation
PPTX
Computers and mobile device: Evaluating options for home and work
PPTX
Embedded for Artificial Intelligence 1.pptx
PPTX
unit1d-communitypharmacy-240815170017-d032dce8.pptx
PDF
ICT grade for 8. MATATAG curriculum .P2.pdf
PPTX
Prograce_Present.....ggation_Simple.pptx
PPT
Lines and angles cbse class 9 math chemistry
PPTX
quadraticequations-111211090004-phpapp02.pptx
PPTX
Lecture-3-Computer-programming for BS InfoTech
DOCX
A PROPOSAL ON IoT climate sensor 2.docx
PPTX
02fdgfhfhfhghghhhhhhhhhhhhhhhhhhhhh.pptx
PPTX
Wireless and Mobile Backhaul Market.pptx
PDF
ISS2022 present sdabhsa hsdhdfahasda ssdsd
PDF
Presented by ATHUL KRISHNA.S_20250813_191657_0000.pdf
DOCX
Edukasi kultural untuk kita semua maka c
PPTX
1.pptxsadafqefeqfeqfeffeqfqeqfeqefqfeqfqeffqe
PPTX
Nanokeyer nano keyekr kano ketkker nano keyer
Tcl Scripting for EDA.pdf
Entre CHtzyshshshshshshshzhhzzhhz 4MSt.pptx
DEATH AUDIT MAY 2025.pptxurjrjejektjtjyjjy
material for studying about lift elevators escalation
Computers and mobile device: Evaluating options for home and work
Embedded for Artificial Intelligence 1.pptx
unit1d-communitypharmacy-240815170017-d032dce8.pptx
ICT grade for 8. MATATAG curriculum .P2.pdf
Prograce_Present.....ggation_Simple.pptx
Lines and angles cbse class 9 math chemistry
quadraticequations-111211090004-phpapp02.pptx
Lecture-3-Computer-programming for BS InfoTech
A PROPOSAL ON IoT climate sensor 2.docx
02fdgfhfhfhghghhhhhhhhhhhhhhhhhhhhh.pptx
Wireless and Mobile Backhaul Market.pptx
ISS2022 present sdabhsa hsdhdfahasda ssdsd
Presented by ATHUL KRISHNA.S_20250813_191657_0000.pdf
Edukasi kultural untuk kita semua maka c
1.pptxsadafqefeqfeqfeffeqfqeqfeqefqfeqfqeffqe
Nanokeyer nano keyekr kano ketkker nano keyer
Ad

Process managment

  • 2.  A process is a program in execution .  Eg:- In C or C++ the compiler creates the binary code when we actually run the binary it becomes a process.
  • 3.  If a command issued , then it creates or starts a new process.  Eg:- pwd ,issued it used to list the current directory location the user starts the proess
  • 4.  5 Digit id ,It keeps account of process.  This id called process id or pid.  Each process have unique pid.  Used up process id again used.  For newer process  If all possible combinations are used.
  • 5.  No two process have same process id.  System keeps track of each process
  • 6.  A process can be in two ways  foreground process  Background process
  • 7.  Every process when started runs in foreground by default, receives input from the keyboard and sends output to the screen. When issuing pwd command  $ ls pwd Output:  $ /home/prgmname/root
  • 8.  It takes lots of time.  No other process can start.
  • 9.  It runs in the background without keyboard input .  Waits till keyboard input is required.  Other processes can be done in parallel with the process running in background .  No need to wait for the previous process to be completed.
  • 10.  ps (Process status) can be used to see/list all the running processes.  Eg:- $ ps PID TTY TIME CMD 19 pts/1 00:00:00 sh 24 pts/1 00:00:00 ps  -f for full information about the process
  • 11. UID: User ID PID: Process ID PPID: Parent process ID C: CPU utilization of process STIME: Process start time TTY: Terminal type associated with the process TIME: CPU time taken by the process CMD: The command that started this process
  • 12.  When running in foreground, hitting Ctrl + c (interrupt character) will exit the command.  For processes running in background kill command can be used if it’s pid is known.  Eg:- $ kill 19 ;19 PID Terminated  If a process ignores a regular kill command, you can use kill -9 followed by the process ID .