- 博客(9)
- 资源 (14)
- 收藏
- 关注
原创 Linux Run Levels
1. 查看当前 run levelwho -rrunlevel2. 改变当前 run level#init 33. 改变默认启动级别修改/etc/inittabid:5:initdefault:4. grub 指定内核启动级别启动grub选择系统画面的时候,按e进入命令行编辑状态,修改内核选项:kernel /boot
2012-03-23 20:58:14 456
原创 TASK_STOPPED Ctrl-Z
1. 举例从终端shell命令行启动一个图形界面的程序(用xlogo来举例)然后在再切换到该终端,可以按Ctrl-Z(信号为:SIG,信号编号:19,名称为:CONT)暂停该图形程序,可以看到该图形程序窗口内部没有正常显示了,表示该进程处于暂停状态,进程内核状态为:TASK_STOPPED(TASK_STOPPED: process stopped by a debugger
2012-03-23 17:47:21 1485
原创 LFS 笔记
使用的版本是6.3,下面摘录构建的时候的注意事项和问题,前后用了5天时间1. livecd启动的时候,从lfs用户切换会root,用命令exit;2. lfs 预先的设定:把源码包从/lfs-sources复制到/mnt/lfs/sources目录,然后你会解压文件源码包,然后进入需要源码包的目录,然后就是文档第5章中的操作了;3. 5.4编译gcc的时候,不要先打补丁;4.
2012-03-23 15:05:55 773
转载 C++ 11
The Biggest Changes in C++11 (and Why You Should Care)转自:http://www.softwarequalityconnection.com/2011/06/the-biggest-changes-in-c11-and-why-you-should-care/It’s been 13 years since the first it
2012-03-15 01:05:20 1086
转载 Process Tracing Using Ptrace
Process Tracing Using PtraceBy Sandeep SThe ptrace system call is crucial to the working of debugger programs like gdb - yet its behaviour is not very well documented - unless you believe
2012-03-14 22:25:18 733
转载 7 Strace Examples to Debug the Execution of a Program in Linux
7 Strace Examples to Debug the Execution of a Program in Linuxby Balakrishnan Mariyappan onNovember 23, 2011Strace is a debugging tool that will help you troubleshoot issues.Strace monitor
2012-03-14 01:05:27 691
转载 Using Top More Efficiently
摘自:http://www.linuxforums.org/articles/using-top-more-efficiently_89.htmlFor desktop users, monitoring resource usage is an important task. By doing this, we can locate system bottleneck, planning
2012-03-13 23:15:40 677
原创 emacs TAGS etags
1. 创建TAGSetags file-listfind . -name "*.[chCH]" -print | etags -find . -print -name "*.[chCH]" -o -name "*.cpp" | etags - #-print需要提前,否则没有输出# find参数-maxdepth n 可以指定搜索层数2. 相对路径、绝对路径
2012-03-06 23:28:00 1681
原创 find 命令
1. 查找#查找.cpp文件和.c文件find . -name "*.cpp" -o -name "*.c" #通配符查找find . -regex ".*\.\(c\|cpp\)" #正则表达式查找#查找并统计源文件行数find . -regex ".*\.\(c\|cpp\|h\)" | xargs wc -l2. 相对/绝对 路径
2012-03-06 22:59:40 1068
dynamic bayesian
2009-08-25
Prentice-Hall - Core C++ - A Software Engineering Approach (1280 pages).pdf
2008-09-25
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人