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

Linux²Ù×÷ϵͳµÄSwap½»»»ÇøÖ®ÃÕ

Swap£¬¼´½»»»Çø£¬³ýÁË°²×°LinuxµÄʱºò£¬ÓжàÉÙÈ˹ØÐĹýËüÄØ?Æäʵ£¬SwapµÄµ÷Õû¶ÔLinux·þÎñÆ÷£¬ÌرðÊÇWeb·þÎñÆ÷µÄÐÔÄÜÖÁ¹ØÖØÒª¡£Í¨¹ýµ÷ÕûSwap£¬ÓÐʱ¿ÉÒÔÔ½¹ýϵͳÐÔÄÜÆ¿¾±£¬½ÚʡϵͳÉý¼¶·ÑÓá£
¡¡¡¡SwapµÄÔ­ÀíÊÇÒ»¸ö½Ï¸´ÔÓµÄÎÊÌ⣬ÐèÒª´óÁ¿µÄƪ·ùÀ´ËµÃ÷¡£ÔÚÕâÀïÖ»×÷¼òµ¥µÄ½éÉÜ£¬ÔÚÒÔºóµÄÎÄÕÂÖн«ºÍ´ó¼ÒÏêϸÌÖÂÛSwapʵÏÖµÄϸ½Ú¡£
¡¡¡¡ÖÚËùÖÜÖª£¬ÏÖ´ú²Ù×÷ϵͳ¶¼ÊµÏÖÁË“ÐéÄâÄÚ´æ”ÕâÒ»¼¼Êõ£¬²»µ«ÔÚ¹¦ÄÜÉÏÍ»ÆÆÁËÎïÀíÄÚ´æµÄÏÞÖÆ£¬Ê¹³ÌÐò¿ÉÒÔ²Ù×Ý´óÓÚʵ¼ÊÎïÀíÄÚ´æµÄ¿Õ¼ä£¬¸üÖØÒªµÄÊÇ£¬“ÐéÄâÄÚ´æ”ÊǸôÀëÿ¸ö½ø³ÌµÄ°²È«±£»¤Íø£¬Ê¹Ã¿¸ö½ø³Ì¶¼²»ÊÜÆäËü³ÌÐòµÄ¸ÉÈÅ¡£
¡¡¡¡Swap¿Õ¼äµÄ×÷Óÿɼòµ¥ÃèÊöΪ£ºµ±ÏµÍ³µÄÎïÀíÄÚ´æ²»¹»ÓõÄʱºò£¬¾ÍÐèÒª½«ÎïÀíÄÚ´æÖеÄÒ»²¿·Ö¿Õ¼äÊͷųöÀ´£¬ÒÔ¹©µ±Ç°ÔËÐеijÌÐòʹÓá£ÄÇЩ±»ÊͷŵĿռä¿ÉÄÜÀ´×ÔһЩºÜ³¤Ê±¼äûÓÐʲô²Ù×÷µÄ³ÌÐò£¬ÕâЩ±»ÊͷŵĿռ䱻ÁÙʱ±£´æµ½Swap¿Õ¼äÖУ¬µÈµ½ÄÇЩ³ÌÐòÒªÔËÐÐʱ£¬ÔÙ´ÓSwapÖлָ´±£´æµÄÊý¾Ýµ½ÄÚ´æÖС£ÕâÑù£¬ÏµÍ³×ÜÊÇÔÚÎïÀíÄÚ´æ²»¹»Ê±£¬²Å½øÐÐSwap½»»»¡£
¡¡¡¡¼ÆËã»úÓû§»á¾­³£ÓöÕâÖÖÏÖÏó¡£ÀýÈ磬ÔÚʹÓÃWindowsϵͳʱ£¬¿ÉÒÔͬʱÔËÐжà¸ö³ÌÐò£¬µ±ÄãÇл»µ½Ò»¸öºÜ³¤Ê±¼äûÓÐÀí»áµÄ³ÌÐòʱ£¬»áÌýµ½Ó²ÅÌ “»©»©”Ö±Ïì¡£ÕâÊÇÒòΪÕâ¸ö³ÌÐòµÄÄÚ´æ±»ÄÇЩƵ·±ÔËÐеijÌÐò¸ø“͵×ß”ÁË£¬·Åµ½ÁËSwapÇøÖС£Òò´Ë£¬Ò»µ©´Ë³ÌÐò±»·ÅÖõ½Ç°¶Ë£¬Ëü¾Í»á´ÓSwapÇøÈ¡»Ø×Ô¼ºµÄÊý¾Ý£¬½«Æä·Å½øÄڴ棬Ȼºó½Ó×ÅÔËÐС£
¡¡¡¡ÐèҪ˵Ã÷Ò»µã£¬²¢²»ÊÇËùÓдÓÎïÀíÄÚ´æÖн»»»³öÀ´µÄÊý¾Ý¶¼»á±»·Åµ½SwapÖÐ(Èç¹ûÕâÑùµÄ»°£¬Swap¾Í»á²»¿°Öظº)£¬ÓÐÏ൱һ²¿·ÖÊý¾Ý±»Ö±½Ó½»»»µ½Îļþϵͳ¡£ÀýÈ磬ÓеijÌÐò»á´ò¿ªÒ»Ð©Îļþ£¬¶ÔÎļþ½øÐжÁд(Æäʵÿ¸ö³ÌÐò¶¼ÖÁÉÙÒª´ò¿ªÒ»¸öÎļþ£¬ÄǾÍÊÇÔËÐгÌÐò±¾Éí)£¬µ±ÐèÒª½«ÕâЩ³ÌÐòµÄÄÚ´æ¿Õ¼ä½»»»³öȥʱ£¬¾ÍûÓбØÒª½«Îļþ²¿·ÖµÄÊý¾Ý·Åµ½Swap¿Õ¼äÖÐÁË£¬¶ø¿ÉÒÔÖ±½Ó½«Æä·Åµ½ÎļþÀïÈ¥¡£Èç¹ûÊǶÁÎļþ²Ù×÷£¬ÄÇôÄÚ´æÊý¾Ý±»Ö±½ÓÊÍ·Å£¬²»ÐèÒª½»»»³öÀ´£¬ÒòΪÏ´ÎÐèҪʱ£¬¿ÉÖ±½Ó´ÓÎļþϵͳ»Ö¸´;Èç¹ûÊÇдÎļþ£¬Ö»ÐèÒª½«±ä»¯µÄÊý¾Ý±£´æµ½ÎļþÖУ¬ÒÔ±ã»Ö¸´¡£µ«ÊÇÄÇЩÓÃmallocºÍnewº¯ÊýÉú³ÉµÄ¶ÔÏóµÄÊý¾ÝÔò²»Í¬£¬ËüÃÇÐèÒªSwap¿Õ¼ä£¬ÒòΪËüÃÇÔÚÎļþϵͳÖÐûÓÐÏàÓ¦µÄ“´¢±¸”Îļþ£¬Òò´Ë±»³Æ×÷“ÄäÃû ”(Anonymous)ÄÚ´æÊý¾Ý¡£ÕâÀàÊý¾Ý»¹°üÀ¨¶ÑÕ»ÖеÄһЩ״̬ºÍ±äÁ¿Êý¾ÝµÈ¡£ËùÒÔ˵£¬Swap¿Õ¼äÊÇ“ÄäÃû”Êý¾ÝµÄ½»»»¿Õ¼ä¡£
¡¡¡¡Í»ÆÆ128M SwapÏÞÖÆ
¡¡¡¡¾­³£¿´µ


Ïà¹ØÎĵµ£º

linux³õѧ֮ÍøÂçÅäÖÃ

 ifconfig  ÃüÁ²é¿´/ÅäÖÃÍøÂçÐÅÏ¢
ifconfigµÄÓ﷨Ϊ 
ifconfig [-a] [-V] [-s] <interface> [[<AF>] <address>]
[[-]broadcast [<address>]] 
[netmask <address>] 
[up|down]
ÆäÖÐ interface ΪÍø¿¨Ãû address Ϊ IP µØÖ· broadcast ±íʾÉèÖù㲥
......

Redhat Linux oracle 10g em °´Å¥ÂÒÂë½â¾ö

ÍøÉÏÓкܶà×ÊÁÏ£¬Ò²ÊDzο¼eygleµÄÎĵµ¡£
OS : Redhat AS 4 U5
DB : Oracle 10.2.0.3
1.ÐÞ¸Äjdk ÏÂÃæµÄ×ÖÌå¡£
[oracle@rac2 db_1]$ cd $ORACLE_HOME/jdk/jre/lib/
[oracle@rac2 lib]$ mv font.properties font.properties_bak
[oracle@rac2 lib]$
[oracle@rac2 lib]$ cp font.properties.zh_CN.Redhat font.propertie ......

LinuxÏÂst_blksizeÓëWindowsÏ´شóСµÄ¶ÔÓ¦

ÉùÃ÷£º´Ëµ÷²é½á¹ûÈçÓдíÎ󣬾´ÇëÖ¸Õý¡£Ð»Ð»^_^
LinuxÏÂÎļþ¶ÔÓ¦µÄÊôÐÔ
struct stat {
        mode_t     st_mode;        //Îļþ¶ÔÓ¦µÄģʽ£¬Îļþ¡¢Ä¿Â¼µÈ
        ino_t   ......

LINUX¾²Ì¬Á´½Ó¿â˳ÐòÎÊÌâ

×òÌìÔÚ±àдһ¸ö³ÌÐòµÄʱºò·¢ÏÖÐèÒªÁ´½ÓµÄ¾²Ì¬¿â¶¼È·¶¨´æÔÚ£¬Ö¸¶¨µÄ·¾¶Ò²Ã»ÓÐÎÊÌ⣬µ«ÊDZàÒë×ÜÊdzöÏÖÁ´½ÓÎÊÌ⣬ÕÒ²»µ½ÊµÏÖ£¬²Å·¢ÏÖÔ­À´Èç¹ûͬʱÁ´½Ó¶à¸ö¾²Ì¬¿â£¬²¢ÇÒÈç¹ûÕâЩ¾²Ì¬¿âÖ®¼ä´æÔÚÏ໥ÒÀÀµ¹ØϵµÄ»°£¬ÐèÒª°´Ò»¶¨µÄ˳Ðò½øÐÐÁ´½Ó£¬ÀýÈ磺Èç¹ûlibb.aÒÀÀµliba.a£¬ÄÇô±àÒë²ÎÊýÓ¦¸Ãд³ÉÕâÑù£º -lb -la ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ