#比较两个文件不同
diff a b -y -w
rcp -r 170.10.0.81:/home/xtwh/kaifa/ffmpeg .
rcp -r casteis@170.10.0.100:/userdata/speccpu2006-v1.0.1/result/CFP* .
#查看可用包名版本:
sudo apt-cache policy
rcp test1 192.168.10.10:/home/test1
复制远程主机文件到本地:sudo rcp -r casteis@170.10.0.117:/home/casteis/下载/speccpu2006-v1.0.1-newest.tar .
原文链接:https://www.linuxcool.com/rcp
ldd QtWebMap
317 ./QtWebMap
318 vim ~/.local/share/applications/ZNBZ.desktop
319 sudo chmod 755 ~/.local/share/applications/ZNBZ.desktop
322 cp QtWebMap exe/
325 sudo rm -r qtWebMapNew/
326 cd /home/xtwh/kaifa/
327 ls
328 rcp -r 170.10.0.81:/home/xtwh/kaifa/ffmpeg .
329 sudo apt-get install clang
330 sudo apt-get install yasm
cat /sys/devices/system/cpu/cpufreq/policy*/scaling_available_frequencies
sudo cat /sys/devices/system/cpu/cpufreq/policy*/cpuinfo_cur_freq
diff -s 1 2
diff 1 2 -w -y
install gcc gcc-c autoconf gcc-c++ time perl-Time-HiRes
查看CPU用如下命令(多少个核,频率,特性等):
cat /proc/cpuinfo
查看内存用如下命令:(只有当前内存大小,已用空间等等,不能看到内存频率)
cat /proc/meminfo
要查看内存型号和频率等信息,用如下的命令:
sudo dmidecode -t memory
查看cpu内核频率命令:
cat /proc/cpuinfo |grep MHz|uniq
内存带宽的计算公式是:带宽=内存核心频率×内存总线位数×倍增系数。简化公式为:标称频率*位数。比如一条DDR3 1333MHz 64bit的内存,理论带宽为:1333*64/8=10664MiB/s = 10.6GiB/s。
// -i test 最小环境测试检测环境
(runspec -c test.cfg -i ref -n 1 all -I 单核测试所有项整型浮点型
runspec -c test.cfg -i ref -r 8 -n 3 all -I 八核测试三次测试所有项整型浮点型)
runspec -c arm64.cfg -n3 -r 8 -I fp --noreportable
多核3次
runspec -c arm64.cfg -n 1 -i ref -r 8 -I fp --output_format all --ignore_errors --noreportable
单核1次
runspec -c arm64.cfg -n 3 -i ref -r 1 -I --noreportable --output_format all int --nobuild
runspec -c arm64.cfg -n 1 -i test -r 1 -I --noreportable --output_format all int --nobuild