Professional Documents
Culture Documents
Overview of PC Operating System: LI Xiang Telecommunication Division, NMC, China E-Mail: Lixiang@cma - Gov.cn
Overview of PC Operating System: LI Xiang Telecommunication Division, NMC, China E-Mail: Lixiang@cma - Gov.cn
LI Xiang
Telecommunication Division, NMC, China E-mail: lixiang@cma.gov.cn
An operating system is the software that provides the interface between the hardware of a computer system and the applications programs that are used on it.
1. Introduction to Windows
Windows is a series of operating systems developed by Microsoft. Object oriented and easy-to-use Graphical User Interface (GUI) Multitasking Operating systems
Multiprocessing
Multithreading
MS Windows kernal
Windows 9X kernal
Windows 3.X/95/98/ME
In 2001, Microsoft announced ceasing the development of Windows 9X kernal.
Windows NT kernal
Windows NT/2000/XP
Service process
User application
Environment subsystem
Subsystem DLLs
user mode
kernel mode
Executive
kernel Device Drivers GUI Hardware Abstraction Layer
Scheduling threads Scheduling interrupt Synchronizing multiprocessor
-Process communication
Windows Desktop
Icons, Start Button, Taskbar Configuration and management hardware Configuration and management system resources Install and uninstall application software Files and folders
Control pannel
File manager
program files: executable data files: not executable and associated with a specific program or file format file naming
a file name can contain up to 255 characters including letters, numbers, spaces and some other printable characters. a file name cant contain the following characters: /\:*?"<>|
Tasks manager
Network
Supporting NetBEUI, TCP/IP, IPX, Providing the network application programs and tools, such as ftp, telnet, ping, tracert, netstat, Allowing sharing disks, files and printers among MS Windows machines.
2. Introduction to Unix
Developed at Bell Laboratories in 1969. Written with the high-level programming language C.
AIX, Digital Unix, Hp Unix, Sco Unix, which is a PC-based Unix operating system
Features of Unix
Mature and stable operating system Graphical User Interface operating system Multitasking capability Multiprocessing Multithreading Multiuser capability
System portability
allowing multiple users to utilize the computer and run programs at the same time. Capable of moving from one brand of computer to another with a minimum of code changes . The operating system could be upgraded without having all the user's data inputted again.
8
User interface
Providing two methods for user to interact with the operating system
GUI, for users of workstations or intelligent terminals with bit-mapped displays. Command line interface, for users of a character cell terminal or terminal emulator.
10
File system
a root filesystem: /bin, /lib, /etc, /dev, a /usr filesystem: programs and unchanging data a /var filesystem: changing data (such as log files) a /home filesystem: users files Ordinary disk files Special files
Types of files
Each physical device on a Unix system is treated as a special file. Located in the /dev directory.
Directory flies File and directory names can include letters, numbers, periods(.), underscores(_), and some other printable characters. Avoid characters with special programming or system meanings, such as /, *?[]<>$&!. Generally, a name of file and directory can contain up to 255 characters. Accessing directories: cd , ls, pwd Finding files: find Viewing files: more, cat, tail, head Editing files: vi, ed
11
A process
Is a program that is currently executing Can be created and destroyed Has resources allocated to it Has an environment associated with it that:
Process and process group IDs Open files Working directory File creation mask Real and effective user and group IDs Resource limits: maximum file size, maximum amount of memory Signal action settings A set of named variables
12
Creating a process
Running jobs in the foreground: command Running jobs in the background: command & jobs
Displays status of jobs in the current session Job number, job status, PID
Shows current status of processes PID, state, accumulated execution time, command,
ps
Placing a job in the foreground: fg Restarting a job in the background: bg Stopping a process: Ctrl/C, kill Setting process priority: nice Scheduling jobs to run at appropriate times: at, crontab
13
Networking Services
UUCP
Unix to Unix copy program A batch-processing/spooling system Typically used between systems with dial-up telephone lines or direct serial lines rlogin, rcp, rsh, telnet, ftp Ping, netstat, trouceroute Allowing transparent file access over TCP/IP networks among computers, including Unix, Linux and MS Windows machines.
TCP/IP
IPX/SPX
Online documentation
Unix commands are documented on line in the man pages. The man command provides online access to the system's reference pages.
15
3. Introduction to Linux
Torvalds with the assistance of developers around the world. The source code for Linux is freely available to everyone. GUI operating system, including many of the tools that Windows users are familiar with such as,
Requiring less system resources. A Linux based system can operate smoothly on a 386 or 486. Application software support
Office applications: Corel WordPerfect Office 2000 for Linux Deluxe Graphics tool: Gimp Browsers: Netscape Communicator 4.75, Opera browser
16
Examples
MS Windows NICC: AIX RICC, PICC: AIX, Digital Unix CIMS: Sco Unix, will be replaced by Linux in future.
FTP (get)
FTP (put)
TCP
scokets
Data management PCVSAT Mux and storage - PC - IBM H50 - Windows NT - AIX - Sybase
PCVSAT receiver Data Database management - PC - PC - PC - Windows 98 - Sco Unix - Sco Unix - Sybase CIMS
NICC
Thank you
19