码迷,mamicode.com
首页 >  
搜索关键字:kernel kill init    ( 35249个结果
线上一个简单检测Ping状态的邮件报警脚本
Step1.安装sendmail来发邮件#yum-yinstallsendmail#/etc/init.d/sendmailstart#chkconfigsendmailonStep2.安装邮件客户端#yum-yinstallmutt2.1添加发件人信息,如下#vim/etc/Muttrcsetcharset="utf-8"#设置发邮件编码setenvelope_from=yessetrfc2047_parameters=yes#解决附件乱..
分类:其他好文   时间:2014-08-02 23:35:55    阅读次数:2598
mysql
1 /etc/init.d/mysql start 2 3 mysql>create database record character set 'utf8' collate 'urf8_general_ci'; 4 5 mysql>use record 6 7 mysql>create ...
分类:数据库   时间:2014-08-02 23:06:44    阅读次数:283
ubuntu密码忘了、sudoers文件坏了等解决办法
1、开机狂按shift键,进入grub页面,用上下键移到第二行的恢复模式,按e(注意不是回车) 即Ubuntu,With Linux 3.2.0-23-generic(recovery mode)? 2、把ro recovery nomodeset 改成rw single init=/bin/bash ...
分类:其他好文   时间:2014-08-02 18:34:04    阅读次数:263
linux进程调度函数浅析(基于3.16-rc4)
众所周知,进程调度使用schedule()函数来完成,下面我们从分析该函数开始,代码如下(kernel/sched/core.c):1 asmlinkage __visible void __sched schedule(void)2 {3 struct task_struct *tsk =...
分类:系统相关   时间:2014-08-02 17:58:03    阅读次数:396
NSString和NSMutableString 的常见用法
NSString类是我们经常使用的类,这里对其用途及常用的一些方法做一些归类。1>字符串的创建NSString *str = @"字符串内容“; //直接使用字符串常量的赋值方式NSString *str = [NSString alloc ] init]; //创建一个空的字符串对象NSStr.....
分类:其他好文   时间:2014-08-02 15:22:03    阅读次数:248
Linux Kernel Version Numbering
Because there are numerous revisions and releases of theLinuxkerneland new ones are developed at frequent intervals, it is important to have a system ...
分类:系统相关   时间:2014-08-02 15:13:33    阅读次数:335
spring的InitializingBean的 afterPropertiesSet 方法 和 init-method配置的 区别联系
InitializingBean  Spirng的InitializingBean为bean提供了定义初始化方法的方式。InitializingBean是一个接口,它仅仅包含一个方法:afterPropertiesSet()。 Bean实现这个接口,在afterPropertiesSet()中编写初始化代码: package research.spring.beanfactory.ch4...
分类:编程语言   时间:2014-08-02 12:50:53    阅读次数:247
linux内核数据结构学习总结(undone)
linux kernel/user mode data struct learning
分类:系统相关   时间:2014-08-02 12:33:23    阅读次数:564
指向对象的引用置空---与内存泄漏
import java.util.Arrays;public class Stack { private static final int INIT_SIZE = 10; private Object[] datas; private int size; pu...
分类:其他好文   时间:2014-08-02 12:31:43    阅读次数:243
查看版本号
[liuhan@liuhan-pc ~]$ cat /etc/issueFedora release 20 (Heisenbug)Kernel \r on an \m (\l)[liuhan@liuhan-pc ~]$ cat /proc/versionLinux version 3.15.6-20...
分类:其他好文   时间:2014-08-02 04:00:43    阅读次数:185
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!