Ⅰ 镆ョ湅鍐呭瓨浣跨敤𨱍呭喌linux鍐呭瓨浣跨敤𨱍呭喌linux
濡备綍浣跨敤Linux锻戒护琛屾煡鐪婰inux链嶅姟鍣ㄥ唴瀛树娇鐢ㄦ儏鍐碉纻
镆ョ湅Linux链嶅姟鍣ㄥ唴瀛樻煡鐪婰inux链嶅姟鍣ㄤ笅镄勫唴瀛树娇鐢ㄦ儏鍐碉纴鍙浠ヤ娇鐢ㄥ懡浠free-m銆傛敞镒忔ゅ懡浠ゅ彧鍦↙inux涓嬫湁鏁堬纴鍦‵reeBSD涓娌℃湁姝ゅ懡浠ゃ傚懡浠ゅ备笅镓绀猴细
镆ョ湅Linux链嶅姟鍣ㄥ唴瀛榰sed锛氩凡缁忎娇鐢ㄧ殑鍐呭瓨鏁癴ree锛氱┖闂茬殑鍐呭瓨鏁皊hared锛氩氢釜杩涚▼鍏变韩镄勫唴瀛樻婚-buffers/cache锛(宸茬敤)镄勫唴瀛樻暟锛屽嵆used-buffers-cached+buffers/cache锛(鍙鐢)镄勫唴瀛樻暟锛屽嵆free+buffers+cached寰楀嚭缁撹猴细鍙鐢ㄥ唴瀛樼殑璁$畻鍏寮忎负锛氩彲鐢ㄥ唴瀛=free+buffers+cached锛屽嵆2551MB+268MB+917MB=3737MB
Linux绯荤粺锘烘湰镄勫唴瀛樼$悊鐭ヨ瘑璁茶В锛
鐪嬩綘闇瑕佺湅镍傚埌浠涔堢▼搴︿简銆备竴鑸𨱍呭喌涓嫔彧瑕佹湁镓庡疄镄凛璇瑷锘虹銆傝蒋浠剁郴缁熷熀纭锛堣繘绋嬬嚎绋嬮樆濉炲师瀛愭搷浣滆繖浜涜呖灏戣兘澶熺湅镍傦级銆傞厤钖埚伐鍏蜂功銆傚啀锷燬I鍜屽瑰簲鐗堟湰镄勫唴镙镐唬镰併傚熀链灏遍梾棰树笉澶т简銆
linux镆ョ湅鍐呭瓨𨱒℃暟锛
鍦╨inux绯荤粺涓锛屾煡鐪嫔唴瀛樻浔涓鏁帮纴鍙婃疮镙瑰唴瀛樼殑澶у皬锛屽彲浠ヤ娇鐢╠midecode锻戒护銆
濡备笅锛
#dmidecode|grep-a16memorydevice$
杈揿嚭缁撴灉锛
memorydevice#瀛桦偍璁惧囥
arrayhandle:0x1000#阒靛垪澶勭悊銆
errorinformationhandle:notprovided#阌栾淇℃伅镄勫勭悊锛氢笉鎻愪緵銆
totalwidth:72bits#镐诲藉害锛72浣嶃
linux涓绘満鍐呭瓨浣跨敤鐜囬珮鏄浠涔埚师锲狅纻
鍦↙inux绯荤粺涓锛屽唴瀛树娇鐢ㄧ巼楂樻湁鍑犱釜甯歌佺殑锲犵礌锛屽叾涓涓涓涓昏佺殑鏄疛ava銆傚綋浣犺繍琛岀幆澧冩椂锛屾棤璁轰娇鐢ㄧ殑鏄姝g増镄凧ava杩樻槸GNU鎻愪緵镄勫彲镟夸唬镄勶纴浣犱细鍙戠幇杩欓兘浼氱粰浣犲甫𨱒ュ唴瀛树娇鐢ㄧ巼杩囬珮镄勯夯鐑︺
濡傛灉浣犲湪链嶅姟鍣ㄤ笂阆囧埌杩欑嶆儏鍐碉纴鍙鑳芥槸鐢盝Boss鎴朤omcat寮曡捣镄勶纴
Linux镎崭綔绯荤粺鍐呭瓨瀹炵敤鐜囨庝箞绠楋纻
鐪熸g殑鍐呭瓨鍒╃敤鐜=鍙鐢ㄥ唴瀛/镐诲唴瀛桡纸娉ㄦ剰姝ゅ勫彲鐢ㄥ唴瀛樼敱涓婅堪鍏寮忚$畻钥屾潵锛屽叾瀹炶繖涓璁$畻缁撴灉鍦╢ree锻戒护锲炴樉涓宸叉湁锛屽嵆锲炴樉缁撴灉绗涓夎"-/+buffers/cached"锛屾よ岀浜屼釜鏁板煎嵆涓哄姞涓娄简buffers鍜宑ached涔嫔悗镄勫唴瀛桡纴鍗充负涓婅堪鍏寮忔墍绠楃殑鍙鐢ㄥ唴瀛桡级銆