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

  Difference between sdlc model and sdlc methodology

What is the difference between sdlc model and sdlc methodology. Give an example and show description of each model and methodology?

  Describe an algorithm

Describe an algorithm for determining if a given list contains a cycle using only constant additional space. The runtime should be O(N), where N is the (unknown) number of elements in the list. (Hint: use two iterators that advance at different sp..

  Discuss the term scalability

Discuss the term scalability. What does it mean?Why is it an important network design goal?What are some challenges designers face when designing for scalability.

  A machine took 200 sec to sort 200 names using bubble sort

A machine took 200 sec to sort 200 names, using bubble sort. In 800 sec, it can approximately sort?

  Discuss the impact of the above mentioned issues

Provide references (at least three) using APA referencing system including in text citations.You can attach any supporting material such as printouts of particular items of evidence such as diagrams.

  Program that uses a function to toss a thick coin

Write a c++ program that uses a function to toss a thick coin 100 times. The probablility of heads is 0.4, the probability of tails is 0.4 and the probability of the coin landing on its edge is 0.2. The function stores the results in an array.

  Integration of enterprise systems with inter-organizational

Include a cover page containing the title of the assignment, the student's name, the professor's name, the course title, and the date. The cover page and the reference page are not included in the required assignment page length.

  It-corporate transformation

List and explain all the business opportunities or the business values that are created by the network economy.  How do human capital, structural capital, and customer capital differ? Please analyse each and provide supporting facts.

  Acquire a bit-stream copy from the flash drive

During a criminal case investigation, a computer was taken as part of the evidence. The computer was found with a flash drive connected to one of the USB ports. It is suspected that this flash drive contains image files relevant to the case. Pr..

  Describe why database redesign is necessary

Explain, one more time, the three ways that databases arise.

  Which detects even parity

Consider the subsequent circuit, which detects even parity. There are one output, even, and three inputs, a(2), a(l) and a(0), which are grouped as a vector or bus.

  The dark side of byod from techrepublic

Identify the primary benefits of BYOD in organizations, and determine the key ways in which its concepts can enhance an end user's overall working experience.

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