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


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

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


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

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

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