Daemons: Difference between revisions
From COMP15212 Wiki
pc>Yuron No edit summary |
W81054ch [PHRhYmxlIGNsYXNzPSJ0d3BvcHVwIj48dHI+PHRkIGNsYXNzPSJ0d3BvcHVwLWVudHJ5dGl0bGUiPkdyb3Vwczo8L3RkPjx0ZD51c2VyPGJyIC8+YnVyZWF1Y3JhdDxiciAvPmludGVyZmFjZS1hZG1pbjxiciAvPnN5c29wPGJyIC8+PC90ZD48L3RyPjwvdGFibGU+] (talk | contribs) m (1 revision imported) |
(No difference)
|
Latest revision as of 10:02, 5 August 2019
Depends on | Processes |
---|
In computing terms a “daemon” is not evil – in practice they are very helpful. “Daemon” is a Unix term: in Windows equivalent processes would be called “Windows Services”.
These are background processes which do helpful services and are not responsible to any user or user process. A nice (Unix) example is cron – which is a job scheduler which you can use to run other processes at regular intervals (such as making a file backup in the early morning, each day).
If you have access to a Unix terminal, run the top
utility. It will reveal several daemons lurking in the machine, typically owned by root
. It is conventional to end a daemon’s name with ‘d’, which makes them easier to identify.
You can find more details in the usual places.
Also refer to: | Operating System Concepts, 10th Edition: Chapter 2.4, pages 74-75 |
---|
Articles on Processes
About this resource • Atomicity • Containers • Context • Context Switching • Daemons • Fork Unix • Hypervisor • Idle • Interprocess Communication • Multi Threading • Mutual exclusion • Pipes • Pointer Arithmetic • Process Control Block (PCB) • Process Priority • Process Scheduling • Process States • Processes • Queues • Queues Extra • Race Conditions • Real Time • Resources • Scheduler • Signal and Wait • Sleep • Starvation • Synchronisation • Thrashing • Threads • Unix SignalsArticles on User
"Everything is a File" • Application Binary Interface (ABI) • Arrays • Boot • Buffer Overflow • Containers • Daemons • Disk Partition • Dynamic Memory Allocation • Emulator traps • Environment Variables • Errors • Exceptions • File Attributes • File Locking • File Permissions • Introduction to Operating Systems • Journalling File System • Links • Locks • Man(ual pages in Unix) • Memory Mapped Files • Monitoring • Network File System (NFS) • PATH • Pipes • Pointers • Relocatable Code • Reset • SETUID • Shell • Sockets • Spooling and Buffering • Streams • Structures • Superuser • System Calls • Unix Signals • User • Using Peripherals