Monitor Data Usage on a Network

Abstract: Identify bandwidth-consuming applications on Linux and Windows systems using tools like nethogs, iftop, and Resource Monitor.

Created: 2026-10-01 by

Monitor data usage on a network by leveraging built-in operating system tools for local tracking and dedicated software for aggregate traffic analysis. Linux users can employ nethogs or iftop to view real-time bandwidth consumption per process, while Windows administrators rely on Resource Monitor for detailed breakdowns. For broader visibility across multiple devices, deploying open-source solutions like ntopng or PRTG provides comprehensive historical data and alerting capabilities.

Selecting the Right Monitoring Approach

The method you choose depends entirely on whether you need to monitor a single endpoint or an entire subnet. If your goal is to identify which specific application on a server or workstation is consuming excessive bandwidth, local monitoring tools are sufficient and require no additional infrastructure. However, if you need to track total throughput, protocol distribution, or top talkers across a VLAN, you must deploy a network-level sensor. Local monitoring is lightweight and immediate but offers no insight into traffic between other hosts. Network-level monitoring requires access to a switch port mirror (SPAN) or a dedicated tap to capture packets passing through the network core. This distinction is critical because misconfiguring a SPAN port can lead to significant performance degradation or packet loss if the monitoring interface cannot handle the full line rate of the uplink.

Monitoring Local Traffic with Linux Tools

Linux distributions provide powerful command-line utilities that do not require root privileges for basic viewing, though elevated permissions yield more accurate process mapping. The most effective tool for identifying which application is using the most bandwidth is nethogs. Unlike other tools that group traffic by IP address, nethogs groups it by process, making it easier to pinpoint problematic services. Install nethogs using your package manager. On Debian-based systems, run:
sudo apt-get install nethogs
On RHEL or CentOS environments, use:
sudo yum install nethogs
Once installed, execute the command against the specific network interface you wish to monitor, such as eth0 or wlan0:
nethogs eth0
The output will display a real-time table showing the PID, user, program name, and current upload/download rates. Press q to quit. For a more static view of connections and their states, iftop is another excellent alternative. It displays a ranked list of active connections sorted by bandwidth usage, allowing you to see exactly which remote IPs are driving traffic. Install it via sudo apt-get install iftop and run it similarly. These tools are essential for troubleshooting sudden spikes in latency or unexplained bill increases from cloud providers.

Tracking Usage on Windows Systems

Windows includes a robust built-in utility called Resource Monitor that provides detailed network statistics without requiring third-party downloads. This is particularly useful for quick diagnostics when a user reports slow internet speeds. Access this tool by pressing Win + R, typing resmon, and hitting Enter. Navigate to the "Network" tab. The Network tab presents several key views. The "Processes with Network Activity" section lists every running application and its current send/receive bytes. Below that, the "TCP Connections" view shows established sessions, including the remote IP and port, which helps identify unauthorized outbound connections. Finally, the "Listening Ports" section reveals which services are awaiting incoming traffic. For historical data rather than just real-time snapshots, Windows Performance Monitor (perfmon) is the standard tool. Add the "Network Interface" object and select counters such as "Bytes Total/sec" or "Packets Outbound Errors." This allows you to create graphs over time and set alerts when thresholds are exceeded, providing a deeper level of analysis than Resource Monitor alone.

Deploying Centralized Network Monitoring

When managing multiple subnets or high-traffic segments, local tools become insufficient. You need a centralized platform that aggregates data from various points. Open-source options like ntopng offer a web-based interface that visualizes traffic flows, protocols, and host rankings. To deploy ntopng, you typically need to configure a SPAN port on your managed switch to mirror traffic to the machine running the service. After installation, access the web UI to see dashboards that highlight top talkers, unusual protocols, and potential security threats like DDoS attempts. Commercial alternatives like PRTG Network Monitor provide similar features with more granular alerting rules and reporting exports. Regardless of the tool, ensure that the monitoring device has sufficient storage and processing power, as packet inspection is CPU-intensive. If you encounter issues where monitored traffic appears inconsistent, check your firewall rules. Sometimes, local firewalls drop packets before they reach the monitoring interface, leading to under-reported usage. Additionally, encrypted traffic (HTTPS/TLS) prevents deep packet inspection of content, though bandwidth volume remains visible. For further insights into related connectivity issues, you might find Troubleshooting SSH Connection Issues helpful if your monitoring setup relies on secure shell access for remote configuration.

Interpreting Bandwidth Metrics

Understanding the difference between bits and Bytes is crucial. Network speeds are advertised in bits per second (bps), while file transfers and disk I/O are measured in Bytes (B). One Byte equals 8 bits. Therefore, a 100 Mbps connection theoretically supports 12.5 MB/s download speed. Monitoring tools often display raw bit rates, so convert these mentally to understand actual file transfer capabilities. Latency and jitter are also important metrics. High bandwidth does not guarantee good performance if latency is unstable. Use ping tests alongside bandwidth monitors to correlate throughput drops with delay spikes. This holistic view helps distinguish between congestion issues and hardware failures.

Frequently Asked Questions

How do I monitor bandwidth on a router?

Most consumer routers have a built-in traffic monitoring section in their administration panel. Log in to the router's web interface and look for "Status," "Statistics," or "Bandwidth Monitor." Enterprise-grade routers may require enabling SNMP or NetFlow export to send data to a central collector for detailed analysis.

Can I monitor network usage without installing software?

Yes, if you have administrative access to a managed switch, you can configure Port Mirroring (SPAN) to duplicate traffic to a monitoring port. You can then connect a laptop running free tools like Wireshark or tcpdump to that port to analyze all traffic passing through the switch without touching the endpoints themselves.

Why is my monitoring tool showing less traffic than expected?

This often occurs due to offloading features on the network card, such as TCP Checksum Offload or Large Send Offload. These hardware features process data before it reaches the driver, causing some packet sniffers to miss bytes. Disabling these offloads in the adapter properties usually resolves the discrepancy, though it may increase CPU usage.

Is it possible to monitor mobile data usage remotely?

Directly monitoring cellular data usage from a LAN-connected PC is generally not possible unless the mobile device is tethered via USB or Bluetooth and the OS shares those stats. Alternatively, you can use carrier-provided apps or APIs if available, or place a proxy server on the network path to log all HTTP/HTTPS requests passing through the gateway.

What is the best tool for identifying bandwidth hogs?

nethogs is widely considered the best tool for this purpose on Linux because it groups traffic by process ID rather than IP address. On Windows, Resource Monitor serves this function well, but for persistent tracking, scheduled tasks exporting data to CSV files allow you to sort historical records by maximum usage to find recurring offenders.

Latest News

How to Display Output of xterm Command in Terminal Screen using Cron

Resolve the inability to display xterm output in a terminal screen from cron by redirecting logs or using wall instead of insecure X11 workarounds.

Read More
Expose Local Server on VPS Preserving Real Client IPs (OS Level)

Resolve VPS logging showing only gateway IPs by configuring reverse proxies to forward real client addresses via X-Forwarded-For headers.

Read More
How to Clear Recent Files History in Linux without Deleting Actual Files?

Clear recent files history in Linux by deleting ~/.local/share/recently-used.xbel without removing the actual files.

Read More
Best HDD Copy Strategy: Manually Syncing and Rewriting Scratch

Resolve data drift between two 4TB hard drives by using rsync with the --delete flag to manually sync and rewrite scratch data for an exact mirror.

Read More
Understanding Bash Prompt Abbreviations: An Overview

Resolve repetitive typing errors by creating and persisting Bash aliases in the .bashrc file for improved command-line efficiency.

Read More
Free Tools and Methods to Log Real-Time Performance Details in Task Manager

Log real-time CPU and memory metrics to CSV files using Windows Performance Monitor Data Collector Sets to troubleshoot system slowness.

Read More
Contact Qatar Airways Customer Service: Phone Number, Help Center, and More

Resolve urgent Qatar Airways reservation issues like flight changes and baggage claims using the US phone number +1801-855-5905 or online self-service tools.

Read More
Windows 11: Alt Codes Displaying Wrong Characters - Solutions

Resolve Windows 11 Alt codes showing wrong characters by verifying the US keyboard layout and enabling Num Lock.

Read More
Run Programs with Elevated Privileges: A Comprehensive Guide

Eliminates the need to type sudo for frequent administrative tasks by configuring .bashrc aliases or functions.

Read More
Dynamically Changing Dates in Excel Formulas Using Cells

Eliminate manual date updates in Excel by using cell references to create dynamic formulas that automatically adjust calculations when input dates change.

Read More
Granting Edit Access to a Specific Excel Sheet in an Office 365 User Email ID-Based Login

Excel Online lacks native sheet-level permissions, so users must split workbooks or use worksheet protection to isolate edit access for specific tabs.

Read More
Creating Network Load on Local Wi-Fi from One PC

Generate sustained Wi-Fi bandwidth load from a single PC using a VM SFTP server to test router stability and throughput.

Read More
Changing the Default Editor for Batch Files in Windows 11's File Explorer

Resolve the issue of batch files opening in Notepad by changing the default editor to a preferred application like VS Code.

Read More
Gain WiFi Connection Minutes Before Losing it by Changing MAC Address

Bypass MAC address filtering to restore WiFi connectivity temporarily when a device is blocked by network administrators.

Read More
Photos Folders Turned Black: Troubleshooting Picture Applications on Windows

Resolve black screens in Windows Photos by resetting the app, updating graphics drivers, and repairing system files.

Read More
Troubleshooting High CPU Temperature Values: A Step-by-Step Guide

Resolve high CPU temperatures and thermal throttling by monitoring with Speedfan, cleaning dust from cooling components, and replacing degraded thermal paste.

Read More
Make cURL establish TLS connection with CA unknown

Resolve cURL TLS connection failures with unknown or self-signed certificates by using the --insecure flag to bypass CA validation.

Read More
Troubleshooting Incorrect Network Metrics Values in Grafana, Prometheus, InfluxDB, and Telegraf

Fix incorrect network metrics in Grafana, Prometheus, InfluxDB, and Telegraf by verifying interface selection, resolving unit mismatches, and handling counter resets.

Read More
Start Another Terminal Window (cmd.exe) Windows Repair/Troubleshoot

Provides step-by-step instructions to access the Windows Command Prompt via bootable media for advanced system repair and troubleshooting.

Read More
Thinkpad P1 Gen 6: Sudden Thunderbolt 3 Dock USB-C Charging Stopped Working

Resolve sudden Thunderbolt 3 dock USB-C charging and internet failure on ThinkPad P1 Gen 6 by updating firmware, resetting the dock, and adjusting power settings.

Read More
ASUS Windows 11 Laptop: Internet Connection Issue with Hotspot

Resolve ASUS Windows 11 laptop spinning wheel issue when connecting to mobile hotspot by resetting network stack, disabling IPv6, and adjusting power settings.

Read More
Developing iOS Project with Firebase: Logging in and Sending Push Notifications

Integrates Firebase to enable secure user authentication and push notifications in iOS applications.

Read More
Troubleshooting Bash Script with Suspected Issues of Spaces, Dashes, Filenames and Quoting

Resolve Bash script failures caused by word splitting, globbing, and special characters in filenames by applying proper quoting techniques.

Read More
Populating OneDrive Folder for Local Backup without Affecting Remote Files

Prevent OneDrive from deleting remote files during Windows reinstallation by unlinking the account or using symbolic links to isolate local data.

Read More
Force First Frame as Keyframe Without Re-encoding: A Quick Solution

Resolve inaccurate seeking and playback glitches by re-encoding video to ensure the first frame is a valid keyframe.

Read More
Find Information in Database Using WSL (Ubuntu) on Windows-10

Resolve database connection issues from WSL Ubuntu on Windows 10 by configuring client tools and network access to query remote or local servers.

Read More
Configuring a New Router with Different Networks: One Family, One Guest

Resolve IP conflicts and isolate guest traffic by configuring a second router with a distinct subnet via its WAN port.

Read More
Quickly Open Multiple Stock Websites with a Single Command

Solve the problem of manually opening multiple stock research websites by creating a single command to launch them simultaneously on Windows, macOS, or Linux.

Read More
Improved Adobe Acrobat Search Experience: Access Advanced Search with Ease

Access advanced search filters like case sensitivity and regex in Adobe Acrobat by clicking More Options in the Find bar.

Read More
Port Forwarding VM via OpenVPN: A Comprehensive Guide

Configure OpenVPN server and iptables to forward specific ports from VPN clients to a virtual machine's internal IP address.

Read More
Understanding Partitions in the 1980s: A Look Back at MS-DOS and Master Boot Record

Explains how the Master Boot Record and partition table enabled MS-DOS to manage multiple disk volumes on a single physical drive.

Read More
Windows 10 Enterprise: Keyboard Not Detected in Managed Organization with Admin Privileges

Resolve Windows 10 Enterprise keyboard detection failures caused by Group Policy restrictions, driver corruption, or USB enumeration errors.

Read More
Can't Find x86_64 Versions of Applications on MacOS arm64 (M1)

Resolve missing x86_64 app issues on M1 Macs by installing Rosetta 2 and reinstalling apps as universal binaries.

Read More
How to Hide Installation Source for an Android App

Manage Android app installation source visibility by using USB transfers or file managers to reduce browser traces and isolate data via work profiles.

Read More
Connecting Momentus 4200.2 ST9808210A Hard Drive via USB Cable

Resolve inability to access Seagate Momentus 4200.2 ST9808210A hard drive by connecting it via USB using a compatible SATA-to-USB adapter and configuring the disk in Windows.

Read More