What disk IO stats you get from the Linux kernel

To follow up my previous entry on iostat problems ,here's a rundown of the information you actually get from the Linuxkernel.

First off, you only get this from 2.6 kernels, or 2.4 kernels with theRed Hat disk stats patch (such as Red Hat Enterprise 3). In 2.6 thisinformation appears in /proc/diskstats ; in Red Hat's 2.4, it appearsin /proc/partitions with slightly more fields.

/proc/diskstats fields for


巴里島好味道

Continue reading...

金三珣的翅膀

昨晚在爸媽家食過飯後回家路上撞見朋友S,朋友S和另一位朋友一起的。朋友S當時見我手上拿著一袋《將音量放大……越過不義界線》的CD,在上星期跟一班朋友聚會時她已經第一時間買了也聽過(但唔知聽晒未)。她一見

印尼巴里島的自創麥威廉貴過正版老麥?


Continue reading...

Easier Solaris patch management with pca

Every so often having comments on here really pays off. A commenteron my previous entry gave me a pointer to pca (Patch Check Advanced), anactual sane patch management program for Solaris machines; if you wantmore reasons to take a look, see my longer comments .

One of the nice things about pca is that it led me to the patchdiag.xref file, which is a big cross index of all of the Solaris patches, and to patches.sun.com in general. Patchdiag.xrefis


20060329網摘 – 信用卡消費模式

信用卡消費模式


Using threading to implement a 'busy' cursor (a tale from long ago)

A very long time ago, I spent a year being an Amiga programmer as partof a small team writing an application. We wanted it to have a busymouse cursor (the general hourglass 'this is going to take a while'cursor good apps put up during long operations), but what with one thingand another, we wound up with two problems:

  • we weren't actually sure what user actions would take a longtime.
  • we got to 'implement a busy cursor' rather late in the whole

Hotmail spam stats revised

It turns out I made a mistake in my Hotmail stats for this week that missed some Hotmail rejections thatwere for @sympatico.ca addresses. There were actually 11 messagesrefused due to their IP origin, from six different IP addresses:

CountIPIn(Size)Listed sinceOwned by
462.166.232.22 SBL15419 March 6thVersatel (Netherlands)
381.199.172.231 SBL

南印公路上的超超超載麵包車


這攝於南印公路上的照片,我不知道有多無敵搞笑,我第一個反應是:唔係丫化咁都得?

事實上,這汽車嚴重超載情景,在印度是隨處可見,而又以這次見到的,最為誇張。

現 場所見,這麵包車內不單已擠滿起碼八九個人,裡面


北京公幹生活


24日中午,赴京公幹,約三小時的飛機旅程,讀書一小時,工作兩小時,很累。晚上,入住東方君悅酒店,先進行一輪聯繫工作,之後躲在房間為開會的事做準備,對於可以見到闊別幾個月的合作伙伴,有點期待。
工作完畢,
Continue reading...