2007年04月11日 星期三 12:22
ÇóÖú£ºÈçºÎÓÃPYTHON»ñµÃÍø¿¨µÄʵʱÁ÷Á¿£¿ ÔÚWINƽ̨Ï -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20070411/cf1fc737/attachment.html
2007年04月11日 星期三 13:11
可以看看这个东西,Zenoss -----邮件原件----- 发件人: python-chinese-bounces在lists.python.cn [mailto:python-chinese-bounces在lists.python.cn] 代表 pt42 发送时间: 2007年4月11日 12:22 收件人: python-chinese在lists.python.cn 主题: [python-chinese] 求助:如何用PYTHON获得网卡的实时流量? 求助:如何用PYTHON获得网卡的实时流量? 在WIN平台下
2007年04月11日 星期三 13:33
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 -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20070411/49a49ddc/attachment.html
2007年04月11日 星期三 14:46
×îºóÖ»ºÃÓÃ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 <pt4200在gmail.com>
> *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
>
-------------- 下一部分 --------------
Ò»¸öHTML¸½¼þ±»ÒƳý...
URL: http://python.cn/pipermail/python-chinese/attachments/20070411/82e6266a/attachment.htm
2007年04月12日 星期四 01:29
ÕâÊÂʵÉϱä³ÉÁËÓÃ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 openunix在163.com>> дµÀ£º
>
> SNMP ¿ÉÒÔ
>
> ----- Original Message -----
> *From:* pt42 pt4200在gmail.com>
> *To:* python-chinese在lists.python.cn
> 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
> python-chinese在lists.python.cn>
> Subscribe: send subscribe to
> python-chinese-request在lists.python.cn
> python-chinese-request在lists.python.cn>
> Unsubscribe: send unsubscribe to
> python-chinese-request在lists.python.cn
> python-chinese-request在lists.python.cn>
> Detail Info: http://python.cn/mailman/listinfo/python-chinese
>
>
> _______________________________________________
> python-chinese
> Post: send python-chinese在lists.python.cn
> python-chinese在lists.python.cn>
> Subscribe: send subscribe to
> python-chinese-request在lists.python.cn
> python-chinese-request在lists.python.cn>
> Unsubscribe: send unsubscribe to
> python-chinese-request在lists.python.cn
> 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
-------------- 下一部分 --------------
Ò»¸öHTML¸½¼þ±»ÒƳý...
URL: http://python.cn/pipermail/python-chinese/attachments/20070412/0478d535/attachment.html
2007年04月12日 星期四 08:05
˵ÊÇÂï.»Ø´ð¾ÍÓÃpythonµÄ·½·¨Âï -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20070412/a0558a5a/attachment.html
2007年04月12日 星期四 08:17
´¿PYTHONµÄ·½Ê½»¹Ã»ÕÒµ½£º£¨ ÔÚ07-4-12£¬wibrst.python <wibrst.python在tom.com> дµÀ£º > > > ÕâÊÂʵÉϱä³ÉÁËÓÃ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 <pt4200在gmail.com> > > *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 > -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20070412/fdd831cd/attachment-0001.html
2007年04月12日 星期四 09:42
¹Ø×¢,ÎÒÒ²Ïë×öÕâ¸ö..ÎÒҪȡËùÓÐÐÅÏ¢,Ô¶³¬³öÁËÍø¿¨,ËùÒÔÎÒÓÃ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 -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20070412/a26e5c34/attachment.htm
2007年04月12日 星期四 10:04
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
2007年04月12日 星期四 10:47
非常感谢啊... ----- 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
Zeuux © 2025
京ICP备05028076号