Displays information about all processes currently running

Assignment Help Basic Computer Science
Reference no: EM131229143

[Linux Operating System] A shell script is a sequence of shell commands written in an executable script file. Executing this file instructs the shell to execute all commands in the order of their appearance in the script file. There are several shell scripting tutorials available on the web, e.g. search by entering the keywords Linux shell script tutorials. Go through one of these tutorials and then write a shell script that displays various system parameters by using shell commands like who, whoami, date, hostname, etc.

2. [Linux Operating System] ps is a command that displays information about all processes currently running in your system. Read man page of ps command. Enter the following commands: (1) ps -ef | more and (2) ps -aux | more. Both of these will result in displaying a long list of processes. Identify what processes are started when the system is booted, and what processes are started later on. For each process, find out who owns it, what code it is running, and how much CPU/memory it has used.

Now, store the details of all processes owned by root in a file called rootprocesses- 1, and all processes owned by you in a file called my-processes-1. Next, restart your system, and create similar files, root-processes-2 and myprocesses-

2. Compare root-processes-2 with root-processes-2, and my-processes- 1 with my-processes-1. Explain the differences between the two.

3. [Linux Operating System] free is a command that displays used and available memory in your system. Read man page of free command. Run the command free -o several times, running other programs in between, and store the results in a file. Draw a graph as follows: X-axis: MB-used; for the Y-axis, use (i) Memory Used per unit time; (ii) (Memory Used - Memory Buffered - Memory Cached) per unit time; and (3) Swap Used per unit time. Explain the behavior of this graph with respect to memory utilization in the presence of running various applications.

Reference no: EM131229143

Questions Cloud

Describes the catalog of services supported by fmbg : This document describes the catalog of services supported by FMBG, Inc. IT Department. The FMBG, Inc. IT Department Service Catalog contains a written statement of the IT business services, default levels and options for which the FMBG, Inc. IT Dep..
What types of applications can the circuit be used in : What types of applications can this circuit be used in? Explain. How does the calculated voltage gain compare to the midband gain from the Bode plot?
Discuss the reasoning behind these cases and laws : Describe the distinct differences between the civil law and criminal law. Discuss the reasoning behind these cases and laws. Discuss the influence and outcome of these laws on the American criminal justice system.
Internet to get most recent exchange rate : Create an app named CurrencyConvertor that covert U.S.dollar amounts user entered to Japanese yen and to euros. Display your currency amounts with two decimal places. You may use Internet to get most recent exchange rate or use the following:
Displays information about all processes currently running : [Linux Operating System] ps is a command that displays information about all processes currently running in your system. Read man page of ps command. Enter the following commands:
Calculate the dollar rates of return on the following assets : A £10,000 deposit in a London bank in a year when the interest rate on poundsis 10 percent and the $/£ exchange rate moves from $1.50 per pound to $1.38per pound.
What current technology do you predict : What current technology do you predict will have the most impact on the way work is done and why?
How does moving first reduce the revenue destruction effect : In the Cournot model (see Chapter 5), the revenue destruction effect limits the willingness of firms to expand output. In the Stackelberg model, the firm that moves first produces more than it does in Cournot's model. How does moving first reduce ..
What conditions bubble sort may be inefficient : Discuss why and under what conditions bubble sort may be inefficient when the array to be sorted is very large.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd