LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Almalinux monitor network traffic (https://www.linuxquestions.org/questions/linux-software-2/almalinux-monitor-network-traffic-4175735699/)

userarrayuser 04-05-2024 08:28 AM

Almalinux monitor network traffic
 
Hello,

How can I see the network traffic in Almalinux?
Via dnf install I can't found any :(

Thank You

TenTenths 04-05-2024 08:50 AM

tcpdump

userarrayuser 04-05-2024 10:04 AM

Quote:

Originally Posted by TenTenths (Post 6494232)
tcpdump

Thank you I tried now but it seems it's more like for package capturing instead showing actual bandwith, or I can't found the proper command flag in help?

TB0ne 04-05-2024 10:13 AM

Quote:

Originally Posted by userarrayuser (Post 6494229)
Hello,
How can I see the network traffic in Almalinux? Via dnf install I can't found any :(

No idea what you mean by "via dnf install I can't found any"...what, exactly, are you looking for, and what are you trying to do???

If you're talking about a monitoring solution there are many, including Nagios, Zabbix, and other similar packages. But you don't define what you're trying to do or how often...if this is a one-time thing, you can use something like netstat, tcpdump, or wireshark and capture data for a period and display it in whatever manner you want.

rknichols 04-05-2024 08:57 PM

2 Attachment(s)
Perhaps iptraf-ng is what you want.
IPTraf-ng is a console-based network monitoring utility. IPTraf gathers data like TCP connection packet and byte counts, interface statistics and activity indicators, TCP/UDP traffic breakdowns, and LAN station packet and byte counts. IPTraf-ng features include an IP traffic monitor which shows TCP flag information, packet and byte counts, ICMP details, OSPF packet types, and oversized IP packet warnings; interface statistics showing IP, TCP, UDP, ICMP, non-IP and other IP packet counts, IP checksum errors, interface activity and packet size counts; a TCP and UDP service monitor showing counts of incoming and outgoing packets for common TCP and UDP application ports, a LAN statistics module that discovers active hosts and displays statistics about their activity; TCP, UDP and other protocol display filters so you can view just the traffic you want; logging; support for Ethernet, FDDI, ISDN, SLIP, PPP, and loopback interfaces; and utilization of the built-in raw socket interface of the Linux kernel, so it can be used on a wide variety of supported network cards.


All times are GMT -5. The time now is 01:58 PM.