A thread is a basic unit of CPU utilization consisting of a program counter, a stack, and a set of registers. A thread is a path of execution within a program. A program can contain multiple threads. Threads can’t exist outside any process and each thread belongs to exactly one process. Information like code segments,
Tag: linux
What exactly is a POD? Basics on Kubernetes
In our previous article on Kubernetes we talked about how kube proxy works, control plane, node components, kubelet and etcd. In this article, we are going to take a look at what exactly is a pod in Kubernetes. What is a pod? A pod is a group of containers and is the most basic deployable
DevOps Interview Questions: What is a context switch and its impact on Linux.
In the last article, we talked about what is /proc file system and how you can see different information there. If you miss the article you can read it below. In this article, we are going to see what exactly is a context switch and what are its impact. What is a context switch? A
DevOps Interview Questions: What do you know about proc filesystem in Linux.
When you are giving interviews where you know you will be asked Linux. You can bet heavily on this question. This is one of the most basic questions that can be asked. In this article, we are going to see what is the answer to this question. What does /proc Directory contains? Let’s do a
What is a process control block PCB and its components.
Process control block (PCB) is a data structure used by a computer operating system to store all the information about a process. The operating system used a data structure named Process Control Block(PCB) to store the information about a particular process, and this information is required by the CPU while executing the process. Each process
The math behind public-key cryptography which is also used in SSH.
There is a very basic tool that everyone uses that works with servers and infrastructure. It is ssh, ssh uses both symmetric and public-key cryptography to keep the data safe in transit. In this article, we are going to talk about the math behind public-key cryptography. Public-key cryptography depends on the prime numbers and large
How exactly kube-proxy works: Basics on Kubernetes.
In recent times Kubernetes is becoming a de facto tool to be used and it adds a lot of value to your profile if you have a good understanding of it. Unfortunately, the way clouds have abstracted everything from users, there are not many people aware of how this actually works behind the scene and
What are targets in Systemd? How is it mapped to runlevels in System V?
We have talked about runlevels in Linux in our old articles and since runlevels were kind of concepts in init systems. We are going to revisit the concept of targets in systemd which are used in most of the Linux distribution. If you not read the runlevel article you can read it on below link.
Logrotate: How and why you should use it properly.
In my on-call duty for the last few years. One thing that comes, again and again, is log cleanup. This happens because of the wrong logrotate or no use of this at all. When we talk about disk cleanup, this is kind of toil to me. To understand what is toil you can look at
DevOps and SRE interview: What you need to learn in Linux?
When we talk about DevOps and system admins, Linux is the first thing that comes to mind. But Linux itself is so vast that it’s really confusing what all you should be aware of if you are planning to go for an interview. In this article, we will try to define what are the most