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

o ra c le °²×°

 ¼ì²éÄں˲ÎÊý
ÕýÔÚ¼ì²é semmsl=250; ÒÑ·¢ÏÖ semmsl=250¡£ ͨ¹ý
ÕýÔÚ¼ì²é semmns=32000; ÒÑ·¢ÏÖ semmns=32000¡£ ͨ¹ý
ÕýÔÚ¼ì²é semopm=100; ÒÑ·¢ÏÖ semopm=32¡£ ʧ°Ü <<<<
ÕýÔÚ¼ì²é semmni=128; ÒÑ·¢ÏÖ semmni=128¡£ ͨ¹ý
ÕýÔÚ¼ì²é shmmax=536870912; ÒÑ·¢ÏÖ shmmax=33554432¡£ ʧ°Ü <<<<
ÕýÔÚ¼ì²é shmmni=4096; ÒÑ·¢ÏÖ shmmni=4096¡£ ͨ¹ý
ÕýÔÚ¼ì²é shmall=2097152; ÒÑ·¢ÏÖ shmall=2097152¡£ ͨ¹ý
ÕýÔÚ¼ì²é file-max=65536; ÒÑ·¢ÏÖ file-max=102464¡£ ͨ¹ý
ÕýÔÚ¼ì²é VERSION=2.6.9; ÒÑ·¢ÏÖ VERSION=2.6.9-67.0.0.0.1.ELsmp¡£ ͨ¹ý
ÕýÔÚ¼ì²é ip_local_port_range=1024 - 65000; ÒÑ·¢ÏÖ ip_local_port_range=32768 - 61000¡£ ʧ°Ü <<<<
ÕýÔÚ¼ì²é rmem_default=4194304; ÒÑ·¢ÏÖ rmem_default=110592¡£ ʧ°Ü <<<<
ÕýÔÚ¼ì²é rmem_max=4194304; ÒÑ·¢ÏÖ rmem_max=131071¡£ ʧ°Ü <<<<
ÕýÔÚ¼ì²é wmem_default=262144; ÒÑ·¢ÏÖ wmem_default=110592¡£ ʧ°Ü <<<<
ÕýÔÚ¼ì²é wmem_max=262144; ÒÑ·¢ÏÖ wmem_max=131071¡£ ʧ°Ü <<<<
¼ì²éÍê³É¡£´Ë´Î¼ì²éµÄ×ÜÌå½á¹ûΪ: ʧ°Ü <<<<
ÎÊÌâ: Äں˲ÎÊý²»Âú×ã×îµÍÒªÇó (²Î¼ûÉÏÎÄ)¡£
½¨Òé°¸: Çë°´ÕÕ²Ù×÷ϵͳÌض¨µÄ˵Ã÷¸üÐÂÄں˲ÎÊý¡£_
vi /etc/sysctl.conf
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default=4194304
net.core.rmem_max=4194304
net.core.wmem_default=262144
net.core.wmem_max=262144


Ïà¹ØÎĵµ£º

linux ÏÂc ³ÌÐò ¶Î´íÎó ·ÖÎö

fopen("/var/spool/cron/tmp","w+");
/////////////////////////////////////////
££i nclude <sys/types.h>
££i nclude <sys/stat.h>
££i nclude <fcntl.h>
££i nclude <unistd.h>
££i nclude <stdio.h>
££i nclude <string.h>
££i nclude <stdlib.h>
int main(){
in ......

android ±àÒëNative CµÄhello,worldÄ£¿é

±àÒëNative CµÄhello,worldÄ£¿é
    Android ±àÒë»·¾³±¾Éí±È½Ï¸´ÔÓ£¬ÇÒ²»ÏñÆÕͨµÄ±àÒë»·¾³£ºÖ»Óж¥²ãĿ¼Ï²ÅÓÐMakefileÎļþ£¬¶øÆäËûµÄÿ¸öcomponent¶¼Ê¹ÓÃͳһ±ê×¼µÄ Android.mk. Android.mkÎļþ±¾ÉíÊDZȽϼòµ¥µÄ£¬²»¹ýËü²¢²»ÊÇÎÒÃÇÊìϤµÄMakefile£¬¶øÊǾ­¹ýÁËAndroid×ÔÉí±àÒëϵͳµÄºÜ¶à´¦Àí£¬Òò´ËÒªÕæÕýÀ ......

CλÔËËã

12.1       λÔËËã·û£ÃÓïÑÔÌṩÁËÁùÖÖλÔËËã·û£º
    &          °´Î»Óë
    |          °´Î»»ò
    ^     &nb ......

ubuntu°²×°c/c++¼¯³É¿ª·¢»·¾³

Ê×ÏÈÈ·±£ÏµÍ³ÒѾ­°²×°ÁËgcc/g++
1> Anjuta
´ò¿ªÖÕ¶Ë:
ÃüÁî:sudo apt-get install anjuta
£¨²»ÄÜ°²×°µÄÐèÒªÌí¼Ó°²×°Ô´
Ìí¼ÓÔ´£ºµã»÷Ö÷²Ëµ¥Éϵēϵͳ”¡·“ϵͳ¹ÜÀ픡·“Èí¼þÔ´”£¬ÊäÈëÃÜÂëºó£¬ÔÚ³öÏֵĶԻ°¿òÖе㓵ÚÈý·½Èí¼þ”£¬
“deb http://anjuta.org.sixxs. ......

c±àÒë¹ý³Ì

±àÒëµÄ¸ÅÄ±àÒë³ÌÐò¶ÁÈ¡Ô´³ÌÐò£¨×Ö·ûÁ÷£©£¬¶ÔÖ®½øÐдʷ¨ºÍÓï·¨µÄ·ÖÎö£¬½«¸ß¼¶ÓïÑÔÖ¸Áîת»»Îª¹¦ÄܵÈЧµÄ»ã±à´úÂ룬ÔÙÓÉ»ã±à³ÌÐòת»»Îª»úÆ÷ÓïÑÔ£¬²¢ÇÒ°´ÕÕ²Ù×÷ϵͳ¶Ô¿ÉÖ´ÐÐÎļþ¸ñʽµÄÒªÇóÁ´½ÓÉú³É¿ÉÖ´ÐгÌÐò¡£
    ±àÒëµÄÍêÕû¹ý³Ì£ºCÔ´³ÌÐò£­£­>Ô¤±àÒë´¦Àí(.c)£­£­>±àÒë¡¢ÓÅ»¯³ÌÐò£¨.s¡¢.asm£©£­£­>»ã± ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ