music
OSdata.com: programming text book 

OSdata.com

processes

summary

    This subchapter looks at UNIX (and Linux) processes.

free book on UNIX/Linux System Administration

Teach Yourself UNIX/Linux System Administration and Shell Programming

free computer programming text book project

table of contents
If you like the idea of this project,
then please donate some money.
more information on donating

Google

processes

    This subchapter looks at UNIX (and Linux) processes.

    The UNIX term process is pretty much the same as the terms job or task on other operating systems.

multi-tasking

    UNIX is a multi-processing operating system. This means that it runs more than one task (or job or process) at a time. On a multi-processor computer it is possible for UNIX to literally run multiple processes at the exact same time. On a single processor computer different processes are swapped into the main CPU (central processing unit) so fast that it gives the illusion that multiple processes are running simultaneously.

    One of the reasons that multitasking works is that the processor runs much faster than input/output or mass storage devices (and on modern computers often runs much faster than main memory). Whenever a process has to stop for input, output, or mass storage, there is a convenient moment for the operating system to switch to a different process that is ready to run rather than leave the CPU sitting idle waiting for the I/O to occur.

init

    The first process to start running on a traditional UNIX computer is init. Some modern variations, such as Linux, may have a few other processes run first, especially.if the computer or server supports multiple operating systems.

    init starts a series of other processes (in UNIX, this is called spawning). Some of these processes only run during boot-up, while others are intended to run as long as the computer is running.

    By the time a human user can login to the system, many processes are running.

    init is ultimate ancestor process of all other processes in a UNIX system.

process ID

    Every process on UNIX (or Linux) has a unique process identification number, called the process ID.

    A system administrator uses the process IDs to control the processes.

kill

    One useful command available for the system administrator is the kill command, which stops a process and removes it from the system.

    An ordinary user can only kill his or her own processes.

    A system administrator running as root (including using sudo) can use kill on any process on the entire system.

    See the subchapter on kill for more information.


comments, suggestions, corrections, criticisms

please contact us

your name:
email address:
phone number:
message:

free music player coding example

    Coding example: I am making heavily documented and explained open source code for a method to play music for free — almost any song, no subscription fees, no download costs, no advertisements, all completely legal. This is done by building a front-end to YouTube (which checks the copyright permissions for you).

    View music player in action: www.musicinpublic.com/.

    Create your own copy from the original source code/ (presented for learning programming).


return to table of contents
free downloadable college text book
free downloadable system administrator and shell programming book

view text book
HTML file

Because I no longer have the computer and software to make PDFs, the book is available as an HTML file, which you can convert into a PDF.

previous page next page
previous page next page

free book on UNIX/Linux System Administration

Teach Yourself UNIX/Linux System Administration and Shell Programming

free computer programming text book project

Building a free downloadable text book on computer programming for university, college, community college, and high school classes in computer programming.

If you like the idea of this project,
then please donate some money.

send donations to:
Milo
PO Box 1361
Tustin, California 92781

Supporting the entire project:

    If you have a business or organization that can support the entire cost of this project, please contact Pr Ntr Kmt (my church)

more information on donating

Some or all of the material on this web page appears in the
free downloadable college text book on computer programming.


Google


Made with Macintosh

    This web site handcrafted on Macintosh computers using Tom Bender’s Tex-Edit Plus and served using FreeBSD .

Viewable With Any Browser


    †UNIX used as a generic term unless specifically used as a trademark (such as in the phrase “UNIX certified”). UNIX is a registered trademark in the United States and other countries, licensed exclusively through X/Open Company Ltd.

    Names and logos of various OSs are trademarks of their respective owners.

    Copyright © 2012 Milo

    Created: October 1, 2012

    Last Updated: October 1, 2012


return to table of contents
free downloadable college text book
free downloadable system administrator and shell programming book

previous page next page
previous page next page