顯示具有 mac command 標籤的文章。 顯示所有文章
顯示具有 mac command 標籤的文章。 顯示所有文章

2013年10月7日 星期一

zip command on mac

ex:
zip -e  -r locomo.zip locomote-ios

-e:  加密碼

-r: recursive ,  主要搭配壓縮資料夾

2011年4月21日 星期四

set io parameter on mac

sysctl -w kern.aioprocmax=1000

sysctl

get or set kernel state

show value
ex:
sysctl -a | grep aio
->

kern.aiomax = 90
kern.aioprocmax = 16
kern.aiothreads = 4
kern.aiomax: 90
kern.aioprocmax: 16
kern.aiothreads: 4


modify value
ex:
sysctl -w kern.aioprocmax=1000

iometer

http://sourceforge.net/news/?group_id=40179

use iometer to test  disk performance on mac
(the dynamo for mac & iometer for windows must be the same version)

(1) run dynamo on mac os
 ex:
sudo ./Dynamo -i 192.168.4.112  -m 172.18.8.21
192.168.4.112 is windows IP,
172.18.8.21  is mac os IP

(2) run iometer on windows