0% found this document useful (0 votes)
11 views

Operating System Management

Osa subjects

Uploaded by

Kuya J
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views

Operating System Management

Osa subjects

Uploaded by

Kuya J
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 18

OPERATING SYSTEM

MANAGEMENT
Operating System Management Tasks

• The purpose of the operating system is to provide services to


programs and the users of a computer.
The common management tasks that an operating system
perform include:

• File Management
• User Management
• Memory Management
• Process Management
• Device Management
• Security Management
• User Interface Management
• Managing task in Windows
• Task Manager, which was previously known as Microsoft
Windows Task Manager, is a component of the Windows
operating system (OS) that helps administrators and end users
monitor, manage and troubleshoot tasks.
The user interface (UI) includes the following seven tabs:

• Processes. This tab lists all live processes currently running on


the system and the resources they're using. By default, the
processes are grouped into three categories: Apps, Background
processes and Windows processes.
• Performance. This tab monitors hardware resources in real
time, using visualizations to display performance data about
each resource.
• App history. This tab displays the CPU and network resources
that individual processes use. The information is specific to the
current user account and system accounts.
• Startup. This tab lists the processes that automatically load
when the computer boots up. Users can either enable or
disable a startup process.
• Users. This tab lists resource utilization information for each
user currently connected to the computer. The tab also lists
utilization information about the processes associated with
each user.
• Details. This tab displays all current processes, similar to the
Processes tab. However, the Details tab lets users display a lot
more information about each process, such as session ID, CPU
time, memory working set, base priority, handles, threads and
I/O reads and writes.
• Services. This tab, which is a pared-down version of the
Services utility, lists all actively running services. Users can
start, stop or restart services. They can also launch the Services
utility.
Managing task in Linux
• Managing tasks in Linux refers to the process of monitoring,
controlling, and manipulating the various processes and
applications running on a Linux system.
Stages of a Process in Linux

• Created. A process is created when a program is executed.


• Ready. The process enters the "ready" state when it is waiting to
be assigned to a processor by the Linux scheduler.
• Running. The process enters the "running" state when it is
assigned to a processor and is actively executing its instructions.
• Waiting. The process enters the "waiting" state when it is waiting
for some event to occur, such as input/output completion, a
signal, or a timer.
• Terminated. The process enters the "terminated" state when it
has completed its execution or has been terminated by a signal.
• Zombie. A process enters the "zombie" state when it has
completed its execution but its parent process has not yet read
its exit status.
Types of Process Management in Linux

• Foreground Processes
Foreground processes are interactive processes that require user
input. These processes are executed in the foreground and are
associated with a terminal.
• Background Processes (Non-Interactive Processes)
Background process management in Linux refers to the
management of processes that run in the background and do not
require user interaction. These processes are also referred to as
non-interactive processes and automatic processes. These
processes can be started by the operating system or by a user,
and they do not have an associated terminal.
Commands Used to Manage Processes in Linux

ps: This command is used to display information about running


processes. The "ps" command can be used to list all processes or
filter the list based on various criteria, such as the user who
started the process, the process ID (PID), and the process status.
top: This command is used to display a real-time view of system
processes. The "top" command provides information about the
processes running on the system, including their resource usages,
such as CPU and memory.

kill: This command is used to terminate a process. The "kill"


command can be used with the process ID (PID) of the process or
with a signal number to request a specific action.
nice: This command is used to adjust the priority of a process.
Higher-priority processes get more CPU time than lower-priority
processes. The "nice" command can be used to increase or
decrease the priority of a process, which affects its CPU usage.

renice: This command is used to change or adjust the priority of a


running process, which affects its CPU usage
pkill: This command is used to send a signal to a process to
request it to terminate. The "pkill" command can be used with a
current process name or a regular expression to match multiple
processes.

top: This command is used to display a real-time view of system


processes. The "top" command provides information about the
processes running on the system, including their resource usages,
such as CPU and memory.
obs: This command is used to display a list of background jobs
running in the current shell session.

fg: This command is used to move a background process to the


foreground. The "fg" command can be used with the job ID of the
background process.

bg: This command is used to move a suspended process to the


background. The "bg" command can be used with the job ID of the
suspended process.

You might also like