openwrt调试用到的

PC间文件共享

python3 -m http.server
在共享的电脑上,打开浏览器,直接输入:
serverip:8000

NFS

Ubuntu

PC端

sudo apt-get install nfs-kernel-server
sudo /etc/init.d/nfs-kernel-server start
vim /etc/exports
该文件写入
/home/gsc/nfs 10.99.*.*(rw,sync,no_root_squash)

嵌入式设备端

mount -n -o nolock 10.99.1.3:/home/gsc/nfs/ /mnt/ && cd /mnt

tftp服务

sudo apt-get install tftpd-hpa,  tftp-hpa
sudo vim /etc/default/tftpd-hpa

配置文件如下

TFTP_USERNAME="tftp"
TFTP_DIRECTORY="/tftp"  >这是tftp工作目录,chmod 777 /tftp我是在根目录下搞了个
TFTP_ADDRESS="0.0.0.0:69"
TFTP_OPTIONS="-l -c -s"
然后重启tftpd-hpa服务sudo service tftpd-hpa restart
最后tftp 127.0.0.1/localhost 
输入get xxx

多线程调试

sudo add-apt-repository ppa:fossfreedom/indicator-sysmonitor
sudo apt-get update
sudo apt-get install indicator-sysmonitor

indicator-sysmonitor &

这里写图片描述

通过这里查看多线程调度和cpu使用情况

猜你喜欢

转载自blog.csdn.net/shichaog/article/details/77941515