It’s a pretty much common question asked in most of the interviews related to Linux, and most of the time people got it confused with Orphan Process. But these two are totally different from each other. A Zombie Process is nearly the same thing which we see in lot of horror movies. Like the dead people which don’t have any life force left, Zombie processes are the dead processes sitting in the process table and doing nothing.
To explain this in much better way, “Zombie process or defunct process is a process that have completed the execution, have released all the resources (CPU, memory) but still had an entry in the process table.”
It’s a pretty much common question asked in most of the interviews related to Linux, and most of the time people got it confused with Zombie Process. But these two are totally different from each other. An Orphan Process is nearly the same thing which we see in real world. Orphan means someone whose parents are dead. The same way Orphan process is a process, whose parents are dead, that means parents are either terminated, killed or exited but the child process is still alive.
Upgrading the system is one of the very common tasks a Linux Administrator usually do. One can easily update the system with Yum or apt-get commands but the main problem which everyone faces is to reboot the system after a kernel upgrade. This comes out to be a big problem for small organizations, where one don’t have High Availability setup and can’t afford to reboot the system because of the upgrade.
Since reboots are disruptive, many system administrators delay the update of there patches and makes their system vulnerable to attacks. Below given is the frequency of reboots needed in the last year for respective flavors of linux.
If you would like to know information about your system then where you will go and look into … proc filesystem and dmesg. Yes, you will get some information out of it, but that is not the full information. Then you go and search for the spec sheet given my manufacturer to find what you are looking for. But what if you are handling remote system ??
I had heard this question a lot of time and also seen people struggling to take the printout of Linux man pages, instead of the fact that it is one of the very simplest task.
This can be done in a series of steps or in one single steps. I will be explaining both here.