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
System Administration: Linux Process
PDF
Process management
PPT
101 3.5 create, monitor and kill processes
operating system (process)
Development environment
Certifying (RISC) Machine Code Safe from Aliasing (OpenCert 2013)
Config
LP-Unit3.docx
System Administration: Linux Process
Process management
101 3.5 create, monitor and kill processes

Similar to Process managment (20)

PPTX
Linux Systems Programming: Process CommunCh11 Processes and Signals
DOCX
InstructionsInstructions for numberguessernumberGuesser.html.docx
PDF
Lab report 201001067_201001104
PDF
Lab report 201001067_201001104
PDF
Lab report 201001067_201001104
PPTX
Process management in linux
PDF
Os lab final
PPTX
578781849-RHSA-1-Chap578781850-RHSA-1-Chapter-4ter-7.pptx
PDF
Operating System Practice : Meeting 5- process and manajemen proces-a-slide
PPTX
process group.
PPT
intro unix/linux 10
PDF
Operating System Practice : Meeting 6- process and manajemen proces-b-slide
PPT
Linux_C_LabBasics.ppt
PPT
Processes And Job Control
PPTX
Managing Processes in Unix.pptx
PPTX
Managing Processes in Unix.pptx
PDF
Proposalforootconf
PDF
Linux Security APIs and the Chromium Sandbox
PDF
Linux Security and How Web Browser Sandboxes Really Work (NDC Oslo 2017)
PDF
System Calls - Introduction
Linux Systems Programming: Process CommunCh11 Processes and Signals
InstructionsInstructions for numberguessernumberGuesser.html.docx
Lab report 201001067_201001104
Lab report 201001067_201001104
Lab report 201001067_201001104
Process management in linux
Os lab final
578781849-RHSA-1-Chap578781850-RHSA-1-Chapter-4ter-7.pptx
Operating System Practice : Meeting 5- process and manajemen proces-a-slide
process group.
intro unix/linux 10
Operating System Practice : Meeting 6- process and manajemen proces-b-slide
Linux_C_LabBasics.ppt
Processes And Job Control
Managing Processes in Unix.pptx
Managing Processes in Unix.pptx
Proposalforootconf
Linux Security APIs and the Chromium Sandbox
Linux Security and How Web Browser Sandboxes Really Work (NDC Oslo 2017)
System Calls - Introduction
Ad

Recently uploaded (20)

PDF
ISS2022 present sdabhsa hsdhdfahasda ssdsd
PDF
2_STM32&SecureElements2_STM32&SecureElements
PPTX
AIR BAG SYStYEM mechanical enginweering.pptx
PPTX
Subordinate_Clauses_BlueGradient_Optimized.pptx
PDF
Presented by ATHUL KRISHNA.S_20250813_191657_0000.pdf
PPTX
dDifference Beetween Saving slides And Investment Slides.pptx
PPTX
unit1d-communitypharmacy-240815170017-d032dce8.pptx
PPTX
Chapter no 8 output devices dpart 2.pptx
PPTX
New professional education PROF-ED-7_103359.pptx
PDF
Maxon CINEMA 4D 2025 Crack Free Download Latest Version
PDF
SAHIL PROdhdjejss yo yo pdf TOCOL PPT.pdf
DOCX
Copy-OT LIST 12.8.25.docxjdjfufufufufuuffuf
PPTX
Growth Capital Investment - Espresso Capital.pptx
PDF
CAB UNIT 1 with computer details details
PPTX
Computer Hardware - Technology and Livelihood Education
PPTX
Pin configuration and project related to
PDF
Tcl Scripting for EDA.pdf
PDF
GENERATOR AND IMPROVED COIL THEREFOR HAVINGELECTRODYNAMIC PROPERTIES
PDF
2- Physical Layer (06).pdfgshshshbsbshshshhs
PPTX
AI_ML_Internship_WReport_Template_v2.pptx
ISS2022 present sdabhsa hsdhdfahasda ssdsd
2_STM32&SecureElements2_STM32&SecureElements
AIR BAG SYStYEM mechanical enginweering.pptx
Subordinate_Clauses_BlueGradient_Optimized.pptx
Presented by ATHUL KRISHNA.S_20250813_191657_0000.pdf
dDifference Beetween Saving slides And Investment Slides.pptx
unit1d-communitypharmacy-240815170017-d032dce8.pptx
Chapter no 8 output devices dpart 2.pptx
New professional education PROF-ED-7_103359.pptx
Maxon CINEMA 4D 2025 Crack Free Download Latest Version
SAHIL PROdhdjejss yo yo pdf TOCOL PPT.pdf
Copy-OT LIST 12.8.25.docxjdjfufufufufuuffuf
Growth Capital Investment - Espresso Capital.pptx
CAB UNIT 1 with computer details details
Computer Hardware - Technology and Livelihood Education
Pin configuration and project related to
Tcl Scripting for EDA.pdf
GENERATOR AND IMPROVED COIL THEREFOR HAVINGELECTRODYNAMIC PROPERTIES
2- Physical Layer (06).pdfgshshshbsbshshshhs
AI_ML_Internship_WReport_Template_v2.pptx
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 .