ubuntu网络调试工具

在调试gprs模块时,教程里面提示使用网络调试工具先建立一个服务器端的tcp监听端口.然后使用gprs模块来建立连接,发送数据.想到公司当前有现成的阿里云服务器,linux版.就顺势在里面建立一个连接岂不很好.请教了hp.

参考网络命令:   nc -l 1234直接建立监听端口.  nc -l 1234 > fileout 可以接收数据.

windows: http analyzer    fiddler

Ubuntu Network Monitoring Tools

written by: Ada Stoy•edited by: Eric Stallsworth•updated: 8/21/2011

Your network is your neighborhood – you need to keep an eye on it. For this purpose, you need the right tools. Here are some network monitoring tools you can use with Ubuntu.

  • Unlike the admin-targeted Linux distributions, which come with bunches of all sorts of tools, Ubuntu doesn't, simply because it is not meant to be a distribution for administering a network. However, this doesn't mean that you are out of options. You can do quite a lot of network monitoring and here are some ways to do it.


  • Simple Network Statistics with netstat

    One of the easiest ways to get data about the network activity of your computer is with the help of the netstat command. In a console, type netstat and you will see something like this (the xx-xxx-xxx-xxx being your actual IP):

    Active Internet connections (w/o servers)

    Proto Recv-Q Send-Q Local Address Foreign Address State

    tcp 0 0 xx-xxx-xxx-xxx.dd:33796 74.125.232.217:www TIME_WAIT

    tcp 0 0 xx-xxx-xxx-xxx.dd:47761 fra07s07-in-f103.1e:www ESTABLISHED

    The information isn't very useful but you can see the open connections and their destination (the IP of the party you are connected to). If you are interested only in interfaces, you can use the ifstat tool instead.

  • More Detailed Network Stats with iptraf

    Most likely, the output of the netstat command won't suffice and you will need a more advanced

  • 1
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值