Thursday , November 21 2019
Home / Windows / What is operating system processes

What is operating system processes

What is operating system processes

In computing, a process is an instance of a computer program that is being executed. It contains the program code and its activity. While a computer program is a passive collection of instructions, a process is the actual execution of those instructions. Several processes may be associated with the same program; for example, opening up several instances of the same program often results in more than one process being executed.

Multitasking is a method to allow multiple processes to share processors (CPUs) and other system resources. Each CPU (core) executes a single task at a time. A common form of multitasking is time-sharing. Time-sharing is a method to allow high responsiveness for interactive user applications.

What is operating system processes

Read:- What is File transfer protocol

This section describes process, process states and process control block (PCB).

What is operating system processes

Process

A process is a program in execution. The execution of a process must progress in a sequential fashion. Definition of process is following.

  • A process is defined as an entity which represents the basic unit of work to be implemented in the system.
  • Components of a process are following.

What is operating system processes

Program

A program by itself is not a process. It is a static entity made up of program statement while process is a dynamic entity. Program contains the instructions to be executed by processor. A program takes a space at single place in main memory and continues to stay there. A program does not perform any action by itself.
Process States

As a process executes, it changes state. The state of a process is defined as the current activity of the process. Process can have one of the following five states at a time.

What is operating system processes

What is operating system processes

Process Control Block, PCB

Each process is represented in the operating system by a process control block (PCB) also called a task control block. PCB is the data structure used by the operating system. Operating system groups all information that needs about particular process. PCB contains many pieces of information associated with a specific process which is described below.

OPERATING SYSTEM PROCESS SCHEDULING

This section describes process scheduling, scheduling queues and various types of process schedulers.

Definition

The process scheduling is the activity of the process manager that handles the removal of the running process from the CPU and the selection of another process on the basis of a particular strategy. Process scheduling is an essential part of a Multi programming operating system. Such operating systems allow more than one process to be loaded into the executable memory at a time and loaded process shares the CPU using time multiplexing.

Scheduling Queues

Scheduling queues refers to queues of processes or devices. When the process enters into the system, then this process is put into a job queue. This queue consists of all processes in the system. The operating system also maintains other queues such as device queue. Device queue is a queue for which multiple processes are waiting for a particular I/O device. Each device has its own device queue.

This figure shows the queuing diagram of process scheduling.

  • Queue is represented by rectangular box.
  • The circles represent the resources that serve the queues.
  • The arrows indicate the process flow in the system.

What is operating system processes

Queues are of two types

  1. Ready queue
  2. Device queue

A newly arrived process is put in the ready queue. Processes waits in ready queue for allocating the CPU. Once the CPU is assigned to a process, then that process will execute. While executing the process, any one of the following events can occur.

  • The process could issue an I/O request and then it would be placed in an I/O queue.
  • The process could create new sub process and will wait for its termination.
  • The process could be removed forcibly from the CPU, as a result of interrupt and put back in the ready queue.

Two State Process Model

Two state process models refer to running and non-running states which are described below.

What is operating system processes

Schedulers

Schedulers are special system software which handles process scheduling in various ways. Their main task is to select the jobs to be submitted into the system and to decide which process to run. Schedulers are of three types

  • Long Term Scheduler
  • Short Term Scheduler
  • Medium Term Scheduler

Long Term Scheduler

It is also called job scheduler. Long term scheduler determines which programs are admitted to the system for processing. Job scheduler selects processes from the queue and loads them into memory for execution. Process loads into the memory for CPU scheduling. The primary objective of the job scheduler is to provide a balanced mix of jobs, such as I/O bound and processor bound. It also controls the degree of multiprogramming. If the degree of multiprogramming is stable, then the average rate of process creation must be equal to the average departure rate of processes leaving the system.

On some systems, the long term scheduler may not be available or minimal. Time-sharing operating systems have no long term scheduler. When process changes the state from new to ready, then there is use of long term scheduler.
Short Term Scheduler

It is also called CPU scheduler. Main objective is increasing system performance in accordance with the chosen set of criteria. It is the change of ready state to running state of the process. CPU scheduler selects process among the processes that are ready to execute and allocates CPU to one of them.

Short term scheduler also known as dispatcher, execute most frequently and makes the fine grained decision of which process to execute next. Short term scheduler is faster than long term scheduler.
Medium Term Scheduler

Medium term scheduling is part of the swapping. It removes the processes from the memory. It reduces the degree of multi programming. The medium term scheduler is in-charge of handling the swapped out-processes.

What is operating system processes

Running process may become suspended if it makes an I/O request. Suspended processes cannot make any progress towards completion. In this condition, to remove the process from memory and make space for other process, the suspended process is moved to the secondary storage. This process is called swapping, and the process is said to be swapped out or rolled out. Swapping may be necessary to improve the process mix.

What is operating system processes

I hope that you understand my post. if you like this post then share my post, and comment on my post if you have any suggestion or Queries related to Operating system processes. Thank you!

Check Also

How to install mac os in virtual box

How to install mac os in virtual box macOS first came out in 2001, and …

105 comments

  1. Greetings from Florida! I’m bored at work so I decided to check out your website on my iphone during lunch break. I really like the knowledge you present here and can’t wait to take a look when I get home. I’m surprised at how quick your blog loaded on my mobile .. I’m not even using WIFI, just 3G .. Anyhow, excellent site!

  2. nicolialia pizzeria

    What’s up to all, the contents present at this web page are really amazing for people experience, well, keep
    up the good work fellows.

  3. I was wondering if you ever considered changing the structure of your site?
    Its very well written; I love what youve got to say.
    But maybe you coulpd a little more in the way
    off content so people could connect with it
    better. Youve gott an awful lot of text for only having 1 or two pictures.
    Maybe you could space it out better?

  4. You have remarked very interesting details ! ps nice website .

  5. I have to thank you for the efforts you have put in penning this site.
    I am hoping to see the same high-grade blog posts from you in the future as well.
    In fact, your creative writing abilities has
    inspired me to get my very own website now 😉

  6. I was suggested this blog by my cousin. I am not sure whether this post is written by him as nobody else
    know such detailed about my trouble. You’re wonderful!
    Thanks!

  7. Yes! Finally someone writes about relationship advice.

  8. Having read this I believed it was rather enlightening.
    I appreciate you taking the time and energy to put this content together.
    I once again find myself personally spending a significant amount of time
    both reading and leaving comments. But so what, it was still worthwhile!

  9. This info is priceless. How can I find out more?

  10. Simply want to say your article is as surprising.

    The clarity in your post is just excellent and i can assume you’re an expert on this
    subject. Fine with your permission allow me to grab your RSS feed to keep updated with forthcoming post.
    Thanks a million and please keep up the
    gratifying work.

  11. I’ve been browsing online more than 2 hours today, yet I never found any interesting article like yours.
    It is pretty worth enough for me. In my opinion, if all site
    owners and bloggers made good content as you did,
    the net will be a lot more useful than ever before.

  12. Normally I do not read article on blogs, however I would like to say that this write-up very compelled me to check out and do it!
    Your writing style has been amazed me. Thank you, quite great post.

  13. Have you ever considered about including a
    little bit more than just your articles? I mean, what you say is important and everything.
    Nevertheless imagine if you added some great graphics or videos to give your posts
    more, “pop”! Your content is excellent but with pics and videos, this website could
    certainly be one of the greatest in its niche. Good blog!

  14. Wow, fantastic weblog layout! How long have you been blogging for?
    you make blogging glance easy. The overall look of
    your site is magnificent, let alone the content material!

  15. I’d like to thank you for the efforts you have put in penning this site.
    I am hoping to view the same high-grade content from you later on as well.
    In truth, your creative writing abilities has motivated me
    to get my own, personal website now 😉

  16. First off I would like to say awesome blog! I had a quick
    question which I’d like to ask if you don’t mind. I was interested to know how you
    center yourself and clear your mind prior to writing.
    I have had trouble clearing my thoughts
    in getting my thoughts out there. I truly do enjoy writing however it just seems like the first 10 to 15
    minutes tend to be lost just trying to figure out how to begin. Any ideas or hints?
    Cheers!

  17. Hi there! I could have sworn I’ve been to this website before but after
    reading through some of the post I realized it’s new to me.
    Anyhow, I’m definitely happy I found it and I’ll be bookmarking and checking back
    frequently!

  18. Definitely imagine that that you stated. Your favorite reason appeared to be on the net the simplest factor to be aware of.
    I say to you, I certainly get irked while people think about issues
    that they just don’t recognize about. You managed
    to hit the nail upon the top and defined out the whole
    thing with no need side effect , folks could take a
    signal. Will probably be back to get more. Thanks

  19. It’s amazing to pay a visit this web page and reading the views of all colleagues concerning this
    post, while I am also keen of getting familiarity.

  20. Howdy! Would you mind if I share your blog with my twitter
    group? There’s a lot of folks that I think would really appreciate your
    content. Please let me know. Thanks

  21. After I initially commented I appear to have clicked
    the -Notify me when new comments are added- checkbox and
    from now on every time a comment is added I recieve
    4 emails with the exact same comment. Is there a way you are able to remove me from that service?
    Thank you!

  22. Hey! I could have sworn I’ve been to this site before but after browsing through some of
    the post I realized it’s new to me. Anyways, I’m definitely delighted I found
    it and I’ll be bookmarking and checking
    back frequently!

  23. A fascinating discussion is definitely worth comment. I do believe that you should write more on this subject,
    it may not be a taboo subject but generally people don’t speak about such issues.
    To the next! Best wishes!!

  24. If you desire to grow your know-how just keep visiting this web site and
    be updated with the newest information posted here.

  25. At this time I am going away to do my breakfast, after having my breakfast coming again to read more news.

  26. This design is wicked! You certainly know how to keep a reader entertained.
    Between your wit and your videos, I was almost moved to start my own blog (well, almost…HaHa!) Fantastic job.

    I really enjoyed what you had to say, and more than that, how you presented it.
    Too cool!

  27. Why people still use to read news papers when in this technological world the whole thing is existing on net?

  28. Asking questions are truly nice thing if you are not understanding anything totally,
    except this post provides pleasant understanding even.

  29. It’s genuinely very complicated in this busy life to listen news on Television, thus I
    only use internet for that purpose, and get the latest
    information.

  30. Wow, awesome blog layout! How long have you been blogging for?
    you made blogging look easy. The overall look of your site is fantastic,
    let alone the content!

  31. I am regular reader, how are you everybody? This piece of writing posted at
    this web page is really fastidious.

  32. Have you ever considered creating an e-book or guest authoring on other sites?
    I have a blog based upon on the same information you discuss and would really like to have you share some
    stories/information. I know my visitors would enjoy your work.
    If you’re even remotely interested, feel free to shoot me an e-mail.

  33. Wonderful goods from you, man. I’ve understand your stuff previous
    to and you’re just too wonderful. I really like what you have acquired here, certainly like what you’re stating and the way in which you say it.

    You make it entertaining and you still care for to keep it wise.

    I can not wait to read much more from you. This is really a great web site.

  34. You’ve made some decent points there. I checked on the net for additional information about the issue and found most individuals will go along with your views on this site.

  35. Amazing! Its truly amazing paragraph, I have got much clear
    idea regarding from this article.

  36. En numerosas ocasiones una revisión técnica soluciona el problema, devolviendo todas las prestaciones que el frigorífico puede ofrecer, en todo caso es recomendable conocer los siguientes aspectos inherentes al verano y a la subida de las temperaturas, condicione adversas en el trabajo de cualquier frigorífico. Encuentra la respuesta a todas las preguntas que te surjan durante el uso de tu electrodoméstico Bosch.

  37. Hey I know this is off topic but I was wondering if you
    knew of any widgets I could add to my blog that automatically tweet my newest twitter
    updates. I’ve been looking for a plug-in like this
    for quite some time and was hoping maybe you would have some experience with
    something like this. Please let me know if you run into anything.
    I truly enjoy reading your blog and I look forward to your new
    updates.

  38. I’m really loving the theme/design of your blog. Do you ever run into any web
    browser compatibility problems? A few of my blog readers
    have complained about my site not working correctly in Explorer but looks great in Safari.
    Do you have any solutions to help fix this issue?

  39. Hi every one, here every one is sharing these kinds of know-how, thus it’s
    fastidious to read this weblog, and I used to pay a quick visit
    this webpage daily.

  40. Pretty nice post. I simply stumbled upon your weblog
    and wished to say that I have really enjoyed surfing
    around your weblog posts. In any case I’ll be subscribing
    in your feed and I am hoping you write once more very soon!

  41. I love your blog.. very nice colors & theme. Did you design this website yourself or did you hire someone
    to do it for you? Plz reply as I’m looking to design my own blog and
    would like to know where u got this from. appreciate it

  42. What’s Going down i am new to this, I stumbled upon this I’ve found It positively useful and
    it has aided me out loads. I’m hoping to give a contribution & help different customers like its aided me.

    Good job.

  43. you’re actually a good webmaster. The web site loading speed is incredible.
    It kind of feels that you’re doing any unique trick. Furthermore,
    The contents are masterwork. you’ve done a wonderful
    process on this matter!

  44. Write more, thats all I have to say. Literally, it seems as
    though you relied on the video to make your point. You obviously
    know what youre talking about, why waste your intelligence on just posting videos to your site
    when you could be giving us something enlightening to read?

  45. I have read so many articles regarding the blogger lovers except this article is truly a good piece of writing, keep it up.

  46. I every time used to read piece of writing in news papers
    but now as I am a user of internet so from now I am using net for articles,
    thanks to web.

  47. When some one searches for his vital thing, therefore he/she wants to be available that in detail, therefore that thing is maintained over here.

  48. My partner and I stumbled over here by a different web page and thought I should check things out.
    I like what I see so now i’m following you.
    Look forward to looking at your web page yet again.

  49. Thanks for finally writing about >What is operating system processes | Technical Fan Windows 2019 <Liked it!

  50. Excellent, what a blog it is! This blog presents valuable data to us, keep it up.

  51. This is really attention-grabbing, You are an overly professional blogger.

    I have joined your rss feed and look forward to searching for extra of
    your wonderful post. Also, I have shared your website in my social
    networks

  52. This is very interesting, You’re an excessively skilled blogger.
    I have joined your feed and stay up for looking for more
    of your fantastic post. Also, I’ve shared your web site in my social networks

  53. Hello There. I discovered your weblog the usage of msn. That is an extremely smartly written article.
    I will be sure to bookmark it and come back to
    read extra of your helpful information. Thanks for the post.

    I will definitely comeback.

  54. What’s up, I wish for to subscribe for this website to
    obtain most recent updates, so where can i do it please help out.

  55. Hi, yeah this piece of writing is truly nice and I have learned
    lot of things from it about blogging. thanks.

  56. Greetings from Florida! I’m bored at work so I decided to check out your blog on my
    iphone during lunch break. I love the knowledge you present here and
    can’t wait to take a look when I get home.
    I’m shocked at how fast your blog loaded on my mobile ..

    I’m not even using WIFI, just 3G .. Anyhow, good blog!

  57. It’s really very difficult in this full of activity life to listen news on TV, thus I simply use web
    for that reason, and obtain the latest news.

  58. It is really a great and useful piece of info. I am happy that you shared this useful info with us.
    Please stay us informed like this. Thank you for sharing.

  59. Good article. I will be experiencing a few of these issues as well..

  60. I do not even know the way I ended up right here, however I thought this publish was once great. I do not recognise who you are however definitely you’re going to a well-known blogger in case you aren’t already. Cheers!|

  61. I absolutely love your website.. Great colors & theme. Did you make this amazing site yourself? Please reply back as I’m looking to create my own personal blog and would like to learn where you got this from or exactly what the theme is called. Thanks!|

  62. I every time used to study article in news papers but now as I am a user of web so from now I am
    using net for articles, thanks to web.

  63. I must thank you for the efforts you’ve put in writing this site.
    I’m hoping to see the same high-grade content from you later on as well.
    In fact, your creative writing abilities has encouraged me to get my own site now
    😉

  64. I like the valuable info you provide in your articles. I’ll bookmark your blog and check again here regularly.

    I am quite sure I will learn plenty of new stuff right here!
    Best of luck for the next!

  65. wonderful points altogether, you just received a logo new reader.
    What might you recommend in regards to your publish that you made
    a few days in the past? Any certain?

  66. I am really impressed with your writing skills as well as with the layout on your blog.
    Is this a paid theme or did you customize it yourself?
    Anyway keep up the excellent quality writing, it is rare to
    see a great blog like this one these days.

  67. Hi to all, how is everything, I think every
    one is getting more from this site, and your views are fastidious in favor of new users.

  68. Someone essentially lend a hand to make critically articles I’d
    state. That is the very first time I frequented your web page and up to now?
    I surprised with the research you made to make this actual publish extraordinary.

    Magnificent activity!

  69. It’s going to be ending of mine day, except before
    end I am reading this impressive paragraph to increase my know-how.

  70. An outstanding share! I’ve just forwarded this onto a colleague who was conducting a little homework
    on this. And he actually ordered me lunch because I stumbled upon it for him…
    lol. So let me reword this…. Thanks for the meal!! But yeah, thanx for spending some
    time to talk about this issue here on your web site.

  71. Hello there, just turned into aware of your blog thru Google, and found that it’s really informative. I am going to be careful for brussels. I’ll be grateful should you continue this in future. Many people can be benefited out of your writing. Cheers!|

  72. I’m curious to find out what blog system you are utilizing? I’m having some small security issues with my latest website and I would like to find something more safeguarded. Do you have any recommendations?|

  73. I’d like to find out more? I’d care to find out some additional information.

  74. I’m extremely impressed with your writing skills and also with the layout on your blog. Is that this a paid subject or did you modify it yourself? Anyway stay up the excellent quality writing, it is uncommon to peer a nice blog like this one today..|

  75. I’m not that much of a online reader to be honest but your blogs really nice, keep it up! I’ll go ahead and bookmark your site to come back later on. Cheers|

  76. Hi there to every body, it’s my first go to see of this website; this blog consists of amazing and really good material in favor of visitors.|

  77. It’s going to be end of mine day, however before ending I am reading this enormous post to increase my know-how.|

  78. Hi there, everything is going sound here and ofcourse every one is sharing information, that’s in fact good, keep up writing.

  79. Hey I know this is off topic but I was wondering if you knew of any widgets I could add to my
    blog that automatically tweet my newest twitter updates.
    I’ve been looking for a plug-in like this for
    quite some time and was hoping maybe you would have some
    experience with something like this. Please let me know if you run into
    anything. I truly enjoy reading your blog and I look forward to your new updates.

  80. I got this site from my buddy who told me on the topic of this web site and now this time I am visiting this site and reading very informative posts at this time.|

  81. Hey there! I’m at work surfing around your blog from my new apple iphone! Just wanted to say I love reading through your blog and look forward to all your posts! Keep up the superb work!|

  82. Woah! I’m really loving the template/theme of this site.

    It’s simple, yet effective. A lot of times it’s challenging to get that
    “perfect balance” between usability and visual appeal.
    I must say that you’ve done a great job with this.
    Additionally, the blog loads extremely quick for
    me on Firefox. Outstanding Blog!

  83. Outstanding quest there. What happened after? Good luck!

  84. I’m impressed, I must say. Seldom do I encounter a blog that’s both educative and
    entertaining, and without a doubt, you’ve hit the nail on the head.
    The problem is something which too few men and women are speaking intelligently about.
    Now i’m very happy I came across this during my hunt for something relating to this.

  85. Many thanks thank you thank you!

  86. I stumbled across your article by mistake nevertheless i’m happy i’m here. Good stuff i’m reading.

  87. Spot on with this write-up, I absolutely think this amazing site needs a lot more attention. I’ll probably be back again to read more, thanks
    for the information!

  88. For most up-to-date news you have to visit world wide web and on world-wide-web I found this website as a best site for hottest updates.|

  89. Write more, thats all I have to say. Literally, it seems as though you relied on the video to make your point. You obviously know what youre talking about, why throw away your intelligence on just posting videos to your blog when you could be giving us something informative to read?|

  90. You’ve put together some great information here. I’ll try to look to follow your blog post as you’ve most definately shown me a couple of things fella. Peace and blessing!!

  91. Good way of describing, and pleasant piece of
    writing to obtain facts on the topic of my presentation focus,
    which i am going to deliver in academy.

  92. Awesome blog! Is your theme custom made or did you download it from somewhere?
    A design like yours with a few simple adjustements would really make my blog stand out.
    Please let me know where you got your design. Kudos

  93. I couldn’t refrain from commenting. Perfectly written!

  94. You could definitely see your expertise in the article you write. The arena hopes for even more passionate writers like you who are not afraid to mention how they believe. At all times follow your heart.|

  95. Hi it’s me, I am also visiting this website daily, this web site is truly pleasant and the visitors are genuinely sharing pleasant thoughts.|

  96. It’s amazing designed for me to have a web page, which is good for my experience. thanks admin|

  97. Hello this is kinda of off topic but I was wondering if blogs use WYSIWYG editors or if you have to manually code with HTML. I’m starting a blog soon but have no coding know-how so I wanted to get advice from someone with experience. Any help would be enormously appreciated!|

  98. This post will help the internet people for setting up new blog or even a weblog from start to end.|

  99. Thanks for ones marvelous posting! I actually enjoyed reading it, you could be a
    great author.I will remember to bookmark your
    blog and may come back later on. I want to encourage that you continue
    your great job, have a nice holiday weekend!

  100. Hi all, here every person is sharing such knowledge, therefore it’s good to read this weblog, and I used to go to see this weblog all the time.|

  101. It’s amazing to visit this web site and reading the views of all friends about this post, while I am also zealous of getting knowledge.|

  102. Have you ever thought about creating an e-book or guest authoring on other websites? I have a blog based upon on the same information you discuss and would love to have you share some stories/information. I know my subscribers would enjoy your work. If you are even remotely interested, feel free to send me an e-mail.|

  103. Your style is unique compared to other people I’ve read stuff from.

    I appreciate you for posting when you have the opportunity, Guess I’ll just book mark this blog.

  104. We are a group of volunteers and starting a new scheme in our community.
    Your website provided us with valuable info to work on.
    You have done a formidable job and our whole community will be thankful to you.

Leave a Reply

Your email address will not be published. Required fields are marked *