[python-chinese] 求助:如何用PYTHON获得网卡的实时流量?
Neo Chen
openunix在163.com
星期四 四月 12 10:47:28 HKT 2007
非常感谢啊...
----- Original Message -----
From: "hutuworm" <hutuworm在gmail.com>
To: <python-chinese在lists.python.cn>
Sent: Thursday, April 12, 2007 10:04 AM
Subject: Re: [python-chinese]求助:如何用PYTHON获得网卡的实时流量?
> http://pysnmp.sourceforge.net/
>
> On 4/12/07, Neo Chen <openunix在163.com> wrote:
>>
>>
>> 关注,我也想做这个..我要取所有信息,远超出了网卡,所以我用SNMP. 但配置上出点问题.就是取不出东西来.:(
>>
>> python 好像没用提供snmp 的包.:(
>>
>> ----- Original Message -----
>> From: wibrst.python
>> To: python-chinese在lists.python.cn
>> Sent: Thursday, April 12, 2007 1:29 AM
>> Subject: Re: [python-chinese] 求助:如何用PYTHON获得网卡的实时流量?
>>
>>
>> 这事实上变成了用Windows命令行获得网卡的实时流量了.跟Python无关
>>
>>
>> pt42 写道:
>>
>> 最后只好用NETSTAT搞定
>>
>> re.findall(r'Bytes[\s]*?([0-9]*?)[\s]*?([0-9]*?)\n',os.popen('netstat
>> -e').read())
>>
>> 呵呵
>>
>> 在07-4-11,Neo Chen <openunix在163.com> 写道:
>> >
>> >
>> > SNMP 可以
>> >
>> >
>> > ----- Original Message -----
>> > From: pt42
>> > To: python-chinese在lists.python.cn
>> > Sent: Wednesday, April 11, 2007 12:22 PM
>> > Subject: [python-chinese] 求助:如何用PYTHON获得网卡的实时流量?
>> >
>> >
>> > 求助:如何用PYTHON获得网卡的实时流量?
>> > 在WIN平台下
>> >
>> > ________________________________
>> _______________________________________________
>> > python-chinese
>> > Post: send python-chinese在lists.python.cn
>> > Subscribe: send subscribe to
>> python-chinese-request在lists.python.cn
>> > Unsubscribe: send unsubscribe to
>> python-chinese-request在lists.python.cn
>> > Detail Info:
>> http://python.cn/mailman/listinfo/python-chinese
>> > _______________________________________________
>> > python-chinese
>> > Post: send python-chinese在lists.python.cn
>> > Subscribe: send subscribe to
>> python-chinese-request在lists.python.cn
>> > Unsubscribe: send unsubscribe to
>> python-chinese-request在lists.python.cn
>> > Detail Info:
>> http://python.cn/mailman/listinfo/python-chinese
>> >
>>
>> ________________________________
>>
>> _______________________________________________
>> python-chinese
>> Post: send python-chinese在lists.python.cn
>> Subscribe: send subscribe to
>> python-chinese-request在lists.python.cn
>> Unsubscribe: send unsubscribe to
>> python-chinese-request在lists.python.cn
>> Detail Info:
>> http://python.cn/mailman/listinfo/python-chinese
>>
>>
>>
>> ________________________________
>>
>>
>> _______________________________________________
>> python-chinese
>> Post: send python-chinese在lists.python.cn
>> Subscribe: send subscribe to
>> python-chinese-request在lists.python.cn
>> Unsubscribe: send unsubscribe to
>> python-chinese-request在lists.python.cn
>> Detail Info:
>> http://python.cn/mailman/listinfo/python-chinese
>>
>>
>> _______________________________________________
>> python-chinese
>> Post: send python-chinese在lists.python.cn
>> Subscribe: send subscribe to
>> python-chinese-request在lists.python.cn
>> Unsubscribe: send unsubscribe to
>> python-chinese-request在lists.python.cn
>> Detail Info:
>> http://python.cn/mailman/listinfo/python-chinese
>>
>
>
> --
> In doG We Trust
> _______________________________________________
> python-chinese
> Post: send python-chinese在lists.python.cn
> Subscribe: send subscribe to python-chinese-request在lists.python.cn
> Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn
> Detail Info: http://python.cn/mailman/listinfo/python-chinese
关于邮件列表 python-chinese 的更多信息