Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The command ps -Af will display a listing of all processes running on the same machine as you are. This includes processes being run by

The command ps -Af will display a listing of all processes running on the same machine as you are. This includes processes being run by lots of other people. Part of the information shown is the name of the command that launched the process. It also will show the login name of the account that launched that process. Try it now and examine its output.

One of the most common processes that you will see is sshd, the process that accepts an incoming ssh connection like the ones that you have opened for this assignment.

What command would you enter to get a count of the number of sshd processes running on the machine where you are logged in?

Must use ps -Af

Answer is: ps -Af | grep sshd | wc

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

MySQL/PHP Database Applications

Authors: Brad Bulger, Jay Greenspan, David Wall

2nd Edition

0764549634, 9780764549632

More Books

Students also viewed these Databases questions

Question

Evaluate three pros and three cons of e-prescribing

Answered: 1 week ago

Question

=+7 What is the overall cost of the international assignment?

Answered: 1 week ago