- 博客(7)
- 收藏
- 关注
转载 Linux SoftLockUp
softlockup(watchdog)用于检测系统调度是否正常,即软锁的情况,当发生softlockup时,内核不能调度,但还能响应中断,对用户的表现可能为:能ping通,但无法登陆系统,无法进行正常操作。 其基本原理为:为每个CPU启动一个内核线程(watchdog/x),此线程为优先级最高的实时线程,在该线程得到调度时,会更新相应的计数(时间戳),同时会启动定时器,当定时器到期时检查相应的时
2018-01-03 10:28:05
870
转载 Linux 软件看门狗 watchdog 喂狗
Linux 自带了一个 watchdog 的实现,用于监视系统的运行,包括一个内核 watchdog module 和一个用户空间的 watchdog程序。内核 watchdog 模块通过 /dev/watchdog 这个字符设备与用户空间通信。用户空间程序一旦打开 /dev/watchdog 设备(俗称“开门放狗”),就会导致在内核中启动一个1分钟的定时器(系统默认时间),此后,用户空间程序需要
2017-06-15 07:16:26
2590
原创 ubuntu 16.04 关闭开启图形界面
ubuntu16.04关掉图形界面启动:命令:systemctl disable lightdm.service之后 : reboot
2017-04-25 20:09:13
22818
原创 ubuntu 16.04 编译安装4.4.30内核
ubuntu编译安装linux-4.4.30内核1 cleancd linux-4.4.30make cleanrm -rf .config2 configuremake localmodconfigmake menuconfig3 makemake4 installmake modules_installmake ins
2017-04-22 10:00:34
1335
转载 ubuntu 16.04 重命名网卡(ens33)
Just after the Ubuntu 16.04 installation, I came to know that the network interface name got changed to ens33 from old school eth0. If you ever interested in changing interface names to old type ethX,
2017-04-22 08:52:43
3812
转载 Linux D 状态
D状态即uninterruptible sleep,处于uninterruptible sleep状态的进程通常是在等待IO,比如磁盘IO,网络IO,其他外设IO,如果进程正在等待的IO在较长的时间内都没有响应,那么就很会不幸地被ps看到了,同时也就意味着很有可能有IO出了问题,正是因为得不到IO的响应,进程才进入了uninterruptible sleep状态。所以要想使进程从unint
2017-04-08 22:45:21
1906
转载 Linux kernel hung task
hung task机制的实现很简单,其基本原理为:创建一个内核线程(khungtaskd),定期(120)唤醒后,遍历系统中的所有进程,检查是否存在处于D状态超过120s(时长可以设置)的进程,如果存在,则打印相关警告和进程堆栈。如果配置了hung_task_panic(proc或内核启动参数),则直接发起panic。
2017-04-08 19:22:22
1023
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人