Implementasi Proses Pada Sistem Operasi
Table of Contents
Dalam mengimplementasikan model proses pada sistem operasi kita menggunakan suatu tabel atau array yang saat ini lebih dikenal dengan sebutan tabel proses dengan 1 entry per-proses.
Pada artikel kali ini, kita akan melihat tentang tabel proses dengan 1 entry per-proses ini. Adapun data atau informasi yang terdapat dalam tabel proses dengan 1 entry per-proses tiap entry berisi tentang
- Status Proses
- Program Counter
- Stack Pointer
- Alokasi Memori
- Status File
- Informasi Scheduling atau penjadwalan informasi
- Dan proses lain dari status kerja ke status siap
Contoh Tabel Proses
Berikut ini adalah salah satu contoh tabel proses.
Tabel Proses | ||
---|---|---|
Proses management | Memory management | File management |
Register | Pointer to text segment | UMASK mask |
Program counter | Pointer to data segment | Root directoy |
Program status word | Pointer to bss segment | Working directory |
Stack pointer | Exit status | File descriptiors |
Process state | Signal status | Effective uid |
Time when process started | Process id | Effective gid |
CPU time used | Parent process | System call parameters |
Children̢۪s CPU time | Process group | Various flag bits |
Time of next alarm | Real uid | |
Message queue pointers | Effective uid | |
Pending signal bits | Real gid | |
Process id | Effective gid | |
Various flag bits | Bit maps for signals | |
Various flag bits |