Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

linuxµÄfreeÃüÁî

 [root@nonamelinux ~]# free
total used free shared buffers cached
Mem: 386024 377116 8908 0 21280 155468
-/+ buffers/cache: 200368 185656
Swap: 393552 0 393552
ÏÂÃæÊǶÔÕâЩÊýÖµµÄ½âÊÍ£º
µÚ¶þÐÐ(mem)£º
total:×ܼÆÎïÀíÄÚ´æµÄ´óС¡£
used:ÒÑʹÓöà´ó¡£
free:¿ÉÓÃÓжàÉÙ¡£
Shared:¶à¸ö½ø³Ì¹²ÏíµÄÄÚ´æ×ܶ
Buffers/cached:´ÅÅÌ»º´æµÄ´óС¡£
µÚÈýÐÐ(-/+ buffers/cached):
used:ÒÑʹÓöà´ó¡£
free:¿ÉÓÃÓжàÉÙ¡£
µÚËÄÐоͲ»¶à½âÊÍÁË¡£
Çø±ð£º
µÚ¶þÐÐ(mem)µÄused/freeÓëµÚÈýÐÐ(-/+ buffers/cache) used/freeµÄÇø±ð¡£
Õâ Á½¸öµÄÇø±ðÔÚÓÚʹÓõĽǶÈÀ´¿´£¬µÚÒ»ÐÐÊÇ´ÓOSµÄ½Ç¶ÈÀ´¿´£¬ÒòΪ¶ÔÓÚOS£¬buffers/cached ¶¼ÊÇÊôÓÚ±»Ê¹Óã¬ËùÒÔËûµÄ¿ÉÓÃÄÚ´æÊÇ8908KB,ÒÑÓÃÄÚ´æÊÇ377116KB,ÆäÖаüÀ¨£¬Äںˣ¨OS£©Ê¹ÓÃ+Application(X, oracle,etc)ʹÓõÄ+buffers+cached.
µÚÈýÐÐËùÖ¸µÄÊÇ´ÓÓ¦ÓóÌÐò½Ç¶ÈÀ´¿´£¬¶ÔÓÚÓ¦ÓóÌÐòÀ´Ëµ£¬buffers/cached ÊǵÈÓÚ¿ÉÓõģ¬ÒòΪbuffer/cachedÊÇΪÁËÌá¸ßÎļþ¶ÁÈ¡µÄÐÔÄÜ£¬µ±Ó¦ÓóÌÐòÐèÔÚÓõ½ÄÚ´æµÄʱºò£¬buffer/cached»áºÜ¿ìµØ±»»ØÊÕ¡£
ËùÒÔ´ÓÓ¦ÓóÌÐòµÄ½Ç¶ÈÀ´Ëµ£¬¿ÉÓÃÄÚ´æ=ϵͳfree memory+buffers+cached.
ÈçÉÏÀý£º
185656=8908+21280+155468
½ÓÏÂÀ´½âÊÍʲôʱºòÄÚ´æ»á±»½»»»£¬ÒÔ¼°°´Ê²Ã´·½½»»»¡£
µ±¿ÉÓÃÄÚ´æÉÙÓڶֵµÄʱºò£¬¾Í»á¿ª»á½øÐн»»».
ÈçºÎ¿´¶î¶¨Öµ£¨RHEL4.0£©£º
#cat /proc/meminfo
½»»»½«Í¨¹ýÈý¸ö;¾¶À´¼õÉÙϵͳÖÐʹÓõÄÎïÀíÒ³ÃæµÄ¸öÊý£º¡¡
1.¼õÉÙ»º³åÓëÒ³ÃæcacheµÄ´óС£¬
2.½«ÏµÍ³VÀàÐ͵ÄÄÚ´æÒ³Ãæ½»»»³öÈ¥£¬¡¡
3.»»³ö»òÕ߶ªÆúÒ³Ãæ¡£(Application Õ¼ÓõÄÄÚ´æÒ³£¬Ò²¾ÍÊÇÎïÀíÄÚ´æ²»×㣩¡£
ÊÂʵÉÏ£¬ÉÙÁ¿µØʹÓÃswapÊDz»ÊÇÓ°Ï쵽ϵͳÐÔÄܵġ£
ÏÂÃæÊÇbuffersÓëcachedµÄÇø±ð¡£
buffersÊÇÖ¸ÓÃÀ´¸ø¿éÉ豸×öµÄ»º³å´óС£¬ËûÖ»¼Ç¼ÎļþϵͳµÄmetadataÒÔ¼° tracking in-flight pages.
cachedÊÇÓÃÀ´¸øÎļþ×ö»º³å¡£
ÄǾÍÊÇ˵£ºbuffersÊÇÓÃÀ´´æ´¢£¬Ä¿Â¼ÀïÃæÓÐʲôÄÚÈÝ£¬È¨Ï޵ȵȡ£
¶øcachedÖ±½ÓÓÃÀ´¼ÇÒäÎÒÃÇ´ò¿ªµÄÎļþ £¬Èç¹ûÄãÏëÖªµÀËûÊDz»ÊÇÕæµÄÉúЧ£¬Äã¿ÉÒÔÊÔһϣ¬ÏȺóÖ´ÐÐÁ½´ÎÃüÁî#man X ,Äã¾Í¿ÉÒÔÃ÷ÏԵĸоõµ½µÚ¶þ´ÎµÄ¿ª´òµÄËٶȿìºÜ¶à¡£
ʵÑ飺ÔÚһ̨ûÓÐʲôӦÓõĻúÆ÷ÉÏ×ö»á¿´µÃ±È½ÏÃ÷ÏÔ¡£¼ÇµÃʵÑéÖ»ÄÜ×öÒ»´Î£¬Èç¹ûÏë¶à×öÇë»»Ò»¸öÎļþÃû¡£
#free
#man X
#free
#man X
#free
Äã¿ÉÒÔÏȺó±È½ÏÒ»ÏÂfreeºóÏÔʾbuffersµÄ´óС¡£
ÁíÒ»¸öʵÑ飺
#free
#ls /dev
#free
Äã


Ïà¹ØÎĵµ£º

ʵսLinux Bluetooth±à³Ì (Æß) SDPЭÒé

Service Discovery Protocol(SDP)ÌṩһÖÖÄÜÁ¦£¬ÈÃÓ¦ÓóÌÐòÓз½·¨·¢ÏÖÄÄÖÖ·þÎñ¿ÉÓÃÒÔ¼°ÕâÖÖ·þÎñµÄÌØÐÔ¡£
·þÎñ·¢ÏÖЭÒé(SDP»òBluetooth SDP)ÔÚÀ¶ÑÀЭÒéÕ»ÖжÔÀ¶ÑÀ»·¾³ÖеÄÓ¦ÓóÌÐòÓÐÌØÊâµÄº¬Ò⣬·¢ÏÖÄĸö·þÎñÊÇ¿ÉÓõĺÍÈ·¶¨ÕâЩ¿ÉÓ÷þÎñµÄÌØÕ÷¡£SDP¶¨ÒåÁËbluetooth client·¢ÏÖ¿ÉÓÃbluetooth server·þÎñºÍËüÃǵÄÌØÕ÷µÄ·½·¨¡£ ......

³¬¼¶¼òµ¥ÓÃpuppy linux ½¨Á¢×Ô¼ºµÄLIVECD

³¬¼¶¼òµ¥ÓÃpuppy linux ½¨Á¢×Ô¼ºµÄLIVECD
2008-05-18 13:32
copy form
http://www.linuxsir.org/bbs/thread328351.html
ÉùÃ÷£º ÕâÊÇд¸øºÍÎÒÒ»Ñù£¬Á¬ÃüÁîÐ⻶®µÄÐÂÊÖ¿´µÄ¡£
±ðÈË»¹ÔÚѧϰlinux,Äãûѧϰ¹·Æ¨²»¶®µÄÒѾ­·¢·ÅÄã×Ô¼ºÃüÃûµÄ°æ±¾ÁË£¬ÓÐÒâ˼°É¡£ÏÂÃæ¾Í½ÌÄãÈçºÎDIYÄã×Ô¼ºµÄlinux°æ±¾¡£
Èç¹ûÄãÔÚ windowsÏ»á ......

LinuxÏÂoracle 10g ÖйرÕÊý¾Ý¿â´íÎó

 Ò»´ÎÆæ¹ÖµÄÊý¾Ý¿âÆô¶¯ºÍ¹Ø±Õ¾­Àú¡£
SQL> conn / as sysdba
Connected to an idle instance.
SQL> shutdown immediate
ORA-24324: service handle not initialized
ORA-24323: value not allowed
ORA-01089: immediate shutdown in progress - no operations are permitted
SQL> conn / as sysdba
Co ......

Linux²é¿´ÏµÍ³×´Ì¬

Linux²é¿´ÏµÍ³×´Ì¬
Ô­ÎÄ:http://www.kklinux.com/html/linuxwangluojishu/linuxxitongguanliyuan/200903/13-4304.html
1¡£ÈçºÎ²é¿´ÏµÍ³µ±Ç°µÄ¸ºÔØ£¿
  
   ·½·¨£ºÊ¹Óà top ÃüÁî
   [Ç°5ÐнâÊÍ]
   µÚÒ»ÐУº¡¾ÏµÍ³¸Å¿ö¡¿µ±Ç°Ê±¼ä¡¢ÏµÍ³Æô¶¯Ê±¼ä¡¢µ±Ç°ÏµÍ³µÇ¼Óû§ÊýÄ¿¡¢Æ½¾ ......

linux »ù´¡ÃüÁî

 
 
shutdown [options] when [message]
options:¡¡-r ±íʾÖØÆô£¬-h±íʾϵͳ·þÎñÍ£ÖÍ(halt)ºó£¬Á¢¿Ì¹Ø»ú £¬-f±íʾ¿ìËÙÖØÆô
when£º¡¡ÎªshutdownÖ¸¶¨Ê±¼ä¡£hh:mm£º¾ø¶Ôʱ¼ä£¬hhָСʱ£¬mmÖ¸·ÖÖÓ£»Èç08:30£¬+m:m·ÖÖÓºóÖ´ÐУ¬
now=+0£¬Ò²¾ÍÊÇÁ¢¿ÌÖ´ÐÐ
message£º±íʾϵͳµÄ¹ã²¥ÐÅÏ¢£¬Ò»°ãÌáʾ¸÷¸öÓû§ÏµÍ³¹Ø»ú» ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ