ICMP is a network layer protocol used by network devices to diagnose network communication issues. Tcpdump command on Linux can be used to capture network packets. We can use the following examples to capture ICMP and ICMPv6 packets with tcpdump command on Linux. What is ICMP? The Internet Control Message Protocol (ICMP) is a protocol …
Linux
Nethogs is a Linux command that allows us to view network usage of a running process in realtime. Nethogs sorts the output by process and network bandwidth usage. We can quickly find out which process is using more bandwidth. This is an important command when we troubleshoot network problems in realtime. How to install nethogs …
This article is part of the following series. 6 performance tools you should know in Linux 5 Ways to Check disk size in Linux 4 Ways to Check Disk Partition with Examples in Linux How I Fixed a disk performance issue in Minutes – A Step by Step Guide to Optimize Linux System Iotop …
Timeo is a timeout mount option in NFS mount. It is the timeout value that the NFS client uses to wait for a response before it retries an NFS request. Let’s dive into the details about what this timeout value means between NFS over TCP and NFS over UDP. Check this post to learn more …
If you’re a Linux system administrator, then you’re probably familiar with DNS, which is a critical component of networking. TCPdump is a powerful Linux command that can help you capture and filter network packets. With TCPdump, you can analyze DNS query traffic which gives you greater insights into how DNS works. In this article, we’ll …
Top is a very powerful command to periodically display a sorted list of system processes. The default sorting key is %CPU on Linux. Below we collect 3 ways to sort processes by memory. Understanding top command in Linux The top command in Linux is used to display information about the current running processes on your …
Tcpdump command in Linux can be used to capture ICMP packets. We will start with ICMP protocol introduction and then check out how to filter ICMP and ICMPv6 packets with tcpdump command. What is ICMP? Use tcpdump to capture ICMP Packets Filtering ICMP echo reply echo request Packets Use tcpdump to capture ICMPv6 packets What …
/proc/meminfo on Linux displays current system-wide memory performance statistics. It provides the most complete view of system memory usage. Here is a detailed explanation of all the metrics. We can use these memory metrics to troubleshoot Linux memory issues. MemTotal The total amount of system physical memory. MemFree The total amount of free physical memory. …
Userdel command can be used to delete a user and related files in Linux. In most Linux distributions, the user home and mail spool directories are not removed when removing a user account with userdel. We are going through the whole process to see what happens after we run userdel command. Understanding Userdel Command The …
The tar command in Linux is used to bundle up multiple files and/or directories. It’s similar to the zip command. However, zip files are compressed by definition; tar files can be compressed, but don’t have to be. How to Use tar command on Linux The basic command for creating tar.gz files is as below: $ …