{"id":6267,"date":"2020-11-14T16:18:15","date_gmt":"2020-11-14T16:18:15","guid":{"rendered":"http:\/\/onlineclassesguru.com\/?p=6267"},"modified":"2020-11-14T16:18:15","modified_gmt":"2020-11-14T16:18:15","slug":"assignment-operating-systems","status":"publish","type":"post","link":"https:\/\/onlineclassesguru.com\/index.php\/2020\/11\/14\/assignment-operating-systems\/","title":{"rendered":"Assignment Operating Systems"},"content":{"rendered":"<style type=\"text\/css\"><\/style><p>Operating Systems \u2013 Week 4 Assignment<br \/>\nThe Process Scheduler<br \/>\nYou will need to locate and utilize performance analysis tools and process scheduling tools to complete this assignment.<br \/>\nYour mission this week is to analyze and manipulate the process scheduler in action on your LINUX system. You will use Linux commands to alter scheduling policies and process priorities while analyzing the effects and resulting performance.<br \/>\nUseful commands for this assignment:<br \/>\n\u00b7 top<br \/>\n\u00b7 chrt<br \/>\n\u00b7 nice<br \/>\n\u00b7 renice<br \/>\n\u00b7 ps<br \/>\n\u00b7 vmstat<br \/>\nAnd as always \u2018man\u2019 is your best friend<br \/>\nRequirements<br \/>\nPart 1<br \/>\nAnswer the Following:<br \/>\nWhat is an interrupt? What specifically on your system causes interrupts?<br \/>\nWhat is a context switch?<br \/>\nStart your Linux Partition from a fresh boot and open the Terminal. Do not open any other applications at this time. Determine values for each of the following. Provide screenshots of command output.<br \/>\nFor a 30 second time interval:<br \/>\nAbout how many interrupts per second?<br \/>\nAbout how many context switches per second?<br \/>\nAt a high level, what events are likely causing the current values for interrupts and context switches?<br \/>\nIMPORTANT: Before performing the tasks below, you will want to open at least one terminal window and maybe 2. You should be watching the performance statistics WHILE these applications are opening! This will yield the most valuable results in this lesson. i.e. Use vmstat to watch CPU statistics in real time as the system becomes busy. Continue watching values once the applications finish opening.<br \/>\nOpen as many applications as you can while still maintaining a Linux system that functions (the slower the system the better).<br \/>\nNow repeat the steps from above and record new values.<br \/>\nSummarize finding for interrupts and context switches for each:<br \/>\n\u00b7 Before opening applications<br \/>\n\u00b7 While opening applications<br \/>\n\u00b7 Shortly After all applications have opened<br \/>\nPart 2<br \/>\nFind three processes in different \u2018states.\u2019 List the process name, its current state, and what this means.<br \/>\nFind 3 processes using different priorities \/ nice values. List the process name, the priority and nice values, and what these values mean?<br \/>\nWhat is the scheduling policy of the three processes using the most CPU currently? (It is OK if they are all the same).<br \/>\nChange the priority of any process using the chrt command. Record before and after values. Note any noticeable effects on performance if any.<br \/>\nChange the nice value of any process. Record before and after values. Note any noticeable effects on performance if any.<br \/>\nYou will want to use multiple terminal windows for this part. i.e. Use one to watch \u2018top\u2019 values and another to enter commands.<br \/>\nSwitch to the \u2018root\u2019 user as you will require elevated privelges:<br \/>\nType command:<br \/>\nsudo su \u2013 root<br \/>\nthen enter the password for the account you setup for yourself.<br \/>\nUse the following command to simulate system load:<br \/>\ndd if=\/dev\/zero of=\/dev\/null &amp;<br \/>\nrun the command at least twice so that there are 2 \u2018dd\u2019 processes running. You can launch as many of them as you want at one time. You should notice these processes are using equal amounts of CPU at first.<br \/>\nPick one of these processes to make adjustments to.<br \/>\nChange the priority using the chrt command to various high and low priorities. Note effects on CPU usage and response time in your command shell if any.<br \/>\nChange the process scheduling algorithm using the \u2018chrt\u2019 command. List current scheduling algorithm for the process and new scheduling algorithm. Note effects on CPU usage and response time if any. Use all possible scheduling policies at least once. NOTE: \u2018chrt \u0080\u0093m\u2019 lists possible priority values.<br \/>\nNOTE: To kill a process: \u2018kill pid\u0080\u009d<br \/>\ni.e. if the process id is 4149<br \/>\nkill 4149<br \/>\nYou may need to kill a process if the system becomes unresponsive. You may also need to restart the partition!!!<br \/>\nSubmission Requirements<br \/>\nYou will submit a Word or Libre Writer Document which contains results from the above analysis and responses. I do not have access to your system so you need to be sure to provide screenshots for anything I cannot possibly know. i.e. results from command output and top output.<br \/>\nPlease insert your screenshots into your word document with supporting documentation which meets all requirements. You will be penalized for any results which are not backed by proof.<br \/>\nDisclaimer<br \/>\nA large portion of this class is exploring and researching solutions on your own!<br \/>\nYou will continue to operate as a systems administrator \/ analyst and thus you will be expected to figure out what you need to know on your own. You will not find exact solutions in your book which give you what you need to know to complete this assignment or future assignments.<br \/>\nWhat you will find in your book is an in depth analysis of how an operating systems manages memory at a low level. This is imperative in understanding what the resulting data values mean from your research.<\/p>\n<p><center><a href=\"http:\/\/onlineclassesguru.com\/orders\/ordernow\"><img decoding=\"async\" src=\"https:\/\/encrypted-tbn0.gstatic.com\/images?q=tbn:ANd9GcTyj99p60XCLyLk1htB7-1neRt8-2QdnenNlQ&usqp=CAU\"target=\"_http:\/\/onlineclassesguru.com\/orders\/ordernow\"\/><\/center><p>","protected":false},"excerpt":{"rendered":"<p>Operating Systems \u2013 Week 4 Assignment The Process Scheduler You will need to locate and utilize performance analysis tools and process scheduling tools to complete this assignment. Your mission this week is to analyze and manipulate the process scheduler in action on your LINUX system. You will use Linux commands to alter scheduling policies and&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-6267","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v17.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Assignment Operating Systems - onlineclassesguru<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/onlineclassesguru.com\/index.php\/2020\/11\/14\/assignment-operating-systems\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Assignment Operating Systems - onlineclassesguru\" \/>\n<meta property=\"og:description\" content=\"Operating Systems \u2013 Week 4 Assignment The Process Scheduler You will need to locate and utilize performance analysis tools and process scheduling tools to complete this assignment. Your mission this week is to analyze and manipulate the process scheduler in action on your LINUX system. You will use Linux commands to alter scheduling policies and...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/onlineclassesguru.com\/index.php\/2020\/11\/14\/assignment-operating-systems\/\" \/>\n<meta property=\"og:site_name\" content=\"onlineclassesguru\" \/>\n<meta property=\"article:published_time\" content=\"2020-11-14T16:18:15+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin_admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/onlineclassesguru.com\/#website\",\"url\":\"https:\/\/onlineclassesguru.com\/\",\"name\":\"onlineclassesguru\",\"description\":\"Cheap Professional coursework and reaction papers help\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/onlineclassesguru.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/onlineclassesguru.com\/index.php\/2020\/11\/14\/assignment-operating-systems\/#webpage\",\"url\":\"https:\/\/onlineclassesguru.com\/index.php\/2020\/11\/14\/assignment-operating-systems\/\",\"name\":\"Assignment Operating Systems - onlineclassesguru\",\"isPartOf\":{\"@id\":\"https:\/\/onlineclassesguru.com\/#website\"},\"datePublished\":\"2020-11-14T16:18:15+00:00\",\"dateModified\":\"2020-11-14T16:18:15+00:00\",\"author\":{\"@id\":\"https:\/\/onlineclassesguru.com\/#\/schema\/person\/1831fa4d28e47b468621cf27932f5742\"},\"breadcrumb\":{\"@id\":\"https:\/\/onlineclassesguru.com\/index.php\/2020\/11\/14\/assignment-operating-systems\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/onlineclassesguru.com\/index.php\/2020\/11\/14\/assignment-operating-systems\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/onlineclassesguru.com\/index.php\/2020\/11\/14\/assignment-operating-systems\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/onlineclassesguru.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Assignment Operating Systems\"}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/onlineclassesguru.com\/#\/schema\/person\/1831fa4d28e47b468621cf27932f5742\",\"name\":\"admin_admin\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/onlineclassesguru.com\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/429c8d043f7a770af242b0031e8b9f2b?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/429c8d043f7a770af242b0031e8b9f2b?s=96&d=mm&r=g\",\"caption\":\"admin_admin\"},\"url\":\"https:\/\/onlineclassesguru.com\/index.php\/author\/admin_admin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Assignment Operating Systems - onlineclassesguru","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/onlineclassesguru.com\/index.php\/2020\/11\/14\/assignment-operating-systems\/","og_locale":"en_US","og_type":"article","og_title":"Assignment Operating Systems - onlineclassesguru","og_description":"Operating Systems \u2013 Week 4 Assignment The Process Scheduler You will need to locate and utilize performance analysis tools and process scheduling tools to complete this assignment. Your mission this week is to analyze and manipulate the process scheduler in action on your LINUX system. You will use Linux commands to alter scheduling policies and...","og_url":"https:\/\/onlineclassesguru.com\/index.php\/2020\/11\/14\/assignment-operating-systems\/","og_site_name":"onlineclassesguru","article_published_time":"2020-11-14T16:18:15+00:00","twitter_card":"summary_large_image","twitter_misc":{"Written by":"admin_admin","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"https:\/\/onlineclassesguru.com\/#website","url":"https:\/\/onlineclassesguru.com\/","name":"onlineclassesguru","description":"Cheap Professional coursework and reaction papers help","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/onlineclassesguru.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/onlineclassesguru.com\/index.php\/2020\/11\/14\/assignment-operating-systems\/#webpage","url":"https:\/\/onlineclassesguru.com\/index.php\/2020\/11\/14\/assignment-operating-systems\/","name":"Assignment Operating Systems - onlineclassesguru","isPartOf":{"@id":"https:\/\/onlineclassesguru.com\/#website"},"datePublished":"2020-11-14T16:18:15+00:00","dateModified":"2020-11-14T16:18:15+00:00","author":{"@id":"https:\/\/onlineclassesguru.com\/#\/schema\/person\/1831fa4d28e47b468621cf27932f5742"},"breadcrumb":{"@id":"https:\/\/onlineclassesguru.com\/index.php\/2020\/11\/14\/assignment-operating-systems\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/onlineclassesguru.com\/index.php\/2020\/11\/14\/assignment-operating-systems\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/onlineclassesguru.com\/index.php\/2020\/11\/14\/assignment-operating-systems\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/onlineclassesguru.com\/"},{"@type":"ListItem","position":2,"name":"Assignment Operating Systems"}]},{"@type":"Person","@id":"https:\/\/onlineclassesguru.com\/#\/schema\/person\/1831fa4d28e47b468621cf27932f5742","name":"admin_admin","image":{"@type":"ImageObject","@id":"https:\/\/onlineclassesguru.com\/#personlogo","inLanguage":"en-US","url":"https:\/\/secure.gravatar.com\/avatar\/429c8d043f7a770af242b0031e8b9f2b?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/429c8d043f7a770af242b0031e8b9f2b?s=96&d=mm&r=g","caption":"admin_admin"},"url":"https:\/\/onlineclassesguru.com\/index.php\/author\/admin_admin\/"}]}},"_links":{"self":[{"href":"https:\/\/onlineclassesguru.com\/index.php\/wp-json\/wp\/v2\/posts\/6267"}],"collection":[{"href":"https:\/\/onlineclassesguru.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/onlineclassesguru.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/onlineclassesguru.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/onlineclassesguru.com\/index.php\/wp-json\/wp\/v2\/comments?post=6267"}],"version-history":[{"count":1,"href":"https:\/\/onlineclassesguru.com\/index.php\/wp-json\/wp\/v2\/posts\/6267\/revisions"}],"predecessor-version":[{"id":6268,"href":"https:\/\/onlineclassesguru.com\/index.php\/wp-json\/wp\/v2\/posts\/6267\/revisions\/6268"}],"wp:attachment":[{"href":"https:\/\/onlineclassesguru.com\/index.php\/wp-json\/wp\/v2\/media?parent=6267"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/onlineclassesguru.com\/index.php\/wp-json\/wp\/v2\/categories?post=6267"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/onlineclassesguru.com\/index.php\/wp-json\/wp\/v2\/tags?post=6267"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}