Operating system: Difference between revisions

From Computer Science Wiki
No edit summary
Line 3: Line 3:
An operating system (OS) is system software that manages computer hardware and software resources and provides common services for computer programs. All computer programs, excluding firmware, require an operating system to function.<ref>https://en.wikipedia.org/wiki/Operating_system</ref>
An operating system (OS) is system software that manages computer hardware and software resources and provides common services for computer programs. All computer programs, excluding firmware, require an operating system to function.<ref>https://en.wikipedia.org/wiki/Operating_system</ref>


An operating system manages:
For example, allocating storage and keeping track of programs
in memory, swapping between programs on time-slicing, priority or when one is waiting for input.managing memory, peripherals and hardware interfaces.




An operating system also provides tools for managing the operating system. These are often called '''utilities''' or '''system tools'''. [[Media:Linux observability tools.png | Click here for a brilliant graphic showing the different types of tools you can use to view inside the Linux operating system]]


== Different operating systems ==  
== Different operating systems ==  
Line 31: Line 31:


== Linux tools to view internal management of resources ==  
== Linux tools to view internal management of resources ==  
An operating system also provides tools for managing the operating system. These are often called '''utilities''' or '''system tools'''. [[Media:Linux observability tools.png | Click here for a brilliant graphic showing the different types of tools you can use to view inside the Linux operating system]]. These tools give you insight and information for how the operating system is managing different resources. Below is a table with resources and tools to help you view how the OS is managing a particular resource.
<br />


{| class="wikitable"
{| class="wikitable"
|-
|-
! The OS manages !!  Linux tools you can use to understand what is going on
! Resource !!  Linux tools you can use to understand what is going on
|-
|-
| Memory || top, htop, free, vmstat
| Memory || top, htop, free, vmstat

Revision as of 22:36, 4 December 2017

Operating system placement.svg.png

An operating system (OS) is system software that manages computer hardware and software resources and provides common services for computer programs. All computer programs, excluding firmware, require an operating system to function.[1]

For example, allocating storage and keeping track of programs in memory, swapping between programs on time-slicing, priority or when one is waiting for input.managing memory, peripherals and hardware interfaces.


Different operating systems[edit]

  1. Linux
  2. OS X
  3. WIndows
  4. iOS
  5. Android OS
  6. Google chrome OS (Based on Linux)

A good video about operating systems[edit]


An excellent video about operating systems[edit]

Linux tools to view internal management of resources[edit]

An operating system also provides tools for managing the operating system. These are often called utilities or system tools. Click here for a brilliant graphic showing the different types of tools you can use to view inside the Linux operating system. These tools give you insight and information for how the operating system is managing different resources. Below is a table with resources and tools to help you view how the OS is managing a particular resource.

Resource Linux tools you can use to understand what is going on
Memory top, htop, free, vmstat
Processes top
Files File system, df, du, mount, lsof
Security fstab
CPU Scheduling perf
Devices, Device I/O iotop, iostat
Interrupts perf
The user interface, most often a GUI but also a CLI we dont really monitor this
Networks netstat, top, tcpdump, iptraf, iftop, nmon

Do you understand this topic?[edit]

  • Describe the main functions of an operating system.

Do you have an advanced understanding about this topic?[edit]

  • Describe how an operating system manages the functions you have just described above.

Standards[edit]

  • I can explain the role of the operating system in terms of managing memory, peripherals and hardware interfaces.

References[edit]