SlideShare a Scribd company logo
2
Most read
4
Most read
Process and Thread
Management in Solaris
Operating System
Created by – Samyak Jain
MCA/25014/2022
Submitted to – Shripal Vijayvargiya Sir
What is Process?
 A Process is an instance of a running program or a
program in execution.
 A Process can create another process called a child
process,any process that creates the child process is
called the parent process.
 This creation of new processes from existing parent
processes is called forking.
 Each process is identified uniquely with a positive integer
number names PID.
Process and Thread Management
Managing processes becomes important in a multiuser environment such as
Solaris.
There are three broad categories of tasks associated with the management of
the systems processes:
 Monitoring the Processes
Viewing the PID,UID and PPID
Viewing the priority of the process
Viewing the Resource Usage(in terms of memory and processor utilization)
Viewing the state of the process ,etc.
 Controlling the Processes
using Signals
Assigning the priority to the processes
 Scheduling the Processes
Monitoring the Processes
In Solaris, you can monitor processes that are exactly on a system by using one of
the commands listed.
1.ps command – the ps command can be used to view the processes running on the
system.
• ps prints information about processes that have the same effective user ID and the
same controlling terminal as the invoker of ps command.
• The output contains only the process ID(PID), terminal identifier (TTY),cumulative
execution time (TIME), and the command name (CMD).
2.pgrep – the pgrep command examines the active processes on the system and
reports the process IDs of the processes whose attributes match the criteria
specified on the command line.
3.prstat – the prstat command iteratively examines all active processes on the system and
reports overall statistics on screen.
Syntax – prstat [option] <count> <interval>
4.preap – you can use the preap command to clean up a defunct or a zombie process.
5.pstop – A process can be temporarily suspended with the pstop command.
• You need to specify the PID of the process to be suspended.
# pstop 1234
6. prun – A temporarily suspended process can be resumed and made runnable with prun
command.
# prun 1234
7.pwait – pwait command blocks and wait for termination of a process.
8.pwdx – the current working directory of a process can be displayed using the pwdx
command
9.pfiles – A list of files open within a process can be displayed with the pfiles command
Controlling the Processes
Controlling the processes in solaris includes clearing hung processes,
terminating unwanted or misbehaving process, changing the execution
priority of a process , resuming a suspended process , and so on.
The different ways the process can be controlled in solaris:-
1. The nice and renice Commands – the nice value of a process represents
the priority of the process.
- Every process has a nice value in the range from 0 to 39 being the
nicest.
- Higher the nice value, the lower the priority.
- by default ,user processes start with a nice value of 20.
2. Signals – Solaris supports the concepts of signals, which are software
interrupts.
- Signals can be used for communication between processes.
- A signals notifies the receiving process about an event.
Scheduling Processes
Scheduling Processes includes assigning priorities to the processes based on the
importance and the need.
Using these command one can increase the priority of the process.
1.cron Utility – cron utility allows tasks to be automatically run in the
background at regular intervals by the cron daemon. These are often termed as
cron jobs in solaris.
- cron daemon: Is a software process that runs in the background
continuously and provides the service to the client upon request.
2.at command – the at command lets you specify a one-time action to take
place at some desired time.
syntax- at [-m] <time> <date>
• atq- to check your jobs that are waiting in the queue.
syntax – $ at –l [job-id]
• at –r – this command is use to remove any existing at job.
syntax - # at –r [job-id]
THANK YOU

More Related Content

PPTX
Managing Processes in Unix.pptx
PPTX
Managing Processes in Unix.pptx
PPTX
Linux system administration
PPTX
13 process management
PPTX
UNIX Notes
PPTX
AOS_Module_4ssssssssssssssssssssssss.pptx
DOCX
Week 11Linux InternalsProcesses, schedulingLecture o.docx
PDF
unixoperatingsystem-130327073532-phpapp01.pdf
Managing Processes in Unix.pptx
Managing Processes in Unix.pptx
Linux system administration
13 process management
UNIX Notes
AOS_Module_4ssssssssssssssssssssssss.pptx
Week 11Linux InternalsProcesses, schedulingLecture o.docx
unixoperatingsystem-130327073532-phpapp01.pdf

Similar to Process and Thread Management in Solaris Operating System.pptx (20)

PDF
Course 102: Lecture 17: Process Monitoring
PPTX
Advanced Operating Systems......Process Management
PPTX
Unix operating system
PDF
Unit 10 investigating and managing
PPTX
Resource Monitoring and management
PPTX
578781849-RHSA-1-Chap578781850-RHSA-1-Chapter-4ter-7.pptx
PPT
PDF
Interview operating system solaris
PDF
Linux Process Manager The Internals Of Scheduling Interrupts And Signals John...
PDF
Solaris basics
PPT
3.5 create, monitor and kill processes v2
PPT
Unix Internals OS Architecture
PDF
Course 102: Lecture 16: Process Management (Part 2)
PPTX
DOCX
Os examples scheduling
PPTX
operating system module 2 presentation notes
PPTX
Network and System Administration Power Point
PPT
101 3.5 create, monitor and kill processes v2
PPTX
Process management in linux
PDF
The Design of the UNIX Operating System Maurice J. Bach
Course 102: Lecture 17: Process Monitoring
Advanced Operating Systems......Process Management
Unix operating system
Unit 10 investigating and managing
Resource Monitoring and management
578781849-RHSA-1-Chap578781850-RHSA-1-Chapter-4ter-7.pptx
Interview operating system solaris
Linux Process Manager The Internals Of Scheduling Interrupts And Signals John...
Solaris basics
3.5 create, monitor and kill processes v2
Unix Internals OS Architecture
Course 102: Lecture 16: Process Management (Part 2)
Os examples scheduling
operating system module 2 presentation notes
Network and System Administration Power Point
101 3.5 create, monitor and kill processes v2
Process management in linux
The Design of the UNIX Operating System Maurice J. Bach
Ad

More from SamyakJain710491 (11)

PPTX
Bayesian Belief Network and its Applications.pptx
PPTX
Compiler Design PPT.pptx
PPTX
performance appraisal at Tech Mahindra.pptx
PPTX
Process Based Estimation.pptx
PPTX
Internet Protocol(Samyak Jain 25014).pptx
PPTX
Equivalence of DFAs and NFAs.pptx
PPTX
Binomial_Coefficient_and_World_series_problem_using_Dynamic_Programming.pptx
PPTX
Cache Coherence.pptx
PPTX
VALIDATION BASED PROTOCOL AND MULTIPLE GRANULARITY.pptx
PPTX
SWING.pptx
PPTX
AVL tree PPT.pptx
Bayesian Belief Network and its Applications.pptx
Compiler Design PPT.pptx
performance appraisal at Tech Mahindra.pptx
Process Based Estimation.pptx
Internet Protocol(Samyak Jain 25014).pptx
Equivalence of DFAs and NFAs.pptx
Binomial_Coefficient_and_World_series_problem_using_Dynamic_Programming.pptx
Cache Coherence.pptx
VALIDATION BASED PROTOCOL AND MULTIPLE GRANULARITY.pptx
SWING.pptx
AVL tree PPT.pptx
Ad

Recently uploaded (20)

PPTX
assetexplorer- product-overview - presentation
PPTX
Cybersecurity: Protecting the Digital World
PPTX
Weekly report ppt - harsh dattuprasad patel.pptx
PDF
MCP Security Tutorial - Beginner to Advanced
PDF
Wondershare Recoverit Full Crack New Version (Latest 2025)
PDF
Multiverse AI Review 2025: Access All TOP AI Model-Versions!
PPTX
Trending Python Topics for Data Visualization in 2025
PDF
Website Design Services for Small Businesses.pdf
PDF
AI/ML Infra Meetup | LLM Agents and Implementation Challenges
PPTX
Advanced SystemCare Ultimate Crack + Portable (2025)
PPTX
CNN LeNet5 Architecture: Neural Networks
PPTX
GSA Content Generator Crack (2025 Latest)
PDF
EaseUS PDF Editor Pro 6.2.0.2 Crack with License Key 2025
PPTX
AMADEUS TRAVEL AGENT SOFTWARE | AMADEUS TICKETING SYSTEM
PDF
How AI/LLM recommend to you ? GDG meetup 16 Aug by Fariman Guliev
PPTX
Introduction to Windows Operating System
PPTX
Monitoring Stack: Grafana, Loki & Promtail
PPTX
Oracle Fusion HCM Cloud Demo for Beginners
PDF
Designing Intelligence for the Shop Floor.pdf
PDF
DNT Brochure 2025 – ISV Solutions @ D365
assetexplorer- product-overview - presentation
Cybersecurity: Protecting the Digital World
Weekly report ppt - harsh dattuprasad patel.pptx
MCP Security Tutorial - Beginner to Advanced
Wondershare Recoverit Full Crack New Version (Latest 2025)
Multiverse AI Review 2025: Access All TOP AI Model-Versions!
Trending Python Topics for Data Visualization in 2025
Website Design Services for Small Businesses.pdf
AI/ML Infra Meetup | LLM Agents and Implementation Challenges
Advanced SystemCare Ultimate Crack + Portable (2025)
CNN LeNet5 Architecture: Neural Networks
GSA Content Generator Crack (2025 Latest)
EaseUS PDF Editor Pro 6.2.0.2 Crack with License Key 2025
AMADEUS TRAVEL AGENT SOFTWARE | AMADEUS TICKETING SYSTEM
How AI/LLM recommend to you ? GDG meetup 16 Aug by Fariman Guliev
Introduction to Windows Operating System
Monitoring Stack: Grafana, Loki & Promtail
Oracle Fusion HCM Cloud Demo for Beginners
Designing Intelligence for the Shop Floor.pdf
DNT Brochure 2025 – ISV Solutions @ D365

Process and Thread Management in Solaris Operating System.pptx

  • 1. Process and Thread Management in Solaris Operating System Created by – Samyak Jain MCA/25014/2022 Submitted to – Shripal Vijayvargiya Sir
  • 2. What is Process?  A Process is an instance of a running program or a program in execution.  A Process can create another process called a child process,any process that creates the child process is called the parent process.  This creation of new processes from existing parent processes is called forking.  Each process is identified uniquely with a positive integer number names PID.
  • 3. Process and Thread Management Managing processes becomes important in a multiuser environment such as Solaris. There are three broad categories of tasks associated with the management of the systems processes:  Monitoring the Processes Viewing the PID,UID and PPID Viewing the priority of the process Viewing the Resource Usage(in terms of memory and processor utilization) Viewing the state of the process ,etc.  Controlling the Processes using Signals Assigning the priority to the processes  Scheduling the Processes
  • 4. Monitoring the Processes In Solaris, you can monitor processes that are exactly on a system by using one of the commands listed. 1.ps command – the ps command can be used to view the processes running on the system. • ps prints information about processes that have the same effective user ID and the same controlling terminal as the invoker of ps command. • The output contains only the process ID(PID), terminal identifier (TTY),cumulative execution time (TIME), and the command name (CMD). 2.pgrep – the pgrep command examines the active processes on the system and reports the process IDs of the processes whose attributes match the criteria specified on the command line.
  • 5. 3.prstat – the prstat command iteratively examines all active processes on the system and reports overall statistics on screen. Syntax – prstat [option] <count> <interval> 4.preap – you can use the preap command to clean up a defunct or a zombie process. 5.pstop – A process can be temporarily suspended with the pstop command. • You need to specify the PID of the process to be suspended. # pstop 1234
  • 6. 6. prun – A temporarily suspended process can be resumed and made runnable with prun command. # prun 1234 7.pwait – pwait command blocks and wait for termination of a process. 8.pwdx – the current working directory of a process can be displayed using the pwdx command 9.pfiles – A list of files open within a process can be displayed with the pfiles command
  • 7. Controlling the Processes Controlling the processes in solaris includes clearing hung processes, terminating unwanted or misbehaving process, changing the execution priority of a process , resuming a suspended process , and so on. The different ways the process can be controlled in solaris:- 1. The nice and renice Commands – the nice value of a process represents the priority of the process. - Every process has a nice value in the range from 0 to 39 being the nicest. - Higher the nice value, the lower the priority. - by default ,user processes start with a nice value of 20. 2. Signals – Solaris supports the concepts of signals, which are software interrupts. - Signals can be used for communication between processes. - A signals notifies the receiving process about an event.
  • 8. Scheduling Processes Scheduling Processes includes assigning priorities to the processes based on the importance and the need. Using these command one can increase the priority of the process. 1.cron Utility – cron utility allows tasks to be automatically run in the background at regular intervals by the cron daemon. These are often termed as cron jobs in solaris. - cron daemon: Is a software process that runs in the background continuously and provides the service to the client upon request. 2.at command – the at command lets you specify a one-time action to take place at some desired time. syntax- at [-m] <time> <date> • atq- to check your jobs that are waiting in the queue. syntax – $ at –l [job-id] • at –r – this command is use to remove any existing at job. syntax - # at –r [job-id]