Introduction (परिचय)
Operating System केवल hardware को control नहीं करता, बल्कि यह user और programs को कई important services भी प्रदान करता है।
इन services की मदद से user आसानी से system को use कर पाता है और programs smoothly run होते हैं।
Operating System Services क्या होते हैं
Operating System Services वे सुविधाएँ (functions) हैं, जो OS user और application programs को provide करता है ताकि system efficiently काम कर सके।
Main Operating System Services
1. User Interface (UI)
OS user को system से interact करने का तरीका देता है।
Types:
- CLI (Command Line Interface)
- GUI (Graphical User Interface)
Example:
Windows में icons और menus GUI का हिस्सा हैं।
2. Program Execution
OS programs को load करता है और execute करता है।
Example:
जब आप कोई app open करते हैं, OS उसे memory में load करके run करता है।
3. I/O Operations
OS input और output devices को manage करता है।
Example:
Keyboard से input लेना और monitor पर output दिखाना OS handle करता है।
4. File System Manipulation
OS files और folders को manage करता है।
Functions:
- Create
- Delete
- Read
- Write
Example:
File save करना या delete करना OS की service है।
5. Communication
OS processes के बीच communication allow करता है।
Types:
- Shared Memory
- Message Passing
Example:
एक app से दूसरे app में data transfer होना।
6. Error Detection
OS system में errors को detect करता है और handle करता है।
Example:
Memory error या device failure होने पर OS alert देता है।
7. Resource Allocation
OS system resources को allocate करता है।
Resources:
- CPU
- Memory
- Devices
Example:
Multiple apps run होने पर OS decide करता है कि CPU किसे मिलेगा।
8. Accounting
OS system usage का record रखता है।
Example:
कौन सा program कितना CPU use कर रहा है।
9. Protection and Security
OS system को unauthorized access से बचाता है।
Example:
Login system, password protection।
Real Life Example
मान लीजिए आप browser में website खोलते हैं:
- UI → आप click करते हैं
- Program Execution → browser open होता है
- I/O → internet data load होता है
- File System → cache save होता है
- Security → secure connection check होता है
यह सब OS services की वजह से possible होता है।
Conclusion
Operating System Services system को user-friendly और efficient बनाते हैं।
इनके बिना user programs को run नहीं कर सकता और system properly काम नहीं करेगा।