Re: View all processes accessing internet?





"Wesley Vogel" wrote:

Type: netstat /? in a command prompt and hit enter.

netstat.exe displays protocol statistics and current TCP/IP network
connections.

process identifier (PID)
[[A numerical identifier that uniquely distinguishes a process while it
runs. Use Task Manager to view PIDs.]]

Open a command prompt...
Start | Run | Type: cmd | Click OK |
Type: netstat -ano and hit ENTER

Under Local Address, look for the numbers after the colon (, that's the
port number.

You can match up the PID # in Task Manager to find the process that is using
the port.

Open the Task Manager, Ctrl + Shift + Esc.
Click on the Processes tab.
Click the PID column header to sort the PID #s in order.

Example....
-------------
C:\>netstat -ano

Active Connections

Proto Local Address Foreign Address State PID
TCP 0.0.0.0:445 0.0.0.0:0 LISTENING 4
TCP 0.0.0.0:2963 0.0.0.0:0 LISTENING 1636
TCP 24.9.206.13:2963 207.46.248.16:119 ESTABLISHED 1636
TCP 24.9.206.13:2971 216.148.227.80:110 TIME_WAIT 0
TCP 24.9.206.13:2972 65.17.220.40:110 TIME_WAIT 0
UDP 0.0.0.0:445 *:* 4
UDP 127.0.0.1:2760 *:* 1636
-------------

In the example above PID 1636 is msimn.exe (Outlook Express).

PID numbers change every time that you reboot and are different on every
machine.

You can type in a command prompt: netstat /? for help.

--
Hope this helps. Let us know.

Wes
MS-MVP Windows Shell/User

In news:AAC03A11-0838-48BC-8A7D-E7E5E8327F0D@xxxxxxxxxxxxx,
(0mpu73r |\|3rd <0mpu73r3rd@xxxxxxxxxxxxxxxxxxxxxxxxx> hunted and pecked:
How would I view everything using my internet connection?

Thank you all =D
.



Relevant Pages

  • Re: process-id and port?
    ... Displays active TCP connections and includes the ... process ID (PID) for each connection. ... -p Protocol: ... be tcp, udp, tcpv6, or udpv6. ...
    (AIX-L)
  • Re: Strange Client Behavior: Port 8002 Looking for Other Ports
    ... connections and the PID of each process involved in the connections ... the Process with the corresponding PID. ... > periods each day, this client, which is behind Microsoft Proxy ... > connections from source port 8002 to successive ports on our DNS ...
    (microsoft.public.win2000.networking)
  • Re: Strange Client Behavior: Port 8002 Looking for Other Ports
    ... connections and the PID of each process involved in the connections ... the Process with the corresponding PID. ... > periods each day, this client, which is behind Microsoft Proxy ... > connections from source port 8002 to successive ports on our DNS ...
    (microsoft.public.win2000.security)
  • Re: Dropping sockets to a particular port
    ... Why not just deactivate the interface the connections are received on ... > That would kill my notes server unfortunately. ... > controlled by one PID and that PID is the notes server, ... > using a particular port. ...
    (AIX-L)
  • /proc/net/tcp information drop
    ... the process name and the pid itself gets lost, ... My own network-monitoring tool uses netstat to get some information about ... Here's a link to the netstat output ... meaning/ just shows unresolved/new connections) ...
    (Linux-Kernel)