马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?开始注册
x
通过使用echo命令进行测试。5 M6 k1 |. H9 y. @, b4 {2 M9 c
( T3 U3 d# e7 `- Z0 ]
echo {1..100000000} &! O$ O6 G. R( V9 [- b& {& j3 h7 s" e
-vbash: xmalloc: ../bash/make_cmd.c:100: cannot allocate 9 bytes (16519716864 bytes allocated)$ r0 X( |9 v/ ^6 y
( ^" F" G' |4 |
* G! `& O1 W" v7 P: x b:3 l9 ^+ r* n6 ?$ r
watch "free -g "
% Y& p: k' a/ ` t# t! w1 n F; }# t( y) F& @/ _
9 `0 V) r( _' F# S
或者使用0 l0 i: z- M( l& P& A
工具:memtester
. _% C d2 J% o7 j. Y% w官方:http://pyropus.ca/software/memtester/1 A( s5 g8 t5 y) l8 h3 O
[url=]memtester-4.3.0.tar.gz[/url]& q/ `* `" P" |5 i
wget http://pyropus.ca/software/memtester/old-versions/memtester-4.3.0.tar.gz
! y v3 J9 w. r+ s# S2 {; F& \tar -xzvf memtester-4.3.0.tar.gz
( Q g7 h" H; }2 N! _ ?cd memtester-4.3.09 L9 u/ F5 A9 N1 S2 h. F1 l: q
make && make install 用法:Usage: ./memtester [-p physaddrbase [-d device]] <mem>[B|K|M|G] [loops]: n0 K5 H, E/ l( t g& C& n
例:memtester 1G 5 " C0 _" U5 G( R4 u1 C6 @4 ^+ q' M4 S
- V, D# B3 ~) S$ N8 X |