iT邦幫忙

0

[求助]如何監視電腦的連線數目

請問各位大大,有什麼什麼軟體可以用來監視電腦的TCP跟UDP的連線數目。
因為,我常常發現我的IP分享器連線數都會暴掉,可是我的設定上面並沒有設定這麼多的連線數啊!
所以想知道我的電腦到底用了多少連線數,只是不知道有什麼軟體可以用的。
謝謝!!

看更多先前的討論...收起先前的討論...
tom6507 iT邦大師 1 級 ‧ 2010-03-08 13:44:49 檢舉
你應該是用了p2p的下載軟體吧,這種軟體會吃掉大量的連線數,關掉不用看看吧
nadesico iT邦新手 4 級 ‧ 2010-03-08 16:26:41 檢舉
就是因為養動物,所以才會這樣,只是我的XP已經有設定最大值了,應該不會超過才對啊!!
可是Router session都還是會增加到上限值。
所以讓我想不懂。
tom6507 iT邦大師 1 級 ‧ 2010-03-08 18:06:22 檢舉
養動物的話連線數最好要有2萬,不知道你的分享器的連線數量是多少
nadesico iT邦新手 4 級 ‧ 2010-03-09 11:16:50 檢舉
分享器剛好就是2萬,但是我電腦只開8千,多出來的1萬2都不知道是哪裡來的。
你開8千,實際上也8千嗎?(拖走
nadesico iT邦新手 4 級 ‧ 2010-03-09 16:18:58 檢舉
從分享器上面看到都是超過8千以上,甚至是到上限值。
所以我才想看電腦實際連線到底多少
tom6507 iT邦大師 1 級 ‧ 2010-03-09 16:25:30 檢舉
你是驢子+BT+狐狸三開嗎
nadesico iT邦新手 4 級 ‧ 2010-03-15 17:40:52 檢舉
我是驢子+BT+GOGOBOX
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中
8
Ray
iT邦大神 1 級 ‧ 2010-03-08 16:45:44
最佳解答

如果你是要算連線數的話, 可以這樣下指令:

netstat -n | find "TCP" /C 這樣可以算 TCP 的連線數
netstat -n | find "UDP" /C 這樣可以算 UDP 的連線數

8
lcjan
iT邦研究生 4 級 ‧ 2010-03-08 13:15:21

nadesico提到:
的電腦到底用了多少連線數,

可以參考使用簡易的指令(簡易不代表功能不好喔)
netstat
以下是WinXp下的CMD命令說明

<pre class="c" name="code">
NETSTAT [-a] [-b] [-e] [-n] [-o] [-p proto] [-r] [-s] [-v] [interval]

  -a            Displays all connections and listening ports.
  -b            Displays the executable involved in creating each connection or
                listening port. In some cases well-known executables host
                multiple independent components, and in these cases the
                sequence of components involved in creating the connection
                or listening port is displayed. In this case the executable
                name is in [] at the bottom, on top is the component it called,
                and so forth until TCP/IP was reached. Note that this option
                can be time-consuming and will fail unless you have sufficient
                permissions.
  -e            Displays Ethernet statistics. This may be combined with the -s
                option.
  -n            Displays addresses and port numbers in numerical form.
  -o            Displays the owning process ID associated with each connection.
  -p proto      Shows connections for the protocol specified by proto; proto
                may be any of: TCP, UDP, TCPv6, or UDPv6.  If used with the -s
                option to display per-protocol statistics, proto may be any of:
                IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP, or UDPv6.
  -r            Displays the routing table.
  -s            Displays per-protocol statistics.  By default, statistics are
                shown for IP, IPv6, ICMP, ICMPv6, TCP, TCPv6, UDP, and UDPv6;
                the -p option may be used to specify a subset of the default.
  -v            When used in conjunction with -b, will display sequence of
                components involved in creating the connection or listening
                port for all executables.
  interval      Redisplays selected statistics, pausing interval seconds
                between each display.  Press CTRL+C to stop redisplaying
                statistics.  If omitted, netstat will print the current
                configuration information once.

另外,如果你想用美美的視窗工具,可參考:
http://technet.microsoft.com/en-us/sysinternals/bb897437.aspx

nadesico iT邦新手 4 級 ‧ 2010-03-08 16:27:56 檢舉

感謝lcjan大大的提供,這個方法我用過了,可惜連線數過多,計算不易。
還是謝謝了!!

6
jay0123
iT邦高手 1 級 ‧ 2010-03-09 10:26:16

netstat 確實是做的到
但我都是用個小工具搞定
TCPView
很好用的
自已上網隨便找就下載的到

2
shunyuan
iT邦研究生 1 級 ‧ 2010-03-09 13:56:47

超強的軟件 TCP-Z,順便幫你的 TCP/IP 連線數改掉了。

nadesico iT邦新手 4 級 ‧ 2010-03-09 16:17:36 檢舉

我已經修改過了,電腦是8000,可是分享器看到的卻是20000。

我要發表回答

立即登入回答