ÎÒÊÇlinux 5¡£4 redhat°æ±¾ ×°²»ÉÏadobe ÇóÖú¸÷λ¸ßÊÖÖ¸µã
Ò»µãÐÅÏ¢¶¼²»¸ø ËÖªµÀÔõô»ØÊ°¡
¶àÉÏÍøËÑËÑ °²×°Ö®Ç°ÏÈ¿´¿´Èí¼þµÄÒªÇóÒÔ¼°READMEµÈ˵Ã÷
32λ°æµÄÊÇ¿ÉÒÔ×°µÄ£¬64λµÄ»¹²»Çå³ý
ÎÒÊÇ64λµÄlinux ²»ÖªµÀÊDz»ÊǸúÏÔ¿¨Çý¶¯Ã»×°Óйذ¢ Ôõô¿´ÎÒÓÐûÓÐ×°¸÷ÖÖÇý¶¯°¢£¿£¿£¿
ÎÒ ......
int dValue = pthread_mutex_lock(&g_ThreadMutex);
if (0 != dValue)
{
. pthread_mutex_unlock(&g_ThreadMutex);
. return pToDealing;
}
----------------ʧ°Üºó£¬ÔÙµ÷ÓúìÉ«²¿·Ö£¬»á²»»áµ¼Ö³ÌÐò±ÀÀ£°¡£¿£¿
Õâ¸ö×Ô¼º²éº¯ÊýÊÖ²á±È½ÏºÃ¡£
¿´ÏµÍ³ºÍÅäÖÃÁË
ÔÙ¶¥~~ÓÐôÓÐŶ~~~
......
ÎÒÏë²é¿´RedHatµÄ½ø³ÌÄڴ棬ϣÍûÏÔʾ¸ñʽΪһÐÐÏÔʾ½øÐÐÃû¡¢ÄÚ´æ´óС£¡
ÐèÒª¹¤¾ß¼°¿ª¹ØÑ¡Ïî
ÎÒÖ»ÖªµÀtopÃüÁî¿ÉÒÔÏÔʾËùÓнø³ÌµÄÄÚ´æ
ÔÚÖÕ¶ËÊäÈëpstree¾Í¿ÉÒÔ¿´½ø³Ì¡£
ps
¸üÏêϸһµãpstree
¶¼ÔÚ/procÏÂ
......
ÓÐһ̨·þÎñÆ÷ÄÚ´æÊÇ8g,ÉÏÃæ¾ÍÅÜÁËÒ»¸ötomcat£¬ÆäËûʲô¶¼Ã»ÓУ¬tomcatÉèÖÃÁË×î´óÄÚ´æΪ1g,µ«ÊDz»ÖªµÀÔõô»ØÊÂÇéÄÚ´æʹÓõķdz£¶à¡£
[equitydev@szgeoweb1 ~]$ free -m
total used free shared buffers cached
Mem: 7983 6127 1856 0 1 ......
ÎÒ×°µÄÊÇRed Hat Linux 9 רҵ°æ
¿ÉÊDz»ÖªµÀËüµÄÄں˱à³ÌÈí¼þÊÇʲôÑùµÄ£¬ÎÒÏë¿´¿´LinuxµÄÄں˴úÂëÒªÔõô¿´£¿
»¹ÓУ¬ÔÚLinuxÀïÃæÔõÑù±àC++´úÂ룿
½¨ÒéÏÈÁ˽âÒ»ÏÂLinuxµÄ·¢Õ¹Ê·£¬ÒÔ¼°°æ±¾µÄÑݱ䡣
ÄÚºËÔ´´úÂë¿ÉÒÔÈ¥Ïà¹ØÍøվȥÏÂÔØ£¬googleÀïËÑË÷ ÄÚºËÔ´´úÂë ÏÂÔØ£¬¿ÉÒÔÕÒµ½ºÜ¶àÏÂÔصØÖ·£¬
Ñ¡Ò»¸ö°æ±¾ÏÂÏÂÀ´¿´¿´
±àÒëC+ ......
ÇëÎʸ÷룬ÎÒÏÖÔÚÐèÒªÔÚQTϵ÷ÓÃlinuxϵÄopenº¯Êý£¬ÇëÎʸ÷λ´óÏÀÔõôдѽ£¿
ÒòΪÎÒÐèÒªopenº¯Êý·µ»ØµÄfdÖ¸Õë
include ÏàÓ¦µÄÍ·Îļþ£¬QLibrary¼ÓÔØÏàÓ¦µÄ¿â£¬»òÕß¾²Ì¬Á¬½Ó½øÈ¥¡£
È»ºótypdef¶¨Ò庯ÊýÀàÐÍ£¬È»ºóinvoke
ÎÒÊÇQTµÄ³õѧÕߣ¬ÄܸøÎÒд¸öÀý×ÓÂð£¿ÎÒʵÔÚ²»ÊǶ®Äú˵µÄѽ£¬¹þ¹þ
ʹÓÃQProcessÀ´Ê¹ÓÃlinux ÃüÁî¾ ......