Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
Articles by Bhanu Priya
Page 50 of 106
What is process creation in Operating Systems?
A process can create several new processes through creating process system calls during the process execution. Creating a process we call it the parent process and the new process is a child process.Every new process creates another process forming a tree-like structure. It can be identified with a unique process identifier that usually represents it as pid which is typically an integer number. Every process needs some resources like CPU time, memory, file, I/O devices to accomplish.Whenever a process creates a sub process, and may be each sub process is able to obtain its resources directly from the operating system ...
Read MoreWhat are the two methods to implement inter process communication?
There are two methods to implement inter process communication they are as follows −Shared memoryMessage passingNow, let us understand what a shared memory is.Shared memoryIt is one of the regions for data communication. It is used for communication between single processor and multiprocessor systems where the processes that are to be communicated present on the same machine and they are sharing common address space.The shared memory code that has to be read or write the data that should be written explicitly by the application programmer.It is going to provide a maximum speed of computations because the communication is done with ...
Read MoreHow IPC between a user application and an OS Subsystem in Windows?
A windows operating system is software that acts as an interface between the user and the hardware component. The operating system is like a prime minister that controls the entire task happening in the computer. It is in between a user interface and the hardware.It is system software. In the absence of the system software we cannot do any task on the computer. An operating system is software which performs all the basic tasks like file management, memory management, process management, handling input and output, and controlling the peripheral device like disk scheduling. Some of popular operating systems are windows.The ...
Read MoreWhat are the Process Management System Calls?
System call provides an interface between user program and operating system. The structure of system call is as follows −When the user wants to give an instruction to the OS then it will do it through system calls. Or a user program can access the kernel which is a part of the OS through system calls.It is a programmatic way in which a computer program requests a service from the kernel of the operating system.Types of system callsThe different system calls are as follows −System calls for Process managementSystem calls for File managementSystem calls for Directory managementNow let us discuss ...
Read MoreWhat is a hierarchical naming system?
Let us consider an organization which is named as territory is frequently carefully defined or will type a coordinated non-cyclic diagram (DAG). In a carefully delineated name zone a hub can exclusively make them approaching the edge.In a very DAG name territory any hub will have numerous approaching edges. It's conjointly potential to have named territories with different root hubs. Ascendable frameworks regularly utilize progressively organized name territories. A grouping of edge marks driving from one hub to an alternate is named a way name.A way name is utilized to see a hub inside the chart. Partner degree total way ...
Read MoreWhat is a process hierarchy?
Now-a-days all general purpose operating systems permit a user to create and destroy processes. A process can create several new processes during its time of execution.The creating process is called the Parent Process and the new process is called Child Process.There are different ways for creating a new process. These are as follows −Execution − The child process is executed by the parent process concurrently or it waits till all children get terminated.Sharing − The parent or child process shares all resources like memory or files or children process shares a subset of parent’s resources or parent and children process ...
Read MoreWhat is a process control block?
Every process is represented in the operating system by a process control block also called a task control block.A process control block (PSB) contains many pieces of information that is associated with a specific process includes the following −Process state.Program counter.CPU registers.CPU scheduling.CPU scheduling information.Memory management information.Accounting information.I/O status information.The structure of a process control block is as follows −Process stateProcess numberProcess counterRegisterMemory limitsList of open files----------Let us discuss each task in detail.Process state − The state may be a new state, ready state, running state , waiting state, terminated state and so on.Program counter − It indicates the address ...
Read MoreWhat are the operations on process?
A process is a program in execution and it is more than a program code called as text section and this concept works under all the operating system because all the task perform by the operating system needs a process to perform the taskThe process executes when it changes state. The state of a process is defined by the current activity of the process.Each process may be any one of the following states −New − The process is being created.Running − In this state the instructions are being executed.Waiting − The process is in waiting state until an event occurs ...
Read MoreDifferentiate between 5 state and 7 state process models.
A process is a program in execution and it is more than a program code called as text section and this concept works under all the operating system because all the task perform by the operating system needs a process to perform the taskThe process executes when it changes state. The state of a process is defined by the current activity of the process. It is important to know that only one process can be running on any processor at any instant. Many processes may be ready and waiting.Five state process ModelThe states present in the 5-state model are as ...
Read MoreWhat are the types of system calls used in file management?
The System calls for File management are as follows −A file is open using a system call open. The mode in which the file is supposed to be open is specified using the parameter.Parameters also consist of the names of the file to open or a new one to be created. The files are closed using the close systems.Associated with each file is a pointer that indicates the current position in the file. When reading or writing sequentially, points to the next byte to be read or written.The Lseek call changes the value of the position pointer so that subsequent ...
Read More