Question

In: Computer Science

What is the command to view the process? What is a zombie process & What is...

What is the command to view the process?

What is a zombie process & What is the command to take care of zombie process?

Solutions

Expert Solution

Please find the answer below. Let me know if you have any doubt. Please give thumbs up to my answer.

Part1: command to view the process:

To display all running process:

# ps aux | less

To see every process on the Linux system

# ps -A
# ps -e

To see every process except those running as root

# ps -U root -u root -N

To see process run by user specific user (eg. xyz)

# ps -u xyz

Part 2:  zombie process

process have an exit status to report to its parent process when a process finishes execution. Due to this, the last tiny bit of information, the process will remain in the operating system’s process table as a zombie process. which will not to be scheduled for further execution, but that it cannot be completely removed until it has been determined that the exit status is no longer needed.

command to take care of zombie process:

kill -s SIGCHLD pid


Related Solutions

                      Contact Manager COMMAND MENU ---------------------------------------------------------- list - Display all contacts view - View
                      Contact Manager COMMAND MENU ---------------------------------------------------------- list - Display all contacts view - View a contact add - Add a contact del - Delete a contact exit - Exit program Command: list 1. Tom van Rossum 2. Edward Idle Command: view Number: 2 Name: Edward Idle Email: [email protected] Phone: +44 20 7946 0958 Command: add Name: John Smith Email: [email protected] Phone: 559-123-4567 John Smith was added. Command: list 1. Tom van Rossum 2. Edward Idle 3. John Smith Command: exit...
In your view why are taxes and tradable permits preferred to command and control policies.
In your view why are taxes and tradable permits preferred to command and control policies.
Python Add a command to this chapter’s case study program that allows the user to view...
Python Add a command to this chapter’s case study program that allows the user to view the contents of a file in the current working directory. When the command is selected, the program should display a list of filenames and a prompt for the name of the file to be viewed. Be sure to include error recovery in the program. If the user enters a filename that does not exist they should be prompted to enter a filename that does...
4. Identify the tool is used with the netstat command to view a system's routing table?...
4. Identify the tool is used with the netstat command to view a system's routing table? Run the identified command and highlight the output of the command with an appropriate result and discussion.
ROLE-PLAY EXERCISE On Command Corporation PROCESS You have been assigned a role in the On Command...
ROLE-PLAY EXERCISE On Command Corporation PROCESS You have been assigned a role in the On Command Corporation case. Please read the general information (Introduction) about the case. Read and understand your role. Your teammates have different roles. Due the situation, you need to work with your team to produce an employee meeting, you have 15 minutes to present the statement and conduct the meeting – see the link attached with information about an employee meeting (you need to create a...
PART 5: Learn about commands used to view contents of files: use the cat command to...
PART 5: Learn about commands used to view contents of files: use the cat command to review the contents of the /home/test/passwd.bak type:   cat passwd.bak 2. now add the |more to the last command (see what happens when you push the up arrow curser key-it recalls the last command) 3. now try to cat the passwd.bak file but look at the first few lines and then the last few lines using the head and tail commands type:  head passwd.bak   and    tail...
A zombie apocalypse is expected to make paper money worthless. In your opinion what would be...
A zombie apocalypse is expected to make paper money worthless. In your opinion what would be the item with the highest relative price (the price of a good in terms of another)? Explain why? Explain how an increase in human capital (knowledge and skills acquired) would effect a change in or movement along the supply curve of bullets during the zombie apocalypse.
1. What command is used to change the current working directory at the command line?
1. What command is used to change the current working directory at the command line?
Windows XP Command Line questions. a) What is the command to display all of the files...
Windows XP Command Line questions. a) What is the command to display all of the files on the disk in drive A:--do not use the DIR command or the CHKDSK command C:\> b) Display the contents of the PERSONAL.FIL file located in the root directory of drive A: one screenful at a time C) Display the contents of the PERSONAL.FIL file located in the root directory of drive A:, one screenful at a time, beginning with the 25th record, on...
Army Mission Command - Discuss how the commander’s visualization is a continuous process.
Army Mission Command - Discuss how the commander’s visualization is a continuous process.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT