Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Explain what happens for the child process if you kill the parent process and keep the child process alive? [root@localhost #ps PID TTY 3267 tty1

Explain what happens for the child process if you kill the parent process and keep the child process alive?

image

[root@localhost "#ps PID TTY 3267 tty1 4146 ttyl 4147 ttyl 4149 ttyl [root@localhost 88:88:88 ps "#ps -u PID CPU MEM USZ 3267 8.8 8.2 115544 4146 49.8 8.8 4216 4147 49.8 8.8 4216 4158 8.8 8.1 155468 [root@localhost ")# ps -p error: list of process IDs must follow -p USER root root root root Usage: ps [options] TIME CMD 88:88:88 bash 88:88:58 lab83 88:88:58 lab83 For more details see ps(1). [root@localhost ")# ps -f UID root root root root Try 'ps --help or 'ps--help for additional help text. RSS TTY 2856 ttyl 352 tuy 88 tty1 1868 ttyl PID PPID C STIME TTY 2766 8 85:18 ttyl 3267 4146 3267 49 85:56 ttyl 4147 4146 49 85:56 ttyl 4165 [root@localhost [root@localhost "#ps -f 3267 8 86:81 ttyl "# kill -9 4146 UID root root root [1] Killed [root@localhost "]# PID PPID C STIME TTY 3267 2766 8 85:18 ttyl 4147 1 56 85:56 ttyl 4169 3267 8 86:18 ttyl STAT START Ss 85:18 R 85:56 R 85:56 R 86:88 TIME CMD 88:88:88-bash TIME COMMAND 8:88-bash 1:53 IS-3833-Downloads/lab83 1:53 IS-3833-Downloads/lab83 8:88 ps-u 88:82:35 IS-3833-Downloads/lab83 88:82:35 /IS-3833-Downloads/lab83 88:88:88 ps -f TIME CMD 88:88:88-bash 88:12:52 88:88:88 ps -f IS-3833-Downloads/lab83 IS-3833-Downloads/lab83

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_2

Step: 3

blur-text-image_3

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

Microeconomics An Intuitive Approach with Calculus

Authors: Thomas Nechyba

1st edition

538453257, 978-0538453257

More Books

Students also viewed these Computer Network questions