Write a c program that searches for a particular process

Assignment Help Computer Engineering
Reference no: EM133370752

Question: Write a C program that searches for a particular process in the process tree (rooted at a specified process) and outputs the requested information based on the input parameters. Synopsis : prctree [root_process] [process_id] [OPTION]

Lists the PID and PPID of process_id if it belongs to the process tree rooted at root_process o root_process is the PID of a process that is a descendant of a current BASH process. o process_id is the PID of a process that is a descendant of a current BASH process. OPTION o - c additionally lists the PIDs of all the child processes (immediate descendent/s) of process_id o - s additionally lists the PID and PPID of all the sibling processes of process_id o - gp additionally lists the PID of the grandparent of process_id o - gc additonally lists the PIDs and PPIDs of all the grandchildren of process_id o - z additionally prints if process_id is DEFUNCT/ NOT DEFUNCT o - zl additionally lists the PIDs of all the child processes of process_id that that are currently in the defunct state

Reference no: EM133370752

Questions Cloud

Explain tasks for the medical assistant to handle : Explain tasks for the medical assistant to handle when opening and closing the healthcare facility. Be specific. Describe the steps taken by a medical assistant
Calculate the total amount of the bill : Calculates the total amount of the bill. The app should display an items menu in four ComboBoxes. Each ComboBox should contain a category of products offered
Based thinking is critical to blue ocean strategy : As you have learned in this module, opportunity-based thinking is critical to blue ocean strategy
How can you change that research question into a hypothesis : Is cognitive therapy a better treatment option than medication for anxiety? How can you change that research question into a hypothesis?
Write a c program that searches for a particular process : Write a C program that searches for a particular process in the process tree (rooted at a specified process) and outputs the requested information
How should institutions determine which clinical privileges : How should institutions determine which clinical privileges to grant?
What are some of the problems with reflecting user input : What are some ways of fixing those problems? If you were making a recommendation among those options, which would you choose and why?
How do you go about creating a well-designed clinical trial : Consider yourself as a principal investigator and a Sponsor has tasked you with designing a clinical trial. What concepts do you consider and how do you go
How might you apply the concept of inferential testing : Why should a law firm hire a security consultant to audit its web applications and What are the first steps that should be taken to test their sites for any SQL

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd