What is an Operating System?
An operating system is a layer of software residing above hardware, hiding intricate details and providing an easy to use virtual machine.
An operating system is a layer of software residing above hardware, hiding intricate details and providing an easy to use virtual machine.
The problem of synchronizing multiple concurrent processes is explained and a solution is provided with an example program.
POSIX threads, aka pthreads, provide concurrent control flow within a process. pthreads are explained with an example program.
Any two processes can communicate using FIFOs in Linux. Interprocess communication using FIFOs is explained using a client-server example.
The pipe is a fundamental interprocess communication mechanism in Linux. Interprocess communication using pipes is explained with an example.
The umask command is used for setting a mask which is used for managing the permissions of files created by processes during a login session.
htop is a ncurses based program for viewing processes in a Linux system. htop gives information about processor, memory and swap usage.
The pidstat command gives the CPU utilization, I/O statistics, page faults and memory utilization for processes and threads in Linux systems.