Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

CompTIA Linux+ Guide to Linux Certification (4th Edition) Project 9-1 LINUX SYSTEMS In this hands-on project, you view characteristics of processes using the ps command.

CompTIA Linux+ Guide to Linux Certification (4th Edition)

Project 9-1 LINUX SYSTEMS

In this hands-on project, you view characteristics of processes using the ps command.

1. Boot your Fedora Linux virtual machine. After your Linux system has been loaded, switch to a command-line terminal (tty2) by pressing Ctrl+Alt+F2 and log in to the ter- minal using the user name of root and the password of LNXrocks!.

2. At the command prompt, type ps ef | less and press Enter to view the first pro- cesses started on the entire Linux system.

3. Fill in the following information from the data displayed on the terminal screen after typing the command:

a. Which process has a Process ID of 1? (PID 14 1) b. What character do most processes have in the terminal column

(tty)? c. What does this character in the terminal column indicate?

d. Which user started most of these processes?

e. Most processes that are displayed on the screen are started by a certain parent pro- cess indicated in the Parent Process ID column (PPID). Which process is the parent to most processes?

Type q at the MORE prompt to quit. 4. At the command prompt, type ps el | less and press Enter to view the process

states for the first processes started on the entire Linux system.

5. Fill in the following information from the data displayed on the terminal screen after typing the command:

a. What character exists in the State (S) column for most processes, and what does this character indicate?

b. What range of numbers is it possible to have in the Nice (NI) column?

Which processes have the number 4 in the Flag (F) column, and what does this number indicate? Type q at the MORE prompt to quit. 6. At the command prompt, type ps el | grep Z and press Enter to display zombie pro- cesses on your Linux system. Are there any zombie processes indicated in the State (S) column? 7. Type exit and press Enter to log out of your shell

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

Current Trends In Database Technology Edbt 2006 Edbt 2006 Workshops Phd Datax Iidb Iiha Icsnw Qlqp Pim Parma And Reactivity On The Web Munich Germany March 2006 Revised Selected Papers Lncs 4254

Authors: Torsten Grust ,Hagen Hopfner ,Arantza Illarramendi ,Stefan Jablonski ,Marco Mesiti ,Sascha Muller ,Paula-Lavinia Patranjan ,Kai-Uwe Sattler ,Myra Spiliopoulou ,Jef Wijsen

2006th Edition

3540467882, 978-3540467885

More Books

Students also viewed these Databases questions