1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
hodyreva [135]
2 years ago
9

Which utility, when run with a search term, will return back only the process id (pid) of that process?

Computers and Technology
1 answer:
a_sh-v [17]2 years ago
4 0

pgrep exists a command-line utility that permits you to find the process IDs of a running program founded on given criteria. It can be a full or partial process name, a user running the operation, or other attributes.

<h3>What is pgrep?</h3>

pgrep exists a command-line utility initially written for usage with the Solaris 7 operating system by Mike Shapiro. It has since been obtainable in illumos and reimplemented for Linux and BSDs. pgrep exists a command-line utility that permits you to find the process IDs of a running program founded on given criteria. It can be a full or partial process name, a user running the operation, or other attributes.

The grep filter searches a file for a certain pattern of characters and presents all lines that include that pattern. The pgrep filter searches for fixed-character strings in a file or files. The main distinction between both commands exists String matching algorithm utilized by them.

The easiest method to find out if the process stands running exists run ps aux command and grep process name. If you got output along with process name/pid, your process exists running.

To learn more about pgrep refer to:

brainly.com/question/12950137

#SPJ4

You might be interested in
Write a program that includes functions to calculate feet to inches, inches to feet, feet to yards, and yards to feet. Then, acc
RoseWind [281]

Answer:

The program with all the functions implemented in Java programming language is given in the explanation section

Explanation:

import java.util.Scanner;

public class num11 {

   public static double feetToInches(double feet){

       return feet*12;

   }

   public static double inchesToFeet(double inches){

       return inches/12;

   }

   public static double feetToYard(double feet){

       return feet/3;

   }

   public static double yardToFeet(double yard){

       return yard*3;

   }

   public static void main(String[] args) {

       Scanner in = new Scanner(System.in);

       System.out.println("Enter length in feet");

       double lenFeet = in.nextDouble();

       System.out.println("The equivalent in Inches is "+feetToInches(lenFeet));

       System.out.println("The equivalent in yard is "+feetToYard(lenFeet));

       System.out.println("enter value in Inches");

       double lenInches = in.nextDouble();

       System.out.println("The equivalent feet is "+inchesToFeet(lenInches));

       System.out.println("enter value in Yards");

       double lenYard = in.nextDouble();

       System.out.println("The equivalent feet is "+yardToFeet(lenYard));

   }

}

7 0
4 years ago
Read 2 more answers
The ability to anticipate and determine upcoming driving hazards and conditions are adversely affected by stress.
dybincka [34]
It can be stress or drinking, drugs, or anything of the sort.
6 0
4 years ago
After pushing the power switch of the PC to the ʺonʺ position, Bob, the PC repair person, realizes that the power-on lights foun
Nana76 [90]

Answer:

<em>2. Logic</em>

<em></em>

Explanation:

We all know that for the PC to come on, there must be a power input, this means that if the PC does not power on, then there is probably no power input into the PC. <em>It is only logical for Bob to check if the PC is properly connected first when the power-on lights did not come on</em>. People with no technical training should be able to apply this simple logic too.

3 0
3 years ago
Python Question: write a program that generates a random number in the range of 1 through 100, and asks the user to guess what t
natima [27]

Answer:

import random

arr=[]

for i in range(100):

   arr.append(i)

while True:

   answer=random.choice(arr)

   guess=int(input("enter your guess number between 0-100: "))

   if answer is guess:

       print("right guess\ncongratulations.....")

       print("the answer was: "+str(answer))

       break

   elif guess < answer-20:

       print("you guessed too low....\ntry again")

       print("the answer was: "+str(answer))

   elif guess > answer+20:

       print("you guessed too high....\ntry again")

       print("the answer was: "+str(answer))

   else:

       print("incorrect guess\ntry again")

       print("the answer was: "+str(answer))

Explanation:

6 0
3 years ago
Davids family took him to a hospital as he was suffering from a sericous ailment
marta [7]

Answer:

Here are some other sentences which always demonstrate that perhaps the hospital operates with either the help of technology, which is given below.

Explanation:

  • As eventually as he was acknowledged or confessed, the medical records of David would be documented by the medical practitioners.
  • David was therefore positioned through an ICU during which his heart rate had been monitored closely (those same types of machinery were directly linked to the desktops in position to obtain comment of his vital statistics.)
7 0
3 years ago
Other questions:
  • 11What is the definition of bandwidth? the speed at which bits travel on the network the measure of the transfer of bits across
    7·1 answer
  • Which protocol do many browsers assume when you enter a URL in the address field?
    9·1 answer
  • Hi hehehehehehehehehheeheh<br>​
    10·1 answer
  • This document shows a student's education and career goals and a way to achieve those goals.
    8·1 answer
  • George enters the types of gases and the amount of gases emitted in two columns of an Excel sheet. Based on this data he creates
    6·1 answer
  • What kind of power does Tesla Model S, 3 X, and Y use?
    8·2 answers
  • Write bash script which takes array as an input of size 10 bind its even indexes to accept even values and odd indexes to accept
    5·1 answer
  • Denise found a volume of documents in the trash bin that contained individuals, names, social security numbers and years of birt
    14·1 answer
  • Builder Software is used to create _____? answers: 3d digital art design for cameras audio special effects
    5·2 answers
  • Which of these statements are true about domain controllers (dcs)? check all that apply.
    5·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!