How to List Running Processes in Linux

How to List Running Processes in Linux

Whenever you run a process, it consists of various elements such as the user input, retrieving and processing the data from the files, program instructions, and more. Primarily, processes have two types: foreground processes and background processes. While the foreground processes usually depend on user input, the background processes run on their own without the … Read more

How to List Running Services on Linux

How to List Running Services on Linux

Services are the backbone of any operating system and are essential to ensure the optimal functioning of various applications. It generally refers to the daemons or background processes that run independently without user involvement. Users often need to view these services in various situations such as system monitoring, security audits, issue troubleshooting, service dependency analysis, … Read more

How to Monitor HAProxy

How to Monitor HAProxy

Installing and configuring HAProxy is the first step to harness its power as a load balancer or reverse proxy for your web applications or servers. However, you still must check the health of your servers. You can do this by having a way to monitor HAProxy. It is through monitoring HAProxy that you can assess … Read more

How to Set Up and Understand Logging in HAProxy

How to Set Up and Understand Logging in HAProxy

When you have a web server or other hosted application, a load balancer such as HAProxy will help you distribute the traffic to ensure that your server doesn’t overload. When you choose to use a load balancer, you still need a way to troubleshoot it by checking the logs. With HAProxy, you must understand how … Read more

How to Capture and Analyze the Packets by Example with Tcpdump

How to Capture and Analyze the Packets by Example with Tcpdump

Tcpdump is a powerful network analysis tool that is used for network traffic analysis in Linux systems and macOS. Network administrators use tcpdump for network sniffing, capturing, and analyzing the TCP/IP packets. It uses a “libpcap” library that helps in capturing the network traffic efficiently. In addition, tcpdump helps in network troubleshooting and monitoring the … Read more

Automount Drives on Linux

Automount Drives on Linux

If you are a Linux user and want to automatically mount a drive to your system on boot, then it can be done by placing the UUID of the device and mount point path in the fstab configuration file. The fstab is a File System Table file located in the /etc directory. Well, automounting a … Read more

How to Show Mounts in Linux

How to Show Mounts in Linux

File management in Linux has always been the most essential part of a user’s workflow. Fortunately, it has a great file system and offers various features for efficient file management. It has commands for creating or deleting the directories, listing them, displaying their content, limiting the access, and many more. It lets you view the … Read more

How to Configure HAProxy as a Reverse Proxy

How to Configure HAProxy as a Reverse Proxy

When you have a web server, having a way to forward the client requests and the server’s response helps with distributing the traffic and enhances the security. A reverse proxy, such as HAProxy, acts as an intermediary between your web application and client devices when configured. That way, it receives the client requests and forwards … Read more

Linux Vmstat Command

Linux Vmstat Command

In this guide, we will demonstrate the various ways of using the “vmstat” command in Linux. Prerequisites: To perform the steps that are demonstrated in this guide, you need the following components: Virtual Memory in Linux The physical memory, also referred to as RAM, is finite in amount. The kernel is responsible for distributing this … Read more