Loader Loads Programs From Executable Files Into Memory
Loader Loads Programs From Executable Files Into Memory
The benefits to this are the same as you are using right now reading this page. A time-
sharing system (what we call a server nowdays) provides many many people the opportunity to use
the system. Technically, even a standard PC is a time-sharing system, because you can run many
different programs on it at a time (think Browser, iTunes, Anti-Virus, etc.).
The old mainframe systems had a card reader and an output. Only one set of cards could be run
through at a time. So, if payroll was running through all 14000 employee's paycheck calculations, you
had to wait until they were done. Modern mainframe systems have some time-sharing capabilities by
allowing multiple processes to run on the system, but those processes are virtualized, rather than a
true sharing system. However, the details of that can be left to others.
There are benefits and downsides to every type of system. In a mainframe-style system, all resources
are available to the process being run, which benefits large data crunching operations (like payroll).
The downside to a mainframe-style system is that only one process can run at a time in each virtual
machine.
In a server-style system, all resources are shared among all processes. If a process "runs away" by
using more processes than it should, then the other processes suffer, which the end-user sees as a
server responding very slowly and/or "timing out". The upside to a server-style system is that you can
serve web pages to thousands of people, while at the same time handling thousands of pieces of
email.
3) A Process Control Block (PCB, also called Task Controlling Block or Task Struct) is a data
structure in the operating system kernel containing the information needed to manage a
particular process. The PCB is "the manifestation of a process in an operating system".
Register values for the process including, notably, the program counter and stack pointer
Priority (in which higher priority process gets first preference. eg., nice value on Unix
operating systems)
Process accounting information, such as when the process was last run, how much CPU time it
Pointer to the next PCB i.e. pointer to the PCB of the next process to run
I/O Information (i.e. I/O devices allocated to this process, list of opened files, etc)
During context switch, the running process is stopped and another process is given a chance to run.
The kernel must stop the execution of the running process, copy out the values in hardware registers
to its PCB, and update the hardware registers with the values from the PCB of the new process.
Since PCB contains the critical information for the process, it must be kept in an area of memory
protected from normal user access. In some operating systems the PCB is placed in the beginning of
the kernel stack of the process since that is a convenient protected location.
4) a) cp - copy a directory
8) ps - processor status
14) b) grep - it is used to search files or standard input globally for lines matching a given
regular expression.
15) pipelining - it is a set of processor chained by standard terms, so that the output of each
process feeds directly as input.
5) In the book entitled Computing Essentials by O'Leary (2008), the definition of connectivity is,
"Capability of the microcomputer to use information from the world beyond one's desk. Data and
information can be sent over telephone or cable lines and through the air so that computers can
talk to each other and share information. " That being said these networks can be LANs, or local
area networks and a networks gateway allows one LAN to be linked to other LANs. The Internet is
one of many computer networks, but since it is a very large network it is of extreme importance to
users. (O'Leary 2008) "Central to the concept of connectivity is the network... The largest network
6) The distinction between LAN and WAN (wide area networking) protocols
is beginning to blur. Ethernet was once considered to be a LAN protocol.
As time has passed, other technologies, such as Token-Ring, have
become minor players in the LAN world. Yet the opposite is true of
Ethernet. It has grown from a modest specification endorsed by Intel, DEC,
and other vendors, such that it now can be considered a WAN protocol.
The capabilities introduced by current LAN technologies are beginning to
erode the differences between a LAN and a MAN (metropolitan area
network). When the fourth edition of this book was published, Gigabit
Ethernet was starting to fall into the inexpensive range of network
topologies. That trend has continued and now 10Gigabit Ethernet (10GbE)
is frequently being used in enterprise data centers. Today you may be
using 100BASE-T for connecting client computers to the network, and
Gigabit Ethernet to connect network segments via the network backbone.
In some cases your network might even be exclusively based on 10GbE.
So we choose wide area network(WAN) connection.