Question

linux process management Question 5 You can monitor the real-time activity of processes with the top...

linux process management

Question 5
You can monitor the real-time activity of processes with the top command.
Question 5 options:

True

False
Question 6
You can terminate a process with job ID 3 with the stop 3 command.
Question 6 options:
   True
   False

Homework Answers

Answer #1

Question 5 - True

The top command is used to monitor the Linux processes. It gives us a dynamic real-time view of the running system. Usually, this command shows us the summary information of the system and the list of processes or threads which are currently managed by the Linux Kernel.

Question 6 - False

Use kill <job ID> to kill the current process with job ID - 3.

Example

1. invoke the sleep process for example

>kuttanz@pj7-inspiron-14-3467:~$ sleep 100 &
>[3] 6180
here 3 is our job ID

2. check for the job

>jobs -l
>[1]- 6004 Stopped (signal) top
>[2]+ 6113 Stopped sleep 100
>[3] 6180 Running sleep 100 & -
this is the job we invoked.

3. Terminate the process using the job ID
>kill 3 - invoke kill job ID to terminate the process
>[3] Done sleep 100

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Exercise 1: Start and Stop Multiple Processes Exercise 2: Use top command to display real time...
Exercise 1: Start and Stop Multiple Processes Exercise 2: Use top command to display real time information about the processes and to control them. Submission: A word document with the screenshots as an evidence of what you have observed. on Linux makes this in the terminal as a command
Linux commands in terminal What processes are running? In the previous task ("Command Based") you were...
Linux commands in terminal What processes are running? In the previous task ("Command Based") you were already familiar with the command "ps" which shows some or all of the processes that are running. When you run "ps", you start a new process and you can see the actual process in the output. Later in this task you will use "ps" more. The "top" command also shows an overview of the processes that exist on the system but it the overview...
5. Write a bash command that will display the name of every file on the Linux...
5. Write a bash command that will display the name of every file on the Linux system whose file contaent contains the string "doug.jones". The command must run in the background, must redirect standard error to /dev/null, and must redirect standard output to ~/out. 6. Write a bash command that will kill all of the even-numbered processes associated with your userid, and no other processes. 7. Write a bash command that will start the program /home/courses/140u-doug.jones/zombie_maker as a background process,...
QUESTION 1 Activity in the business process model is defined as repetitive action performed in the...
QUESTION 1 Activity in the business process model is defined as repetitive action performed in the fulfillment of a business function. True False QUESTION 2 All of the following are Levels of Cost classification except for....? A. Price level B. Unit level C. Batch level D. Facility level QUESTION 3 In Activity-based Costing, costs are collected in activity cost ________? A. Pools B. Buckets C. Pitchers D. Cans    QUESTION 4 A process is a series of activities that, when...
CS4315 Operating Systems Lab 2: Linux Processes This lab assignment contains three questions. To submit this...
CS4315 Operating Systems Lab 2: Linux Processes This lab assignment contains three questions. To submit this lab assignment, please use a Word document to include the screenshots and write your answer. 1. Run the following C program, and submit a screenshot of the result. #include <sys/types.h> #include <stdio.h> #include <unistd.h> int main( ) { pid_t pid; if ( (pid = fork()) == 0 ) { printf (ā€œI am the child, my pid = %d and my parent pid = %d\nā€,...
Question 1 (1 point) Passions which can have an intense impact on us for a short...
Question 1 (1 point) Passions which can have an intense impact on us for a short time include: Question 1 options: Greed and love of fame Fear and anger Fear and greed Anger and love of fame Question 2 (1 point) The greater the pressure we feel in a situation Question 2 options: The harder it is to justify unethical decisions The easier it is to act in accordance with virtue The harder it is to act in accordance with...
QUESTION 25 A high degree of ____ means you can accurately assess your own strengths and...
QUESTION 25 A high degree of ____ means you can accurately assess your own strengths and limitations and have a healthy sense of self-confidence. self-management social cohesiveness social awareness relationship management self-awareness 2 points    QUESTION 26 As a motivational technique, job simplification has been a great success. True False 2 points    QUESTION 27 Individuals high on authoritarianism have problems with: power and toughness use of subjective feelings sticking to conventional values obeying recognized authority above them critically judging...
Activity 1D/ (Estimated Time 40 Minutes) Objective/ To provide you with an opportunity to make recommendations...
Activity 1D/ (Estimated Time 40 Minutes) Objective/ To provide you with an opportunity to make recommendations for policy options based on likely effectiveness, timeframes and cost. _____________________________ Activity/ Question 1.) Demonstrate how you can make recommendations for a policy based on likely effectiveness, timeframes and cost. Answer:- ____________________________ ____________________________ (To provide you with an opportunity to identify and consult stakeholders as a key component of the policy development process.) 1) Who are your stakeholders? Answer:- 2) Choose a stakeholder from...
19,Suppose that you monitor the fraction defectives in ounces of a process that fills beer cans....
19,Suppose that you monitor the fraction defectives in ounces of a process that fills beer cans. The data given below were collected in the production process. Each day, 20 cans are inspected. What control chart would be the best for process monitoring? Calculate UCL and LCL of the relevant chart. Days     # of defectives 1   2 2   3 3       5 4       1 5   2 x-bar chart, UCL = 0.042 and LCL = 0 c chart, UCL = 0.1462...
Question 1 (1 point) On average, compared to people who have a high school diploma, people...
Question 1 (1 point) On average, compared to people who have a high school diploma, people who acquire post secondary education: Question 1 options: Earn 29% more annually Earn 29% less annually Earn the same amount of money as those with a high school diploma Do not need to learn about personal finance Question 2 (1 point) Operating at a sales level at which you have neither profit nor loss is called: Question 2 options: Net profit. Liabilities. Breakeven. Equity....