Listing file locks on Solaris 10

Suppose that you want to find out what files are locked on your Solaris10 machine, perhaps because it is an NFS server and you really want aglobal view of what locks you have . On aLinux machine (or a sufficiently old Solaris one) you could use lslk ,but it's never been ported to Solaris 10; instead you need to use ' mdb-k ', the kernel debugger.

The 'simple' command to get a list of files with file locks is:

echo '


Forwarding emails without false positives

Here is a modest suggestion for email clients: when you forward amessage, you should put some marker of this at the front of the Subject: header. Similarly, if you are configuring your email clientand you have a choice, you should set it up this way.

(Some but not all clients do this today.)

Many anti-spam systems that I've seen put a spam status marker at thestart of the Subject: line; it's a relatively obvious place, andputting it


援交與妓

到底是誰發明「性工作者」呢?

為了替妓女脫恥,創造一個用中文寫出來的外語,幾乎就要說服我,當娼妓本來就沒甚麼大不了。事實也許就不是甚麼大事,用自己的身體去換取酬勞,差不多是全人類都在做的事,越窮的人,出

爭氣力量超強勁

這是第6組公民監察的最新mv
紀錄了首階段宣傳期內各項活動的畫面
澳門人必看
看了必會感動
昨晚開始mv在網上熱傳
貼上這則mv
已經不是為他們打氣那麼簡單了
看過之後你就會明白
當中有一股超強勁的爭氣力量
讓人深深感動
讓人

爭氣戰記(三)


現在大家已經看到,公民監察的競選活動是一項創舉。

其實我跟大家一樣都是看報紙和在facebook接收訊息的,但這班「爭氣人」的行事作風和策劃的活動,的確與別不同。

首先是要收錢的籌款晚會。是的,不是有錢收,不是免費晚餐

How modern CPUs are like (modern) disks

Once upon a time, hard disk transfer rates were an issue of seriousconcern. It mattered a great deal how fast your disks and their IOchannels could run, and changing technologies could have significantperformance effects; IDE versus SCSI and so on really made a difference.

For a lot of people, those days are long over. Disk interconnects areessentially irrelevant (for this) and streaming read and write bandwidthhas become if not irrelevant then generally not important. What matters,what limits performance, is seek time.


揚帆出海

每一個網誌都會有她的起點,但每一個起點卻不一定有她的終點。這還不是問題,真正的問題是,一旦她開始了,她原來的起點就註定失落。

該怎麼說呢?網誌應該就是一艘起航了的船,日復一日在海面上劃下水痕,然後越過又

Barcamp HK 2009

it's time to come together again!!!

一如上年,今年的 barcamp 我也是下午才到,聽到不多:

(一) Mobile Game in China

聽說這個最精彩,但我只聽到尾尾小許。說到 App Store 改變了用家與供應商的關係,因為 Apple 的介入作中間人,用家會覺得自己是 Apple 客戶,而對供應商在 App 上的收費覺得


爭氣戰記(二)


當我看到公民監察提出「爭氣」這個口號時,我是感動的。

感動的理由很簡單:這些年來,我們澳門人真的夠爭氣嗎?在大家的心底裏,誰不希望可以過些爭氣的日子?誰不希望年輕一代的澳門人都可以爭氣做人?

選舉不能光靠

My opinions on when you should let ZFS handle RAID stuff

Given the previous entry , here's my opinions so faron when you should let ZFS handle your redundancy and when you shouldhave your storage backend do RAID. (This assumes that you have a storagebackend; if not, well, you don't have much choice.)

  • if you are doing mirroring, you really want to let ZFS handleit because ZFS will do a much better job of handling small problemsthan your storage backend can.

  • if you have a SAN and need your frontends to survive temporary