Matrix
Klarke's C/C++ Home
posts - 61,comments - 0,trackbacks - 0
相思之甚,寸阴若岁。
                       ——《北史。瀚禽传》
posted @ 2011-03-01 17:38 Klarke 阅读(83) | 评论 (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 阅读(172) | 评论 (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 阅读(102) | 评论 (0)编辑 收藏
http://www.cnblogs.com/ifys/archive/2010/09/10/1860614.html

cd fe/src/
ctags -R *
posted @ 2010-11-24 14:25 Klarke 阅读(99) | 评论 (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 阅读(138) | 评论 (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 阅读(122) | 评论 (0)编辑 收藏

mobnitor101 or 913CPU& 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 阅读(149) | 评论 (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” –testcasetecaseName” -files <listOfFiles
posted @ 2010-10-25 13:55 Klarke 阅读(147) | 评论 (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 阅读(94) | 评论 (0)编辑 收藏
仅列出标题
共7页: 1 2 3 4 5 6 7