02 01 Operating System Services P1 — Transcript
Full transcript
- 0:08[Music]
- 0:25hi there
- 0:26this video lecture covers operating
- 0:29system services
- 0:33so this will be the outline of the
- 0:34discussion
- 0:35okay so we will be talking about the
- 0:37operating system services
- 0:39the user and operating system interface
- 0:42system calls
- 0:44system services linkers and loaders
- 0:47why applications are operating systems
- 0:50specific
- 0:51design and implementation
- 0:53operating system structure
- 0:55building and booting an operating system
- 0:58and operating system debugging
- 1:01okay so this video covers a lot of
- 1:04technical things and technical matters
- 1:06so bear with me
- 1:08all right
- 1:09so for the objective of this video
- 1:13so at the end of this video you should
- 1:14be able to identify services provided by
- 1:16an operating systems
- 1:18illustrate how system calls are used to
- 1:22provide operating system
- 1:24services compare and contrast monolithic
- 1:28layered microkernel
- 1:30modular and hybrid strategies for
- 1:32designing operating systems
- 1:35illustrator process for booting and
- 1:38operating system
- 1:40apply tools for monitoring operating
- 1:42system performance
- 1:44and design and implement kernel modules
- 1:46for interacting with a linux kernel
- 1:50so let's start
- 1:53so operating system services so this
- 1:56pertains to the functionalities of
- 1:58operating systems provided to the users
- 2:02all right
- 2:03so an operating system provides an
- 2:05environment for execution
- 2:07of programs and services
- 2:09to programs and users
- 2:12so
- 2:13imagine your computer without an
- 2:15operating system how can we run a
- 2:17program how can we execute a program
- 2:20or how can we interact with
- 2:22the hardware okay so those are just some
- 2:25of the operating system services
- 2:27okay
- 2:28so
- 2:29one set of operating system services
- 2:32provides a function that are helpful to
- 2:34the user so this includes user interface
- 2:36or ui
- 2:38okay
- 2:38now in terms of the user interface the
- 2:41old computers are using this command
- 2:44line all right or the cli the command
- 2:47line
- 2:48interface so i use the term ci or
- 2:51command interface or command line
- 2:54interface or cli interchangeably on the
- 2:56discussion
- 2:57so some operating systems are using gui
- 3:00so we are well aware about it okay so
- 3:03most of the operating systems are using
- 3:05gui
- 3:06for the mobile devices so they are using
- 3:09gui and at the same time touch screen
- 3:11okay you also have batch
- 3:13all right
- 3:14so aside from user interface another
- 3:16service provided by the operating system
- 3:19is of course
- 3:21program execution the operating systems
- 3:24allows us to execute programs
- 3:27okay
- 3:28next is io operations okay so a running
- 3:32program may require an i o like what we
- 3:34discussed in chapter one
- 3:36which may involve a file or an i o
- 3:39device
- 3:41okay so mostly or most of the time
- 3:44this peripherals connected to the
- 3:46computer
- 3:47are sending an io if needed okay
- 3:51for the
- 3:54uh temporary hold
- 3:56okay or stop of these services or the
- 3:59execution of the operating systems to
- 4:01give way
- 4:02to the request of the i o
- 4:05okay
- 4:06so next is file system manipulation
- 4:10so the system file is of particular
- 4:12interest so program needs to read and
- 4:14write files and directories create and
- 4:17delete them search them
- 4:19list file information
- 4:22and permission management so with file
- 4:24system manipulations we users are
- 4:26allowed by the operating systems to
- 4:29create
- 4:30to edit delete
- 4:32okay organize folders
- 4:34so those are one of the services
- 4:36provided by the operating systems
- 4:40okay
- 4:42next so aside from those also the
- 4:45operating systems allows us to
- 4:47communicate okay communicate with the
- 4:50hardware communicate with the other
- 4:52computers on the network communicate
- 4:54over the internet okay
- 4:57so next is error detection
- 4:59so os needs to be constantly aware of
- 5:02the possible errors
- 5:04so there are a lot of errors okay so in
- 5:07the operations
- 5:08okay and the operating system provides
- 5:11services for such
- 5:13so it may occur in the cpu and memory
- 5:15hardware
- 5:16in io devices
- 5:18or in user program itself
- 5:21all right
- 5:22so for each type of error
- 5:25os should take the appropriate action to
- 5:28ensure correct and consistent or
- 5:30consistent computing
- 5:32so debugging facilities can greatly
- 5:34enhance the users and programmers
- 5:36abilities to efficiently use the system
- 5:42okay so aside from those services
- 5:45okay
- 5:46basically another set of os functions
- 5:49exist for ensuring the efficient
- 5:50operation of the system itself via
- 5:53resource sharing
- 5:54okay
- 5:55so
- 5:56this includes resource allocation
- 5:59lagging protection and security
- 6:02okay so for the resource allocation
- 6:04basically one of the function of the
- 6:06operating system is to allocate
- 6:08resources
- 6:09to every process requesting it
- 6:11so every time we open a program
- 6:13basically
- 6:14that program
- 6:16okay
- 6:17once you run it it becomes a process and
- 6:20a process for it to run and execute
- 6:23needs resources like memory
- 6:25as a cycle or a time of the cpu and
- 6:28other resources needed
- 6:30okay resource allocation
- 6:32next is lagging
- 6:34so to keep track of which users and how
- 6:36much
- 6:38and what kind of computer resources
- 6:41are being
- 6:42used
- 6:43or being are currently being held better
- 6:45users
- 6:47so protection and security
- 6:49so the owners of information stored in a
- 6:51multi-user or network computer systems
- 6:54may want to control the use of that
- 6:56information
- 6:57concurrent processes should not
- 7:00interfere with each other so protection
- 7:03it involves ensuring that all access to
- 7:05the system
- 7:06is controlled
- 7:08okay whereas security
- 7:11of the system from outsiders requires
- 7:13user authentication so authentication
- 7:17means we are asked to log in we are
- 7:20asked to use our own username and
- 7:22password to get inside the operating
- 7:25system okay so that is security that is
- 7:28one of the service provided by the
- 7:30operating systems
- 7:32all right
- 7:35now
- 7:36for
- 7:38the resource allocation okay so let me
- 7:40open my task manager here
- 7:42okay so when you say resource allocation
- 7:45basically we can monitor the resource
- 7:47allocation of the operating systems on
- 7:49our computer or on our device okay
- 7:53so if you if you will observe in here
- 7:56okay
- 7:57my cpu utilization is 42
- 8:01okay so and i am running 168 processors
- 8:03here
- 8:05all right
- 8:06so
- 8:07168 processors with 1900 plus threads
- 8:12okay
- 8:13so the memory being used is 61
- 8:16and so on so basically
- 8:19these resources
- 8:21is shown here okay so i have here the
- 8:24running applications or the programs
- 8:26okay
- 8:27and then we have here the resources
- 8:29allocated by the operating systems
- 8:32all right so basically the operating
- 8:35systems is a resource allocator
- 8:39okay
- 8:42next
- 8:43a view of an operating system services
- 8:47okay
- 8:48so
- 8:50from the first chapter or chapter one we
- 8:52have shown the interactivity
- 8:55okay or the components of the computer
- 8:58systems
- 8:59which includes hardware
- 9:01all right operating systems
- 9:04okay the services
- 9:06all right are the application programs
- 9:10and the user
- 9:11and other system programs
- 9:14okay
- 9:15so
- 9:16we cannot directly communicate with the
- 9:18hardware basically we are using the
- 9:20application programs here
- 9:22okay so to interact with operating
- 9:24systems so that operating systems will
- 9:26relay that to the hardware
- 9:29all right
- 9:30so on the application programs here it
- 9:32could be in the form of a graphical user
- 9:34interface all right or a touch screen or
- 9:37a command line
- 9:38so basically we can interact with the
- 9:41operating systems either by tapping the
- 9:43command on the cli okay
- 9:45by touching an icon on the screen touch
- 9:49screen or maybe
- 9:51we are using this a mouse okay
- 9:53interactive or interactivity with the
- 9:56graphical user interface
- 9:58okay
- 9:59and all of this
- 10:01we communicate with operating systems
- 10:04via system calls
- 10:06all right so it's just that we have to
- 10:08call or we have to make a system call so
- 10:11that we can interact with the services
- 10:13and functionalities provided by the
- 10:15operating systems and this services
- 10:17includes program execution
- 10:20io operations file systems
- 10:22communications resource allocation
- 10:25accounting
- 10:26error detection and protection and
- 10:28security
- 10:29so this summarizes
- 10:31the services provided by the operating
- 10:34systems to the users
- 10:36all right
- 10:39next so let's take the command line
- 10:42interpreter or the ci or command
- 10:45interpreter okay
- 10:47so the ci or the command line
- 10:49interpreter gets
- 10:51and process the next user request and
- 10:54launches the requested programs
- 10:56so in some systems
- 10:58the ci or the cli may be incorporated
- 11:01directly into the kernel
- 11:03okay
- 11:04so more
- 11:06commonly the ci is a separate program
- 11:10that launches
- 11:12once the user logs in or otherwise
- 11:14accesses the system
- 11:18okay
- 11:19so in
- 11:21linux or in unix
- 11:23this cli
- 11:24is implemented in many players and they
- 11:27called it shells okay so in windows
- 11:31they are using the
- 11:32command prompt okay so let me open my
- 11:35cmd here
- 11:37okay command prompt this is a cli
- 11:41okay this is how it looked like
- 11:43this is a command prompt
- 11:44and also a newer version of windows has
- 11:48what you call shell
- 11:49okay or powershell
- 11:51so if in unix or in linux we have what's
- 11:54called shell okay born shell corn shell
- 11:58in windows we also have this power shell
- 12:01okay
- 12:02and basically this power cl uses aliases
- 12:06all right
- 12:07so for example there are some commands
- 12:09that still works on
- 12:12on powershell that was adapted from this
- 12:15command prompt example so we want to
- 12:17show the
- 12:18the
- 12:19content
- 12:21of the drive c users id
- 12:24so these are the contents or these are
- 12:26the files within it
- 12:28all right
- 12:29so this command is also working on the
- 12:32powershell
- 12:34okay
- 12:35so you'll have that
- 12:36but we have a command adapted from linux
- 12:40that works here
- 12:41on powershell okay and this is the
- 12:45command like list
- 12:47ls
- 12:48okay same thing but ls or list is not
- 12:52working
- 12:53in command prompt
- 12:56all right so these are the two command
- 12:58prompt or sorry command line interpreter
- 13:01provided by windows so it's either we
- 13:02use the command prompt or
- 13:04the windows powershell all right
- 13:09so this is how
- 13:11a born shell command interpreter looked
- 13:13like okay
- 13:15so similar to that of a dos
- 13:17but
- 13:18it's actually a shell
- 13:20okay
- 13:21so
- 13:22the windows power shell was patterned
- 13:24after this because the old operating
- 13:27systems from microsoft
- 13:29doesn't have any shell so it started i
- 13:31guess in windows 8.
- 13:34all right
- 13:35so next is the gui so basically the the
- 13:39graphics that we saw
- 13:41on our computer every time we
- 13:43boot it up okay so that is
- 13:47a gui
- 13:48or a graphical user interface so we have
- 13:50this user-friendly desktop metaphor
- 13:53interface with an icons okay
- 13:56and a mouse or
- 13:59a keyboard
- 14:01and the monitor
- 14:02okay so basically this mouse
- 14:06fyi
- 14:07okay she did you know that mouse was
- 14:09invented by xerox corporation
- 14:12and xerox corporation is basically into
- 14:15a photocopier business
- 14:17all right so but then it has found an
- 14:20application okay it's very useful in a
- 14:24personal computer and even a laptop
- 14:25nowadays
- 14:28okay
- 14:30next is touchscreen so most of the
- 14:32smartphones nowadays are using this
- 14:35touchscreen interfaces okay
- 14:37so because mice and keyboards are
- 14:39impractical for small mobile devices so
- 14:42this normally use a touch screen
- 14:44interface
- 14:45just like this um an ios interface here
- 14:49okay that responds to various patterns
- 14:52of swipes
- 14:53or gestures
- 14:55so when this first came out
- 14:57they often had a physical keyboard
- 15:00and or a trackball of some kind
- 15:02okay built in
- 15:04but today a virtual keyboard is more
- 15:06commonly implemented on the touchscreen
- 15:09all right and it could also be a voice
- 15:12activated
- 15:14okay or voice commands
- 15:16all right
- 15:20next this is the gui interface of a mac
- 15:23os all right
- 15:28so mac has traditionally provided only
- 15:31the google interface
- 15:33so with the advent of os x
- 15:36okay so based partially on unix a
- 15:38command interface has also become
- 15:40available so it's just like another form
- 15:43of operating system just like windows
- 15:54[Music]
- 16:02you
About this transcript
This page contains the full transcript of 02 01 Operating System Services P1 by Santelmo, generated from the public captions YouTube serves with the video. The transcript has 1,887 words across 406 segments, with the original timestamps preserved so you can click any line to jump to that moment in the embedded player.
What you can do with it
Use the transcript to take notes, quote the speaker, build a study guide, generate a summary with ChatGPT or Claude via the YouTube Summary tool, or export it as a timed subtitle file with YouTube to SRT. You can also re-open it in the transcriber to translate the transcript into 100+ languages.
Free YouTube transcript tool
YouTube2Text is a free YouTube transcript generator — no signup, no daily limit. Paste any YouTube link and get the full transcript instantly, with timestamps, click-to-jump, translation to 100+ languages, AI prompts for ChatGPT, Claude, and Gemini, and exports to TXT, SRT, VTT, or Markdown.