windows下统计某ip的指定端口的连接数
统计连接192.168.0.1的10000号端口的连接数
netstat -an -p tcp | find "192.168.0.1" | find /c "10000"
posted @ 2012-03-30 17:20 chenlulouis 阅读(20) 评论(0) 编辑
2012年3月30日 #
统计连接192.168.0.1的10000号端口的连接数
netstat -an -p tcp | find "192.168.0.1" | find /c "10000"
posted @ 2012-03-30 17:20 chenlulouis 阅读(20) 评论(0) 编辑
2012年1月11日 #
When an application instantiates a new object, if the object's type defines a Finalize method, a pointer to the object is placed on the finalization queue just before the type's instance constructor is called. The finalization queue is an internal data structure controlled by the garbage collector. Each entry in the list points to an object that should have its Finalize method called before the object's memory can be reclaimed.
The garbage collector scans the finalization queue looking for pointers to the objects which are identified as garbage. And when found, it is moved to freachable queue which is another data structure maintained by garbage collector's internal. A special high-priority CLR thread is dedicated to calling Finalize methods and CLR uses a high priority thread to finalize these objects which appear in this freachable queue. The object in Freachable queue is reachable only to this finalization thread. So When writing the finalization method it should concentrate on disposing the local and native objects and shouldn't execute any that makes any assumptions about the thread that's executing the code.
posted @ 2012-01-11 14:50 chenlulouis 阅读(81) 评论(0) 编辑
2011年7月4日 #
posted @ 2011-07-04 14:21 chenlulouis 阅读(265) 评论(0) 编辑
2011年4月28日 #
posted @ 2011-04-28 14:38 chenlulouis 阅读(930) 评论(4) 编辑
2011年2月27日 #
posted @ 2011-02-27 14:02 chenlulouis 阅读(187) 评论(0) 编辑
2011年1月27日 #
posted @ 2011-01-27 21:39 chenlulouis 阅读(1387) 评论(0) 编辑
2010年12月14日 #
posted @ 2010-12-14 15:16 chenlulouis 阅读(323) 评论(0) 编辑
2010年12月12日 #
posted @ 2010-12-12 16:28 chenlulouis 阅读(122) 评论(0) 编辑
2010年12月9日 #
posted @ 2010-12-09 14:35 chenlulouis 阅读(1441) 评论(4) 编辑
2010年12月6日 #
posted @ 2010-12-06 18:09 chenlulouis 阅读(234) 评论(1) 编辑