1. Operating Systemhistorical

    1. Operating System Functions 1.1. Process Management Process Management 1.2. Memory Management Memory Management 1.3. Device Management 1.4. File Management 2. Operating System Examples 2.1. Linux Linux 3. References Operating System (Computer Manag

  2. Linuxhistorical

    1. Using Linux 1.1. Common Commands Common Linux Commands 2. Linux Process Management Threads Processes 3. Linux I/O I/O 4. Linux Memory Management Memory Management 5. Linux System Calls System Calls 6. Linux Virtualization Linux AUFS Linux Namespac

  3. Threadhistorical

    1. What Is a Thread? An execution flow within a process. A thread is an execution flow of a process. Multithreading means that a process has multiple execution flows. If threads are implemented at user level, they are called user space threads. If th

  4. Processhistorical

    [toc] 1. Process A process can be viewed as a running program. Use ps aux to view processes. A new process can be created using the fork call. The created child process and parent process share all segments, such as text, stack, heap, etc. Only when

  5. Process Managementhistorical

    1. Processes 1.1. IPC IPC 1.2. Deadlock Deadlock 1.3. Synchronization Synchronization 2. Process vs Thread Program, Process, and Thread

  6. IPChistorical

    1. What Is Inter Process Communication? It is the exchange of information between processes. 2. Why Inter Process Communication Is Needed Because each process has an independent address space, for security reasons the operating system does not allow

  7. Synchronizationhistorical

    [toc] 1. Synchronization and Mutual Exclusion 1.1. Synchronization Multiple processes execute in a certain order. 1.2. Mutual Exclusion Among multiple processes, only one process can enter the critical section at the same time. 1.2.1. Critical Sectio

  8. Deadlockhistorical

    [toc] 1. What Is Deadlock? A holds lock 1 and needs lock 2; B holds lock 2 and needs lock 1. 2. Necessary Conditions for Deadlock Mutual exclusion: resources cannot be shared. If I hold this resource at a given time, you cannot hold it. Hold and wait

  9. Program, Process, and Threadhistorical

    [toc] 1. What Are They? A program is a collection of instructions stored on the hard disk; it is a static entity. A process is a program loaded into memory with its instructions executed by the CPU; it is a dynamic entity. A thread is one of multiple

  10. Memory Managementhistorical

    [toc] 1. buffer vs cache A buffer is something that has yet to be "written" to disk. A cache is something that has been "read" from the disk and stored for later use. 2. References caching What is the difference between buffer vs cache memory in Linu