由于是软件看门狗,因此他的角色只能算是个辅助工具。
尽管如此,他的功能应该还是有点意义。
此软件的实现计划如下:
1. 软件形式
一个模块soft_wdt.ko,运行在内核中。
2. 软件启动方法
insmod soft_wdt.ko dev=/dev/soft_wdt timeout=5 log=/path/to/log.txt
几个参数分别是:要暴露给...
分类:
其他好文 时间:
2014-10-30 20:59:51
阅读次数:
199
fopen fopen(打开文件) 相关函数 open,fclose 表头文件 #include 定义函数 FILE * fopen(const char * path,const char * mode); 函数说明 參数path字符串包括欲打开的文件路径及文件名称,參数mode...
分类:
其他好文 时间:
2014-10-30 20:47:49
阅读次数:
158
public void BubbleSort(int[] array) { int i, j, temp; for (i = 0; i 升序,< 降序 { ...
分类:
编程语言 时间:
2014-10-30 18:43:00
阅读次数:
171
Prime Path
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 11751
Accepted: 6673
Description
The ministers of the cabinet were quite upset by the message from...
分类:
其他好文 时间:
2014-10-30 17:08:51
阅读次数:
194
$pshome :powershell的主目录$profile :显示 Windows PowerShell 配置文件的路径test-path $profile :确定是否已经在系统上创建了 Windows PowerShell 配置文件powershell.exe 主机配置文件(在 Windows...
分类:
系统相关 时间:
2014-10-30 17:00:25
阅读次数:
210
foreach (WeekDay c in (WeekDay [])Enum.GetValues(typeof(WeekDay ))){Console.Write(String.Format("{0}是一周第{1}天",c.ToString(),(int)c));}Hashtable Ht = ne...
分类:
编程语言 时间:
2014-10-30 16:51:38
阅读次数:
195
一:情景:在mac下使用git;xcode4.6的环境时,需要安装command line tools ,但是在装了xcode5之后,就不需要安装command line tools了,默认已经集成了;但是我先装了,xcode4.6后来又安装了xcode5也就是,我mac上安装了两个版本的xocde...
分类:
移动开发 时间:
2014-10-30 16:46:01
阅读次数:
194
Find The Multiple
Time Limit: 1000MS
Memory Limit: 10000K
Total Submissions: 18527
Accepted: 7490
Special Judge
Description
Given a positive integer n, write a prog...
分类:
其他好文 时间:
2014-10-30 15:21:23
阅读次数:
245
一、去官网下载 Windows Live Write 组件 二、配置,选中其它服务,然后会到如下界面 主要是这里经常不知道选择什么,容易忘记。 下拉框选中metaweblog API 类型,把这个地址 (这是网易博客的api) http://os.blog.163.com/api/xmlrpc/me...
ECharts-基本线性图及其配置要求
// 按需加载
// Step:3 conifg ECharts's path, link to echarts.js from current page.
// Step:3 为模块加载器配置echarts的路径,从当前页面链接到echarts.js,定义所需图表路...
分类:
其他好文 时间:
2014-10-30 13:37:56
阅读次数:
194