打印进程运行时open的fd数量:
lsof -n |awk '{print $2}'|sort|uniq -c |sort -nr|more
从一个server往另外一个server copy文档:
scp –r xxxx/* USERNAME@xxx.xx.xxx.xxx:/home/xxxxx/
< >&"©分别是
<, >,&,",©;
//set mac addr
ifconfig eth0 down\r ifconfig eth0 hw ether 00:11:xx:cc:22:66 \r ifconfig eth0 xxx.xx.xxx.xxx \r route add default gw
172.21.21.254 \r ifconfig eth0 up\r
set qient y; save //此命令可以让kernel少打印信息
dmsg -n 8
//remount
mount -o remount,rw /dev/block/mmcblk0p13 /system
netstat -anp //查看监听端口
把某个task绑定到指定的CPU去run: taskset 命令,以及sched_setaffinity API調用皆可以
busybox zcat /proc/config.gz > /usb/sda1/config //可以把板子上的kernel config dump出来确认是否正确