会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
博客地址:http://home.cnblogs.com/u/zengjianrong/
focus
博客园
首页
新随笔
联系
管理
订阅
上一页
1
···
3
4
5
6
7
8
9
10
11
···
13
下一页
2020年1月16日
内存分析的好blog
摘要: https://www.cnblogs.com/tolimit/p/5286663.html 另外还一个当然是: wowotech
阅读全文
posted @ 2020-01-16 15:13 black_man
阅读(75)
评论(0)
推荐(0)
编辑
minicom使用
摘要: 安装: sudo apt install minicom配置波特率: sudo minicom -D /dev/ttyUSB0 -b 115200 -s打开tty: sudo minicom -D /dev/ttyUSB0
阅读全文
posted @ 2020-01-16 14:59 black_man
阅读(198)
评论(0)
推荐(0)
编辑
2020年1月14日
tee的妙用
摘要: sudo echo "6000000000" | sudo tee /proc/sys/kernel/shmmax 如上,经常需要切换root用户修改配置,而利用tee之后,只用当前用户具有sudo权限即可
阅读全文
posted @ 2020-01-14 15:54 black_man
阅读(138)
评论(0)
推荐(0)
编辑
网络带宽
摘要: 带宽测试工具iperf c/s架构 测试方法: 1. 服务端: iperf -s [-u] :-u代表测试的是UDP,不加则测试TCP 2. 客户端:iperf -c server_ip -b 1000M -t 10 -i 1:-b代表测试数据量,以bit为单位;-t代表测试时间长度;-i代表打印间
阅读全文
posted @ 2020-01-14 11:17 black_man
阅读(135)
评论(0)
推荐(0)
编辑
2020年1月10日
mem analyse
摘要: #! /bin/bash awk 'BEGIN{ total = 0; printf("SIZE\tRSS\tSHARED_CLEAN\tSHARED_DIRTY\tPRIVATE_CLEAN\tPRIVATE_DIRTY\n") }{ if(NF >3){ if($2 ~ /[r-][w-][x-][ps]/){ if($6 =="") name = $1; else name = $6; }
阅读全文
posted @ 2020-01-10 16:51 black_man
阅读(160)
评论(0)
推荐(0)
编辑
2019年12月24日
linux 应用层常用API/命令
摘要: 一 API 1. bsearch NAME bsearch - binary search of a sorted array SYNOPSIS #include <stdlib.h> void *bsearch(const void *key, const void *base, size_t n
阅读全文
posted @ 2019-12-24 17:22 black_man
阅读(535)
评论(0)
推荐(0)
编辑
2019年12月20日
ubuntu 库依赖问题
摘要: 安装apt-file, 可以查找各种库依赖的文件,或查找某个app的依赖库; sudo apt install apt-file apt-file update apt-flie search rpcgen
阅读全文
posted @ 2019-12-20 16:51 black_man
阅读(532)
评论(0)
推荐(0)
编辑
2019年12月19日
error while loading shared libraries
摘要: https://stackoverflow.com/questions/480764/linux-error-while-loading-shared-libraries-cannot-open-shared-object-file-no-s Your library is a dynamic li
阅读全文
posted @ 2019-12-19 17:12 black_man
阅读(304)
评论(0)
推荐(0)
编辑
2019年12月9日
apt-get failed:The following signatures were invalid: BADSIG
摘要: 参考如下链接: https://askubuntu.com/questions/131601/gpg-error-release-the-following-signatures-were-invalid-badsig/158750
阅读全文
posted @ 2019-12-09 17:20 black_man
阅读(558)
评论(0)
推荐(0)
编辑
2019年12月3日
ARM64的内核栈、用户栈、寄存器上下文
摘要: 1. 内核栈的分配,即thread_info的分配,是在do_fork->dup_task_struct中分配(默认为2个pages),并赋值给task_struct->stack; 2. 用户栈的分配分两种: 一是pthread create会事先mmap分配好用户栈,传给do_fork->cop
阅读全文
posted @ 2019-12-03 01:01 black_man
阅读(2333)
评论(0)
推荐(0)
编辑
上一页
1
···
3
4
5
6
7
8
9
10
11
···
13
下一页
公告