相思之甚,寸陰若歲。
——《北史。瀚禽傳》
posted @
2011-03-01 17:38 Klarke 閱讀(90) |
評論 (0) |
編輯 收藏
1. Count all the folder/file size:
du -h --max-depth=4
2. Some command could be used.
To list the files that is larger than 300M bytes (and do the follow up actions, like delete or compress).
Unix> find . -size +300M -exec /bin/ls -l {} \;
To list encounter temporary files with prefix “.ri” and you can also directly delete it with safe.
Unix> find . -name ".ri*" -exec /bin/ls -l {} \; # list
Unix> find . -name ".ri*" -exec /bin/rm {} \; #deletion
posted @
2011-03-01 10:07 Klarke 閱讀(124) |
評論 (0) |
編輯 收藏
addpath /usr/bin
ctags -R
posted @
2011-02-23 15:55 Klarke 閱讀(175) |
評論 (0) |
編輯 收藏
How to check memory leak in SOCE:
1. syutil/Makefile
DSY_ALLOC_DEBUG = 2 --> on
DSY_ALLOC_DEBUG = 0 --> off
2. Tcl command:
setMemoryDump 1
FEMemDump
3. C command
add syAllocStatus().
posted @
2011-01-04 10:47 Klarke 閱讀(104) |
評論 (0) |
編輯 收藏
http://www.cnblogs.com/ifys/archive/2010/09/10/1860614.htmlcd fe/src/
ctags -R *
posted @
2010-11-24 14:25 Klarke 閱讀(105) |
評論 (0) |
編輯 收藏
gdb:
cd autofp(branch)
Makefile
CFLAGS = -g
make dbg
cd rda
make
ps -au
gdb /icd/chnrd_t2b_001/chn03/svp/klarke/10.1.usr1/tools.lnx86/fe/bin/64bit/encounter 29759
設置斷點
1.break 文件-行數
2.break 函數名
Program received signal SIGSEGV, Segmentation fault.
0x0000000007cd5287 in syMPoolAllocArray ()
(gdb) p mempool
$1 = 0
encounter -64 -debugger -opt
top(just as ps)
pstack:
pstack "processes ID"
posted @
2010-11-05 14:43 Klarke 閱讀(174) |
評論 (0) |
編輯 收藏
Here are MPD regression cases:
1. cd /spc/spc4/FE_tests_10.1/testcases
2. ls MPD
../bin/testify2 -help
../bin/testify2 -te DPmode -keep -rundir <dir> --------
How to run testify2:
cd /spc/spc4/SOCE_10_10_test/testcases
../bin/testify2 -te `cat /icd/chnrd_t2b_001/chn03/svp/klarke/scratch/b087_1/testify.list` -failkeep -rundir {/icd/chnrd_t2b_001/chn03/svp/klarke/scratch/output/} -lsf rnd(lnx64)
/spc/spc4/FE_tests_10.1/testcases >../bin/testify2 -testsuite "DTMF_clus" -keep -rundir ~/DTMF_clus
posted @
2010-10-27 13:52 Klarke 閱讀(128) |
評論 (0) |
編輯 收藏
mobnitor101 or 913的CPU& MEM?
101里面就用report_resource
report_resource
[-help]
[-start startpoint | -end endpoint]
這樣結果出來CPU real MEM都有啦
91里面這不是一個public command,你看看可不可以用.不能的話就用feresource
因為report_resource用起來比較簡單
還有個問題就是 report_resource報出來的是peak MEM
如果要前后相減的MEM還是只能用feresource
posted @
2010-10-26 16:43 Klarke 閱讀(159) |
評論 (0) |
編輯 收藏
1.cvs update
\\to find the changes between local and server
2.tkdiff
3.bg
\\run in background ,may not run this
4.cvsci -help
\\to find description of options
5.
cvsci -fixed <CCR#> -c “comments of these code” –testcase “tecaseName” -files <listOfFiles>
posted @
2010-10-25 13:55 Klarke 閱讀(156) |
評論 (0) |
編輯 收藏
PEM: Policy Enforcement Module
VCAD Chambers: Virtually Integrated CAD
NDA: Non Disclosure Agreement
SSR: Secure Storage Request
EAR: Export Administration Regulations
LDAP: The Lightweight Directory Access Protocol
EFS:
Encrypting File System
FCPA: The
Foreign Corrupt Practices Act of 1977 (
FCPA) (15 U.S.C. §§ 78dd-1, et seq.) is a
United States federal law known primarily for two of its main provisions, one that addresses accounting transparency requirements under the
Securities Exchange Act of 1934 and another concerning
bribery of
foreign officials.
posted @
2010-10-19 11:02 Klarke 閱讀(95) |
評論 (0) |
編輯 收藏