Unit 1
Unit 1
Vision:
To give emphasis and focus on the development of competent
technocrats to accept need based challenges with a sense of
social responsibility.
Mission:
M1To incorporate the educational programme from basic
engineering to emerging trends.
M2: To establish standards of education to meet the
requirements of Technology and Industry.
M3 To make continuous efforts to inculcate the sense of social
responsibility among students.
Vision of Department
Vision:
Mission:
M 1 : To implement teaching-learning processes for the
spreading the knowledge of fundamental engineering and
emerging trends .
M2 : To adapt teaching practices to meet the needs of IT
industry and society.
M3 : To inculcate the sense of social responsibility among
learners.
Features of Linux Operating System
• The term Open Source refer to a program or software.
• In this program or software the code is available for public use
or modification.
• Open source operating system are released under a licence
where copyright holder allow to study ,change or distribute
the software.
• Linux is one of the most popular open source operating
system.
• Linux has an Internet Based Development Environment.
Features of Linux Operating System
Features of Open Source Operating System:
• No royalty for licensing free open source operating system.
• Allow greater opportunity for s/w application architecture.
• Incorporate tool for any system in real world.
• Easy to manage.
• Easy to understand.
Features of Linux Operating System
Features of Linux Operating System
Kernel :
• Kernel is the core part of Linux.
• It is responsible for all major activities of this o.s.
• It consists of various modules and it interacts directly with the
underlying hardware.
• Kernel provides the required abstraction to hide low level
hardware details to system or application programs.
Features of Linux Operating System
System Library :
Sr No Distribution
1 Slackware
2 Red Hat
3 Fedora
4 Gentoo
5 Mandriva
6 OpenSuSe
7 Debian
Features of Linux Operating System
Specialized Distributions :
• Specialized Distribution contain only a subset of application
depending on the end user.
• Ex: Specialized linux Distribution with only office products for
business users.
Sr No Desrption
1 Xandros
2 SimplyMEPIS
3 Ubuntu
4 PCLinuxOS
5 Mint
6 Dyne:bolic
7 Puppy Linux
Features of Linux Operating System
Live CD Linux Distributions :
• Linux LiveCD distribution allows you to install the Linux
distribution directly from the Live CD.
• Linux LiveCD enables you to boot with CD, test drive the linux
distribution& then install.
Sr. No. Desription
1 Knoppix
2 Simply MEPIS
3 PCLinuxOX
4 Ubuntu
5 Slax
6 Puppy Linux
Features of Linux Operating System
Advantages of Linux:
• Fast & easy Installation.
• Low Cost.
• Security.
• Wider Choice.
• Compatibility.
• Stability.
• Performance.
• Flexibility.
• Network Friendliness.
• Open source.
• Better use of Hard Disk.
Features of Linux Operating System
Dis-Advantages of Linux:
• No standard Edition.
• Learning Curve.
• Compatibility.
• Alternative Program.
• Unsupported Hardware.
• Open Source.
Features of Linux Operating System
OS Services :
An operating system provides services to both the user & to the
program.
• Process Related Service.
• I/O Related Service.
• File System Service.
• Communication Related Service.
• Error Handling Service.
• Resource Management Service.
• Protection Service.
Features of Linux Operating System
Application of Linux :
• Web Servicing.
• Networking.
• Database.
• Desktops.
• Scientific Computing.
• Home Computing.
Features of Linux Operating System
Features of Linux Operating System
Linux system architecture is consist of Following layer :
• Hardware Layer.
• Kernel.
• Shell.
• GNU Utilities.
Features of Linux Operating System
Hardware Layer :
• Hardware consists of all peripheral devices like RAM/
HDD/CPU etc.
Features of Linux Operating System
Kernel :
• The core of the Linux system is the Kernel.
• The heart of the Linux system is a program called kernel.
• The kernel control all the hardware & software of the
computer system.
• Kernel allocate hardware when necessary.
• Kernel execute software when required.
Features of Linux Operating System
Kernel is preliminary responsible for main function :
1. Iterative Process:
a) Interactive process are initiated & controlled by terminal
session.
b) Interactive process run in the foreground.
2. Batch process:
a) Batch processing is very convenient for non-urgent, long
lasting data processing.
Features of Linux Operating System
3. Daemons:
a) Daemons perform different system related task.
b) Daemons wait in the background until some process
require services.
Features of Linux Operating System
Process Attribute:
1. Parent Process ID (PPID).
2. Real & Effective User ID (RUID & EUID).
3. Real & Effective Group ID (RGID & EGID).
4. Process Group ID (PGID).
5. Control Terminal (TIY).
6. Terminal Group ID (TGID).
7. Current Working Directory (CWD).
8. Nice Number.
Features of Linux Operating System
File Descriptors:
1. File descriptor are integer.
2. File descriptor are used to identify file’s that have been
attached to process.
3. File descriptor 0, 1, 2 are associated with standard input,
output and standard error.
Features of Linux Operating System
Process Status:
1. Runnable: The process is ready to execute whenever there is
CPU available.
2. Sleeping: The process is waiting for a specific event to
occurs.
3. Stopped: The process is suspended & forbidden to run as
the result of the required stop signal.
4. Zombie: The process is trying to die another common term
default.
5. Swapped : The process is removed from the system main
memory to disk.
Features of Linux Operating System
Context Switching:
1. The scheduler is responsible for deciding what process gets
to run.
2. When a process is running, the system is said to be in that
context of that process.
3. When the kernel decide to execute another process, it does
a context switch.
4. For doing a context switch the kernel has to save enough
information. So that it can switch back to the earlier process.
Features of Linux Operating System
Context Switching:
5. The kernel allows a context switch only when a process from
the state kernel running to the state asleep in memory.
6. The kernel maintain consistency of its data structure.
7. A context switch is the switching of the CPU from one
processes to another.
8. This task is known as Context Switch.
Features of Linux Operating System
Shell: