随笔分类 -  linux内核

上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 20 下一页
摘要:说白了,SysRq手动触发而不用命令, /proc/sysrq-trigger 这个是通过命令接口实验:LINUX窗口下 ,CTRL+ALT+F1,切换到TTY1,在文本模式下,按下 ALT+SysRq+F 组合健,手动OOPS,在另一个远程连接下打开/var/log/messages查看 OOM 阅读全文
posted @ 2016-06-07 15:03 zengkefu 阅读(2506) 评论(0) 推荐(0) 编辑
摘要:http://blog.chinaunix.net/uid-20564848-id-73208.html [root@localhost linux-2.6.32]# pwd /usr/src/kernels/linux-2.6.32 [root@localhost linux-2.6.32]# g 阅读全文
posted @ 2016-06-07 13:46 zengkefu 阅读(448) 评论(0) 推荐(0) 编辑
摘要:http://edsionte.com/techblog/%E5%86%85%E6%A0%B8%E6%96%B0%E6%89%8B%E5%8C%BA 阅读全文
posted @ 2016-06-07 11:51 zengkefu 阅读(144) 评论(0) 推荐(0) 编辑
摘要:http://edsionte.com/techblog/archives/4331 nice和prio的关系如下: #define NICE_TO_PRIO(nice) (MAX_RT_PRIO+nice+20) #define PRIO_TO_NICE(prio) (prio-MAX_RT_PR 阅读全文
posted @ 2016-06-07 11:45 zengkefu 阅读(940) 评论(0) 推荐(0) 编辑
摘要:静态优先级:(定义在进程描述符中的:static_prio) 动态优先级:(定义在进程描述符中的:prio) 实时优先级:(定义在进程描述符中的:rt_priority) 静态优先级: 定义:他不随时间改变,内核不会主动修改它,只能通过系统调用nice去修改static_prio 动态优先级: 定义 阅读全文
posted @ 2016-06-07 11:22 zengkefu 阅读(9252) 评论(2) 推荐(0) 编辑
摘要:内核模块:/lib/modules/version/kernel或/lib/modules/$(uname -r)/kernel;[root@localhost kernel]# cd /lib/modules/$(uname -r)/kernel [root@localhost kernel]# 阅读全文
posted @ 2016-06-07 10:22 zengkefu 阅读(2208) 评论(0) 推荐(0) 编辑
摘要:http://www.cnblogs.com/tolimit/p/4303052.html 阅读全文
posted @ 2016-06-06 18:36 zengkefu 阅读(177) 评论(0) 推荐(0) 编辑
摘要:在Linux下改变进程的优先级 作者:曾老师,华清远见嵌入式学院讲师。 作为多任务的操作系统,Linux内核为每个创建的进程分配时间片并根据其优先级进行调度。当进程被创建时,其对应的task_struct里包含了四个优先级: struct task_struct { ... 阅读全文
posted @ 2016-06-06 17:42 zengkefu 阅读(1102) 评论(0) 推荐(0) 编辑
摘要:http://blog.csdn.net/kafeiflynn/article/category/789844 阅读全文
posted @ 2016-06-06 17:37 zengkefu 阅读(241) 评论(0) 推荐(0) 编辑
摘要:http://blog.163.com/digoal@126/blog/static/16387704020131014562216/ 阅读全文
posted @ 2016-06-06 17:32 zengkefu 阅读(150) 评论(0) 推荐(0) 编辑
摘要:http://www.sysnote.org/2015/08/06/linux-io-stack/ 阅读全文
posted @ 2016-06-06 17:26 zengkefu 阅读(417) 评论(0) 推荐(0) 编辑
摘要:http://www.sysnote.org/2014/05/01/systemtap-analysis-mdraid-io/ 阅读全文
posted @ 2016-06-06 17:23 zengkefu 阅读(141) 评论(0) 推荐(0) 编辑
摘要:http://blog.chinaunix.net/uid/14528823/list/1.html?cid=189394 阅读全文
posted @ 2016-06-06 17:18 zengkefu 阅读(217) 评论(0) 推荐(0) 编辑
摘要:http://bbs.chinaunix.net/thread-4090162-1-1.html 一、为什么要这样做读kernel route子系统代码,当我弄懂了数据结构之间的关系以及控制流程后,心里还是不妥贴,总有一种“纸上得来终觉浅,绝知此事要躬行”的感觉。此时,systemtap能起大作用。 阅读全文
posted @ 2016-06-06 17:13 zengkefu 阅读(361) 评论(0) 推荐(0) 编辑
摘要:http://blog.csdn.net/wudongxu/article/category/791519 阅读全文
posted @ 2016-06-06 17:03 zengkefu 阅读(132) 评论(0) 推荐(0) 编辑
摘要:http://blog.csdn.net/moonvs2010/article/category/1570309 阅读全文
posted @ 2016-06-06 17:01 zengkefu 阅读(147) 评论(0) 推荐(0) 编辑
摘要:http://blog.csdn.net/heli007/article/details/7187748 http://linux.chinaunix.net/docs/2006-12-15/3479.shtml 阅读全文
posted @ 2016-06-06 16:55 zengkefu 阅读(196) 评论(0) 推荐(0) 编辑
摘要:http://blog.chinaunix.net/uid-24774106-id-3379478.html http://blog.chinaunix.net/uid-24774106-id-3372932.html 阅读全文
posted @ 2016-06-06 16:46 zengkefu 阅读(536) 评论(0) 推荐(0) 编辑
摘要:http://www.freebuf.com/sectool/105713.html 阅读全文
posted @ 2016-06-06 14:37 zengkefu 阅读(468) 评论(0) 推荐(0) 编辑
摘要:http://blog.chinaunix.net/uid-26403844-id-3361770.html http://blog.csdn.net/zifeng274059226/article/details/50488946 阅读全文
posted @ 2016-06-06 14:08 zengkefu 阅读(293) 评论(0) 推荐(0) 编辑

上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 20 下一页