Process Control Block in Hindi | Process Attributes in Hindi | Gate2iit

Process Control Block in Hindi | Process Attributes in Hindi | Gate2iit
Posted on 15-05-2022

Process Control Block in Hindi PCB Kya Hai (प्रोसेस कंट्रोल ब्लॉक)-

  • प्रोसेस कंट्रोल ब्लॉक (PCB) एक Data Structure है जो किसी Particular Process के बारे में Information Store करती है।
  • Process को Execute करते समय CPU द्वारा इस Information की आवश्यकता होती है।

किसी Process का Process Control Block इस तरह दिखता है-

PCB

  • प्रत्येक Process को अपने स्वयं के Process Control Block (PCB) द्वारा पहचाना जाता है।
  • इसे Process का Context भी कहा जाता है।

 

Process Attributes in Hindi (Process Attributes Kya Hai)-

PCB में Stored Process के विभिन्न Attributes हैं-

1. Process Id-

  • Process Id एक Unique Id है जो System की प्रत्येक Process को Uniquely Identify करती है।
  • इसके Creation के दौरान प्रत्येक Process को एक Process Id सौंपी जाती है।

2. Program Counter-

  • Program Counter आगे Execute किए जाने वाले Instructions का Address Specify करता है।
  • Execution से पहले, Program Counter को Program के First Instruction के Address के साथ Initialize किया जाता है।
  • एक Instruction को Execute करने के बाद, Next Instruction को Point करने के लिए Program Counter का Value Automatically Increment हो जाता है।
  • यह Process Program के अंत तक Repeat किया जाता है।

3. Process State-

  • प्रत्येक Process अपने LifeTime में विभिन्न States से गुजरती है।
  • Process State, Process की Current State Specify करती है।

4. Priority-

  • Priority Specify करती है कि Process को Execute करना कितना Urgent है।
  • High Priority वाली Process को सभी Processes में सबसे पहले CPU Allocate किया जाता है।

5. General Purpose Registers-

  • General Purpose Register का उपयोग Execution के दौरान उत्पन्न Process के Data को रखने के लिए किया जाता है।
  • प्रत्येक Process में Registers का अपना Set होता है जो इसके PCB द्वारा Maintain किया जाता है।

6. List of Open Files-

  • प्रत्येक Process को कुछ फाइलों की आवश्यकता होती है जो Execution के दौरान Main Memory में मौजूद होनी चाहिए।
  • PCB अपने Execution के दौरान Process द्वारा उपयोग की जाने वाली फाइलों की एक सूची रखता है।

7. List of Open Devices-

  • PCB अपने Execution के दौरान Process द्वारा उपयोग किए जाने वाले Open Devices की एक सूची रखता है।

 

महत्वपूर्ण नोट्स-

  • प्रत्येक Process का PCB Main Memory में रहता है।
  • प्रत्येक Process के अनुरूप केवल एक PCB मौजूद है।
  • सभी Processes के PCB एक Linked List में मौजूद हैं।

 

Thank You for Reading Process Control Block Kya Hai and Process Attributes Kya Hai.