随笔分类 -  linux下测试工具集

摘要:在日常的网卡驱动开发测试中经常需要测试网络的通信带宽 iperf 是一个网络性能测试工具。Iperf可以测试最大TCP和UDP带宽性能,具有多种参数和UDP特性,可以根据需要调整,可以报告带宽、延迟抖动和数据包丢失。 ubuntu下安装 zw@zw-pc:apt-get install iperf 阅读全文
posted @ 2022-04-26 13:15 tccxy 阅读(699) 评论(0) 推荐(1) 编辑
摘要:openssh和telnet都是用于远程调试的工具软件,只要是网络通的情况下即可在远端访问设备的控制台 ubuntu下安装 #安装ssh服务端,默认端口是22,配置文件在etc/ssh目录下 zw@zw-pc:apt-get install openssh-server #安装telnet工具,默认 阅读全文
posted @ 2022-04-26 13:14 tccxy 阅读(151) 评论(0) 推荐(0) 编辑
摘要:speedtest-cli是一个使用python编写的命令行脚本,通过调用speedtest.net测试上下行的接口来完成速度测试 ubuntu下安装 zw@zw-pc:apt-get install speedtest-cli zw@zw-pc:speedtest-cli -h usage: sp 阅读全文
posted @ 2022-04-26 13:14 tccxy 阅读(459) 评论(0) 推荐(0) 编辑
摘要:DHCP(Dynamic Host Configuration Protocol,动态主机配置协议)通常被应用在大型的局域网络环境中,主要作用是集中的管理、分配IP地址 使网络环境中的主机动态的获得IP地址、Gateway地址、DNS服务器地址等信息,并能够提升地址的使用率。 ubuntu下安装 z 阅读全文
posted @ 2022-04-26 12:01 tccxy 阅读(1525) 评论(0) 推荐(0) 编辑
摘要:The Advanced Linux Sound Architecture (ALSA) provides audio and MIDI functionality to the Linux operating system. ALSA has the following significant f 阅读全文
posted @ 2022-04-26 12:00 tccxy 阅读(53) 评论(0) 推荐(0) 编辑
摘要:can-utils是can的测试工具集 ubuntu下安装 zw@zw-pc:apt-get install can-utils zw@zw-pc:can can-calc-bit-timing cangen cansend canbusload cangw cansniffer candump c 阅读全文
posted @ 2022-04-26 11:39 tccxy 阅读(1647) 评论(0) 推荐(0) 编辑
摘要:hdparm可以用来进行emmc的读写速率测试,其实dd也可以 ubuntu下安装 zw@zw-pc:apt-get install hdparm test emmc --hdparm测试读性能,dd测试写性能 ddr --dd测试读写性能 阅读全文
posted @ 2022-04-26 11:37 tccxy 阅读(837) 评论(0) 推荐(0) 编辑
摘要:ubuntu下安装 zw@zw-pc:apt-get install microcom zw@zw-pc:apt-get install minicom ##microcom zw:~/ $ microcom --help Usage: microcom [options] [options] in 阅读全文
posted @ 2020-08-06 14:41 tccxy 阅读(1683) 评论(0) 推荐(0) 编辑
摘要:ubuntu下安装 zw@zw-pc:apt-get install mtd-utils zw@zw-pc:fl flash_erase flash_otp_dump flash_otp_write flock flash_eraseall flash_otp_info flash_unlock f 阅读全文
posted @ 2020-08-06 14:36 tccxy 阅读(863) 评论(0) 推荐(0) 编辑
摘要:stress 命令主要用来模拟系统负载较高时的场景 ubuntu下安装 zw@zw-pc:apt-get install stress zw@zw-pc:apt-get install htop #top的增强版,比较直观 zw@zw-pc:stress --help `stress' impose 阅读全文
posted @ 2020-08-06 14:35 tccxy 阅读(414) 评论(0) 推荐(0) 编辑
摘要:ethtool 是需要驱动层面支持的,大部分情况下可以直接使用 ubuntu下安装 zw@zw-pc:apt-get install ethtool zw@zw-pc:ethtool -h ethtool version 4.15 Usage: ethtool DEVNAME Display sta 阅读全文
posted @ 2020-08-06 14:26 tccxy 阅读(1813) 评论(0) 推荐(0) 编辑
摘要:nbench可以用来给cpu去做一些性能测试 ubuntu下安装 zw@zw-pc:wget http://www.math.utah.edu/~mayer/linux/nbench-byte-2.2.3.tar.gz zw@zw-pc:tar -xvzf nbench-byte-2.2.3.tar 阅读全文
posted @ 2020-08-06 14:19 tccxy 阅读(3219) 评论(0) 推荐(0) 编辑
摘要:cgdb是在gdb的基础上增加了一个终端界面的辅助,比gdb来的直观一点 安装也是ubuntu下直接执行apt install cgdb就可以了 测试 我这边简单的写了个输入输出的小demo 注意一下的就是makefile中要显式的指出-g选项 如果类似于像下图这样利用隐式的推导,会被makefil 阅读全文
posted @ 2020-08-06 14:18 tccxy 阅读(296) 评论(0) 推荐(0) 编辑
摘要:我们在使用网口调试设备时有时会发现这种情况:设备通过dhcp获取局域网ip,我们不知道设备的ip了,这时可以通过nmap进行查找 ubuntu下直接apt install nmap zw@zw-pc:~/swap/work/zu2_zu2_new/softcode/linux-xlnx$ nmap 阅读全文
posted @ 2020-08-06 14:17 tccxy 阅读(251) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示