博客地址:http://home.cnblogs.com/u/zengjianrong/
上一页 1 2 3 4 5 6 7 8 9 10 ··· 13 下一页
摘要: 安装中文包:sudo apt install language-pack-zh-han* language-pack-gnome-zh-han* 安装ibus:sudo apt install ibus ibus-clutter ibus-gtk ibus-gtk3 ibus-qt4 切换到ibus 阅读全文
posted @ 2020-02-13 20:11 black_man 阅读(440) 评论(0) 推荐(0) 编辑
摘要: 启动程序查找共享库失败,解决方法: sudo vi /etc/ld.so.conf,添加对应的共享库路径; sudo ldconfig,生效; 查找应用程序失败,解决方法: vi ~/.bashrc,添加:export PATH=/usr/local/bin/your_bin/:$PATH;仅对当前 阅读全文
posted @ 2020-02-13 18:53 black_man 阅读(326) 评论(0) 推荐(0) 编辑
摘要: 1. 移除多余文件 因为linux kernel文件数量过多,会导致系统很慢。 在File->prefenrence->setting->workspace, 右上角有个切换到json文件,编辑如下: { "search.exclude": { "**/.git": true, "**/.svn": 阅读全文
posted @ 2020-02-09 11:00 black_man 阅读(6447) 评论(0) 推荐(0) 编辑
摘要: printf("c=%#x\n",c);什么意思? printf("c=%#x\n",c);什么意思?其中c="\x41"; 推荐于2017-09-15 这里的"c=%#x\n"意思是:是一个格式控制符,其中c=是普通字符,%#x是格式说明,\n是转义字符;其中的%#表示的输出提示方式,如果是8进制 阅读全文
posted @ 2020-02-08 17:53 black_man 阅读(6217) 评论(0) 推荐(0) 编辑
摘要: 马蹄 肉末 香菇 虾米 阅读全文
posted @ 2020-02-04 17:13 black_man 阅读(115) 评论(0) 推荐(0) 编辑
摘要: tail -f /var/log/{messages,kernel,dmesg,syslog} 阅读全文
posted @ 2020-01-20 16:57 black_man 阅读(1449) 评论(0) 推荐(0) 编辑
摘要: inotifywait 通过sudo apt install inotify-tools获取,可阻塞监听文件事件:inotifywait file-name -e close_write notify-send 可打印通知到界面:notify-send -t 显示时间/ms "something d 阅读全文
posted @ 2020-01-17 11:19 black_man 阅读(335) 评论(0) 推荐(0) 编辑
摘要: 参考:https://blog.csdn.net/qq_36016407/article/details/54946476 #error #error用于生成一个编译错误消息,并停止编译用法: #error message 注:message 不需要用双引号包围 #error编译指示字用于自定义程序 阅读全文
posted @ 2020-01-17 10:47 black_man 阅读(1515) 评论(0) 推荐(0) 编辑
摘要: 这篇文章不错:https://www.cnblogs.com/tolimit/p/5286663.html 内存压缩/紧缩/迁移,不等同于内存回收; 主要用于连续page分配失败时; 阅读全文
posted @ 2020-01-16 16:09 black_man 阅读(320) 评论(0) 推荐(0) 编辑
摘要: 4.0的内核后,反向映射以vma为单位,且avc不在链入父辈进程 那么,在子进程发生写时复制,重新分配内存页后,为什么不将其从父进程的vma的avc中删除此子进程呢? wowotech上有个回答很不错, 如下: http://www.wowotech.net/memory_management/re 阅读全文
posted @ 2020-01-16 15:23 black_man 阅读(272) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 10 ··· 13 下一页