摘要:
1. wget -c https://cmake.org/files/v3.11/cmake-3.11.2.tar.gz 2.https://github.com/Microsoft/cpprestsdk/wiki/How-to-build-for-Linux submodule update -- 阅读全文
摘要:
[root@locallhost ~]# pvs PV VG Fmt Attr PSize PFree /dev/hda2 VolGroup00 lvm2 a- 74.41G 0 /dev/sda2 VolGroup00 lvm2 a- 232.78G 0 hda2是新系统盘74G多,sda2是老数 阅读全文
摘要:
相关工具 下载源码 编译安装protobuf autogen.sh里需要下载Google Code的代码,需要保障其能被访问 编译安装grpc 问题: 解决办法: 测试C++ Demo 问题: 解决办法: /usr/local/bin/protoc --cpp_out=./ examples.pro 阅读全文
摘要:
1. perf record -e cycles -a -p 21028perf report 2. perf top 3. perf top -p 21028 4. 以线程维度查看cpu使用率 top -d 1 -H cmd: perf record -e cpu-clock -g -p 2102 阅读全文
摘要:
初始化git仓库: mkdir test1cd test1git test1 文件到Git仓库,分两步: 使用命令git add <file>,注意,可反复多次使用,添加多个文件;命令git commit -m <message>,完成。 查看状态: git status 查看差异: git dif 阅读全文
摘要:
# Install packages $ sudo apt-get update && sudo apt-get install build-essential libssl-dev cmake -y # Install Libevent $ wget https://github.com/libe 阅读全文