In scenarios where load is something to consider use the command line version of network monitor 3 to capture network data.
Monitor network traffic windows 7 command line.
For a complete list of netstat parameters type netstat help in the command prompt.
Network monitor opens with all network adapters displayed.
For example this command set the speed unit to kb sec.
Here tcp is the protocol 192 168 1 8 is the local ip address 55544 is the local port number 111 221 29 125 is the foreign ip address and 443 is the foreign port number while the connection is.
The command line version is nmcap exe.
For more information about nmcap exe see the nmcap exe command line tool section.
Reproduce the issue and you will see that network monitor grabs the packets on the wire.
Unfortunately i m looking for some info as far as total network traffic over time.
C xampp php php exe f c xampp htdocs bwlog php the bwlog php script uses phep answer suggested windows command netstat e.
Windows 7 and 8 have a useful utility to monitor network activity.
For example this resource monitor gives network traffic in bytes per second so i can see that streaming groove salad in winamp is taking up 32k b sec but is there a method other.
Network monitor 3 may consume lots of system resources.
In my article best windows 7 commands to get you started i introduced the very basic starter windows command line cmd s to persuade people to open the windows cmd prompt and give it a try.
Here s how i do it on mac osx.
Feel free to terminate any processes running unwanted tcp connections.
Added thousands separator to all byte counter units.
Select the network adapters where you want to capture traffic click new capture and then click start.
You can create the script file with the notepad and the code is.
By default the file will be saved.
The second command provides pid numbers that may be verified against running processes in the windows task manager under view select column.
I then followed up with a another command line article.
Some things to consider are listed as.
You can set any variable appears saved in the cfg file from command line.
I started a local apache php server using xampp for windows and run this script from command line.
When it s turned on a total item is added showing the total tcp udp bytes and packets of all applications together.