会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Paprika
The real act of discovery consists not in finding new lands but in seeing with new eyes.
首页
新随笔
联系
订阅
管理
2017年4月13日
通过grep,awk,sed的简单应用获取网卡信息。
摘要: 本文主要通过shell命令来实现获取网卡信息。通过cmd_shell函数可以将运行命令后的输出返回。 一般通过 ifconfig eth0 可以获取如下的信息: 例如需要获取eth0的Rx大小。可以使用如下的shellcmd命令来获取: ifconfig eth0 | grep "RX bytes"
阅读全文
posted @ 2017-04-13 18:53 Prefog
阅读(916)
评论(0)
推荐(0)
编辑
公告