Command to get top ten processes consuming most CPU

Command to get top ten processes consuming most CPU


When you are running a web server it is really important to keep the track of process which are consuming most resources. We will see the command to get top ten processes consuming most CPU Command to get top ten processes consuming most CPU Such tracking is important when there is a DOS attack and you

what happens when you click a link

What happens when you click a link?


What happens when you click a link? So, when you click on a link,  there are three things that can happen. What happens when you click a link? 1. Simple Action with url and no javascript of any other such language involve, also no css is involved.  At a high level, when you click on

blue_green_deployments

What is blue green deployment.


If you are around devops people or people who are working with deployments in your industry. You must have heard of the name blue green deployment. Most of the companies in the world use this technique to get the least down time for their respective products. This deployment is old but still one of the

Pure and impure functions

Difference between pure and impure functions.


What are pure and impure functions? Pure functions: These are functions which are sure to provide exact result when the same arguments are passed. For having a function as pure function if must not have any external variable, data store call, ajax request or any other global variables. This means that you can be completely

Binary Tree and its traversal using python.

Algorithms: Left view of a binary tree.


In the algorithm section I am here going to share how to get the left view of the binary tree. For that you must know what is binary tree. Algorithms: Left view of a binary tree. Binary tree are the tree where one node can have only two child and cannot have more than two.