Here s how i do it on mac osx.
Monitor network traffic windows 7 command line.
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.
Select stop and go to file save as to save the results.
C xampp php php exe f c xampp htdocs bwlog php the bwlog php script uses phep answer suggested windows command netstat e.
For example this command set the speed unit to kb sec.
For a complete list of netstat parameters type netstat help in the command prompt.
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.
I then followed up with a another command line article.
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.
For more information about nmcap exe see the nmcap exe command line tool section.
Some things to consider are listed as.
Feel free to terminate any processes running unwanted tcp connections.
Network monitor opens with all network adapters displayed.
When it s turned on a total item is added showing the total tcp udp bytes and packets of all applications together.
Windows 7 and 8 have a useful utility to monitor network activity.
The command line version is nmcap exe.
I started a local apache php server using xampp for windows and run this script from command line.
The second command provides pid numbers that may be verified against running processes in the windows task manager under view select column.
Use netstat to check your windows pc network traffic.
Reproduce the issue and you will see that network monitor grabs the packets on the wire.
By default the file will be saved.
Unfortunately i m looking for some info as far as total network traffic over time.
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.
You can set any variable appears saved in the cfg file from command line.
Added show total line option.