原创 Minix超級塊管理
/* This file manages the super block table and the related data structures, * namely, the bit maps that keep track of
原创 how to chase a girl
女孩子大多不會主動出擊,去追求自己喜歡的男孩,除了確實太喜歡了或者是那種比較有個性的勇敢的女孩子。所以,如果你很喜歡一個女孩子,並且認爲她對你也有點意思,那就主動點,別跟她搞拉鋸戰,自己難受,說不定你喜歡的人也痛苦。任何一
原创 minix文件鎖管理
文件鎖存放在一個數組當中,用來記錄系統對於文件鎖的使用情況。 文件鎖的定義如下: /* This is the file locking table. Like the filp table, it points to the *
原创 Linux 套接字編程中的 5 個隱患
轉自:https://www.ibm.com/developerworks/cn/linux/l-sockpit/#ibm-pcon Linux 套接字編程中的 5 個隱患 在異構環境中開發可靠的網絡應用程序 M. Tim
原创 Hadoop完全分佈式配置
zhuanzi : http://www.cnblogs.com/flyoung2008/archive/2011/11/29/2268302.html 環境:CentOs5、hadoop0.20.203、jdk1.6.0_29 na
原创 Linux性能監控
衡量CPU性能的指標: 1,用戶使用CPU的情況; CPU運行常規用戶進程 CPU運行niced process CPU運行實時進程 2,系統使用CPU情況; 用於I/O管理:中斷和驅動 用於內存管理:頁面交換 用戶進程管理:進
原创 vim替換
http://hi.baidu.com/sevkm/item/81e4110b187a388a02ce1bff vi/vim 中可以使用 :s 命令來替換字符串。以前只會使用一種格式來全文替換,今天發現該命令有很多種寫法(vi 真是強大啊
原创 HDFS格式化報錯
異常描述 [grant@zz_mars bin 16:08 ]$ ./hadoop namenode -format DEPRECATED: Use of this script to execute hdfs command
原创 Memcached源碼の存儲管理
/* -*- Mode: C; tab-width: 4; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * Slabs memory allocation, based on
原创 你需要知道的16個Linux服務器監控命令
zhuan : http://blog.jobbole.com/15430/ 英文原文: hp.com,翻譯:oschina 如果你想知道你的服務器正在做幹什麼,你就需要了解一些基本的命令,一旦你精通了這些命令,那你就是一個 專業
原创 由淺入深理解索引的實現(1)
yuanwen:http://www.mysqlops.com/2011/11/24/understanding_index.html 00 – 背景知識 - B-Tree & B+Tree http://en.wikiped
原创 const 函數參數
const char* a *a='b' // 若原先*a!='b' ,則錯 !a=b // b 爲另一同型指針 , 正確 ,地址可變char* a//這不用我多說了吧!char* const a// 地址不可變 ,內容可變con
原创 SCTP相關術語
http://wiki.dzsc.com/info/4248.html#top
原创 回調函數callback function
原文:http://www.rosoo.net/a/200611/6372.html 簡單的說,如果你使用了某個function,那麼你就是『call』了一個function。如果系統或是函式是要求你給一個function point
原创 深入淺出REST
原文:http://www.infoq.com/cn/articles/rest-introduction 不知你是否意識到,圍繞着什麼纔是實現異構的應用到應用通信的“正確”方式,一場爭論正進行的如火如荼:雖然當前主流的方式明顯地集中