Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Name of Experiment : Handling groups in Linux Goal : Interaction with Processes. Theory : Its important to know which processes are running and how

Name of Experiment: Handling groups in Linux

Goal: Interaction with Processes.

Theory: Its important to know which processes are running and how to manage them. You will notice that sometimes a task or process will freeze, how useful is it to have the power to reboot or stop the said process. By the end of this tutorial, you will be familiar with how to manage process.

Software Tools: Ubuntu, Virtual Box.

Procedure:

A process refers to a program in execution; its a running instance of a program.

Linux Background Jobs

To start a process in the background (non-interactive), use the & symbol, here, the process doesnt read input from a user until its moved to the foreground. Example: brave-browser &

List the background processes, the command is bg. (Screenshot)

List of processes running in the background, type the commands `jobs` (Screenshot)

Send a background process to the foreground, use the fg command together with the job ID (screenshot)

View Active Processes in Linux (screenshot)

Sending Signals to Processes

The fundamental way of controlling processes in Linux is by sending signals to them. There are multiple signals that you can send to a process.

kill a process, using the command

kill processid

freeze a process, using command

Kill STOP processid

Unfreeze a process, using command

Kill CONT processid

Screenshot for each command.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Advances In Spatial Databases 2nd Symposium Ssd 91 Zurich Switzerland August 1991 Proceedings Lncs 525

Authors: Oliver Gunther ,Hans-Jorg Schek

1st Edition

3540544143, 978-3540544142

More Books

Students also viewed these Databases questions