Ed
What are the Services of Operating System
Operating System द्वारा Provide की जाने वाली Services निम्नलिखित है –
- Program Execution
- File system manipulation
- Input/Output Operations
- Communication
- Resource Allocation
- Error Detection
- Accounting
- Security and protection
Program Execution
Computer System का मुख्य उद्देश्य User के Program को Efficient Manner में Execute करने की सुविधा (Service) प्रदान करना है | Operating System के पास Capability होती है की वो Memory से Program को Fetch करता है, और उन Programs को Execute भी करता है | इस पूरी Process के दौरान Resources के Allocation एवं Deallocation की पूरी जिम्मेदारी Operating System की होती है |
File System Manipulation
Computer System का उपयोग करते समय User द्वारा File सम्बन्धी विभिन्न Operation Perform किये जाते है, जैसे- File को Open करना, File को Save करना, File को Disk से Delete करना | File से Related Operation को Perform करने के लिए Operating System के द्वारा File System Manipulation Services का प्रयोग किया जाता है | Operating System द्वारा File System Manipulation Services का प्रयोग Secondary Storage Management के लिए भी किया जाता है |
Input/Output Operation
कोई भी प्रोग्राम जो वर्तमान समय में Execute हो रहा होगा उसे Input/Output की आवश्यकता होती है, वह Input/Output कोई File अथवा कोई I/O Device हो सकती है | इसमें I/O Devices मुख्यतः Involve होती है | Operating System I/O Operation में उसे होने वाले Internal Hardware के Details को User से Hide करके रखता है | I/O Operation Services, User Level Programs द्वारा नहीं Provide की जाती है, यह Service केवल Operating System द्वारा Provide की जाती है |
Communication
Multitasking Environment में Processes को एक दूसरे के साथ Communicate करने एवं Information को Share करने आवश्यकता होती है | ये Processes Hierarchical Structure में Create होती है, जहाँ Main Process को Parent Process एवं अन्य Process को Child Process कहते है | दो Process के बीच Communication, Shared Memory अथवा Message Passing के through होता है |
Resource Allocation
जब एक साथ Multiple Jobs (Processes) Execute हो रही होती है, तो प्रत्येक process को Resource Allocate करने की आवश्यकता होती है | जैसे- CPU Cycle, Main Memory, Secondary Storage, I/O Device etc. प्रत्येक Process को Resource Allocate करने तथा Deallocation की जिम्मेदारी Operating System की होती है | CPU के Better Utilization के लिए Different CPU Scheduling Algorithm का प्रयोग किया जाता है | Process Execution को ज्यादा Reliable एवं Fast बनाने के लिए Different Process Scheduling Algorithm का प्रयोग किया जाता है |
Error Detection
Process Execution के दौरान CPU, Memory Hardware, I/O Device में कभी-कभी Error Generate हो जाती है | Error को Remove करने एवं Consistent Computing को Ensure करने के लिए Operating System के द्वारा आवश्यक Action लिए जाते है | Hardware Problems को Avoid करने के लिए OS Complete System को Monitor करता है तथा Error (if found) को Detect करके Remove करता है |
Accounting
Operating System Accounting Service यह Track रखती है की कौन-सा User कितना और किस प्रकार के Computer Resource का Use कर रहा है |
Security and Protection
Security Services यह Ensure करती है की System Resources का Allocation, Controlled Manner में हो | System Security को Maintain रखने के लिए Resource को Access करने से पहले User को User Id एवं Password के द्वारा Authenticate किया जाता है |