zabbix_agentd.confUserParameter=custom.vfs.dev.read.ops[*],cat/proc/diskstats|grep$1|head-1|awk‘{print$$4}‘UserParameter=custom.vfs.dev.read.ms[*],cat/proc/diskstats|grep$1|head-1|awk‘{print$$7}‘UserParameter=custom.vfs.dev.write.ops[*],cat/proc/diskstats|g..
分类:
其他好文 时间:
2014-10-01 00:40:10
阅读次数:
452
URL、URI、URNURL:protocol :// hostname[:port] / path / [;parameters][?query]#fragment
分类:
编程语言 时间:
2014-10-01 00:28:10
阅读次数:
182
#include
/* 插入排序
基本思想:将记录插入到已排序好的有序表中
特点:一种稳定的排序方法,时间复杂度O(n^2)
*/
void InsertSort(int array[],int len){
int i,j;
int temp;...
分类:
其他好文 时间:
2014-09-30 23:23:10
阅读次数:
196
python修改文件内容,不需要read,write多个动作。最简单方法。...
分类:
编程语言 时间:
2014-09-30 21:14:45
阅读次数:
206
In linux, you can use the ncurses library to use the terminal as a text buffer: move the cursor around, and write text. It can also draw windows and o...
分类:
其他好文 时间:
2014-09-30 18:43:59
阅读次数:
154
#include#include#includeint c[501],a[501],b[501],n,nn,nl,i,j,flag,temp[501],temp1[501];char s[501],s2[501];void input (){ scanf("%s ",&s); sc...
分类:
其他好文 时间:
2014-09-30 17:24:59
阅读次数:
144
先把上节未完成的部分补全,再剖析一下HDFS读写文件的内部原理
列举文件
FileSystem(org.apache.hadoop.fs.FileSystem)的listStatus()方法可以列出一个目录下的内容。
public FileStatus[] listStatus(Path f) throws FileNotFoundException, IOException;
pu...
分类:
编程语言 时间:
2014-09-30 16:47:19
阅读次数:
271
参考资料:http://www.w3school.com.cn/js/index.asp? 一、教程 ????js是一种轻量级的编程语言,可插入html页面中,并由浏览器执行。 ????(1)简介 <script>
????document.write("<h1>标题一</h1>...
分类:
编程语言 时间:
2014-09-30 16:39:00
阅读次数:
190
Using write and read system call. Following is an example:blk.h:#include #include #include #include #include #include struct data{ char s[20]; i...
分类:
其他好文 时间:
2014-09-30 14:35:19
阅读次数:
153
关于win 64位机器安装Scrapy的问题:http://steamforge.net/wiki/index.php/How_to_Install_Scrapy_in_64-bit_Windows_7 在安装Scrapy是要安装一系列的依赖模块, 出现问题: 1、error: Unable to find vcvarsall...
分类:
编程语言 时间:
2014-09-30 13:46:39
阅读次数:
341