Monitoring is one of the crucial tasks of a SysAdmin amp its useful in identifying any issues with our systems or networks. Once an issue has been identified we can then resolve it. In this article we are going to discuss one such tool basically its a command-line utility called TCPDUMP Command.
Tcpdump command is a network packet analyzing tool that allows us to monitor our network traffic. Using it we can check the TCPIP amp other network packets being transmitted over the network interfaces attached to our servers.
Recommended Read Examples on how to use PS COMMAND in Linux.
Also Read Top Linux commands to monitor NETWORK.
Tcpdump command uses libpcap library to capture the network packets. We can check the network packets in real-time or we can also save it to a file which we can check later. To use the tcpdump command we should use it with root user or with a user with sudo privileges.