What is an advantage of executing a process in background?
The most common reason to put a process in the background is to allow you to do something else interactively without waiting for the process to complete. At the... Read more »
The most common reason to put a process in the background is to allow you to do something else interactively without waiting for the process to complete. At the... Read more »
Historic Unix uses Swapping – entire process is transferred to the main memory from the swap device, whereas the Unix System V uses Demand Paging – only the... Read more »
When Kernel swaps the process out of the primary memory, it performs the following: Kernel decrements the Reference Count of each region of the process. If the reference... Read more »
Process before swapping is residing in the primary memory in its original form. The regions (text, data and stack) may not be occupied fully by the process, there... Read more »
All memory space occupied by the process, process’s u-area, and Kernel stack are swapped out, theoretically. Practically, if the process’s u-area contains the... Read more »
fork() is a system call to create a child process. When the parent process calls fork() system call, the child process is created and if there is short of memory... Read more »
At the time when any process requires more memory than it is currently allocated, the Kernel performs Expansion swap. To do this Kernel reserves enough space in... Read more »
The swapper works on the highest scheduling priority. Firstly it will look for any sleeping process, if not found then it will look for the ready-to-run process... Read more »
Nice value is the value that controls {increments or decrements} the priority of the process. This value that is returned by the nice () system call. The equation... Read more »
Kernel in traditional Unix, makes the duplicate copy of the parent’s address space and attaches it to the child’s process, while swapping. Kernel in System V... Read more »
During the fork() system call the Kernel makes a copy of the parent process’s address space and attaches it to the child process.But the vfork() system call do... Read more »
Page stealer finds the page eligible for swapping and places the page number in the list of pages to be swapped. Kernel copies the page to a swap device when necessary... Read more »
Fault handlers are also an interrupt handler with an exception that the interrupt handlers cannot sleep. Fault handlers sleep in the context of the process that... Read more »
If a process referring a page in the main memory whose valid bit is not set, it results in validity fault.The valid bit is not set for those pages:that are outside... Read more »
If the disk block descriptor does not contain any record of the faulted page, then this causes the attempted memory reference is invalid and the kernel sends a “Segmentation... Read more »
In situations like, where the copy on write bit of a page is set and that page is shared by more than one process, the Kernel allocates new page and copies the content... Read more »
Use ‘su’ command. The system asks for password and when valid entry is made the user gains super user (admin) privileges. Read more »
Two prompts, PS1 (Primary Prompt), PS2 (Secondary Prompt). Read more »
Shell variables are special variables, a name-value pair created and maintained by the shell. Example: PATH, HOME, MAIL and TERM Read more »
The input from a pipe can be combined with the input from a file . The trick is to use the special symbol “-“ (a hyphen) for those commands that recognize the... Read more »