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

LINUX c++Ï̳߳ؿò¼Ü

°æȨÉùÃ÷£ºÔ­ÎĵØÖ·¼°×÷Õß²»Ï꣬ÈçÓÐÇÖȨ£¬ÇëÁªÏµ£»
±¾Îĸø³öÁËÒ»¸öͨÓõÄÏ̳߳ؿò¼Ü£¬¸Ã¿ò¼Ü½«ÓëÏß³ÌÖ´ÐÐÏà¹ØµÄÈÎÎñ½øÐÐÁ˸߲ã´ÎµÄ³éÏó£¬Ê¹Ö®Óë¾ßÌåµÄÖ´ÐÐÈÎÎñÎ޹ء£ÁíÍâ¸ÃÏ̳߳ؾßÓж¯Ì¬ÉìËõÐÔ£¬ËüÄܸù¾ÝÖ´ÐÐÈÎÎñµÄÇáÖØ×Ô¶¯µ÷ÕûÏ̳߳ØÖÐÏ̵߳ÄÊýÁ¿¡£ÎÄÕµÄ×îºó£¬ÎÒÃǸø³öÒ»¸ö¼òµ¥Ê¾Àý³ÌÐò£¬Í¨¹ý¸ÃʾÀý³ÌÐò£¬ÎÒÃǻᷢÏÖ£¬Í¨¹ý¸ÃÏ̳߳ؿò¼ÜÖ´ÐжàÏß³ÌÈÎÎñÊǶàôµÄ¼òµ¥¡£
 
 
 
ΪʲôÐèÒªÏ̳߳Ø
Ä¿Ç°µÄ´ó¶àÊýÍøÂç·þÎñÆ÷£¬°üÀ¨Web·þÎñÆ÷¡¢Email·þÎñÆ÷ÒÔ¼°Êý¾Ý¿â·þÎñÆ÷µÈ¶¼¾ßÓÐÒ»¸ö¹²Í¬µã£¬¾ÍÊǵ¥Î»Ê±¼äÄÚ±ØÐë´¦ÀíÊýÄ¿¾Þ´óµÄÁ¬½ÓÇëÇ󣬵«´¦Àíʱ¼äÈ´Ïà¶Ô½Ï¶Ì¡£
 
´«Í³¶àÏ̷߳½°¸ÖÐÎÒÃDzÉÓõķþÎñÆ÷Ä£ÐÍÔòÊÇÒ»µ©½ÓÊܵ½ÇëÇóÖ®ºó£¬¼´´´½¨Ò»¸öеÄỊ̈߳¬ÓɸÃÏß³ÌÖ´ÐÐÈÎÎñ¡£ÈÎÎñÖ´ÐÐÍê±Ïºó£¬Ïß³ÌÍ˳ö£¬Õâ¾ÍÊÇÊÇ“¼´Ê±´´½¨£¬¼´Ê±Ïú»Ù”µÄ²ßÂÔ¡£¾¡¹ÜÓë´´½¨½ø³ÌÏà±È£¬´´½¨Ï̵߳Äʱ¼äÒѾ­´ó´óµÄËõ¶Ì£¬µ«ÊÇÈç¹ûÌá½»¸øÏ̵߳ÄÈÎÎñÊÇÖ´ÐÐʱ¼ä½Ï¶Ì£¬¶øÇÒÖ´ÐдÎÊý¼«ÆäƵ·±£¬ÄÇô·þÎñÆ÷½«´¦ÓÚ²»Í£µÄ´´½¨Ị̈߳¬Ïú»ÙÏ̵߳Ä״̬¡£
 
ÎÒÃǽ«´«Í³·½°¸ÖеÄÏß³ÌÖ´Ðйý³Ì·ÖΪÈý¸ö¹ý³Ì£ºT1¡¢T2¡¢T3¡£
 
T1£ºÏ̴߳´½¨Ê±¼ä
 
T2£ºÏß³ÌÖ´ÐÐʱ¼ä£¬°üÀ¨Ï̵߳Äͬ²½µÈʱ¼ä
 
T3£ºÏß³ÌÏú»Ùʱ¼ä
 
ÄÇôÎÒÃÇ¿ÉÒÔ¿´³ö£¬Ï̱߳¾ÉíµÄ¿ªÏúËùÕ¼µÄ±ÈÀýΪ(T1+T3) / (T1+T2+T3)¡£Èç¹ûÏß³ÌÖ´ÐеÄʱ¼äºÜ¶ÌµÄ»°£¬Õâ±È¿ªÏú¿ÉÄÜÕ¼µ½20%-50%×óÓÒ¡£Èç¹ûÈÎÎñÖ´ÐÐʱ¼äºÜƵ·±µÄ»°£¬Õâ±Ê¿ªÏú½«ÊDz»¿ÉºöÂԵġ£
 
³ý´ËÖ®Í⣬Ï̳߳ØÄܹ»¼õÉÙ´´½¨µÄÏ̸߳öÊý¡£Í¨³£Ï̳߳ØËùÔÊÐíµÄ²¢·¢Ïß³ÌÊÇÓÐÉϽçµÄ£¬Èç¹ûͬʱÐèÒª²¢·¢µÄÏß³ÌÊý³¬¹ýÉϽ磬ÄÇôһ²¿·ÖÏ߳̽«»áµÈ´ý¡£¶ø´«Í³·½°¸ÖУ¬Èç¹ûͬʱÇëÇóÊýĿΪ2000£¬ÄÇô×Çé¿öÏ£¬ÏµÍ³¿ÉÄÜÐèÒª²úÉú2000¸öÏ̡߳£¾¡¹ÜÕâ²»ÊÇÒ»¸öºÜ´óµÄÊýÄ¿£¬µ«ÊÇÒ²Óв¿·Ö»úÆ÷¿ÉÄÜ´ï²»µ½ÕâÖÖÒªÇó¡£
 
Òò´ËÏ̳߳صijöÏÖÕýÊÇ×ÅÑÛÓÚ¼õÉÙÏ̳߳ر¾Éí´øÀ´µÄ¿ªÏú¡£Ï̳߳زÉÓÃÔ¤´´½¨µÄ¼¼Êõ£¬ÔÚÓ¦ÓóÌÐòÆô¶¯Ö®ºó£¬½«Á¢¼´´´½¨Ò»¶¨ÊýÁ¿µÄÏß³Ì(N1)£¬·ÅÈë¿ÕÏжÓÁÐÖС£ÕâЩÏ̶߳¼ÊÇ´¦ÓÚ×èÈû£¨Suspended£©×´Ì¬£¬²»ÏûºÄCPU£¬µ«Õ¼ÓýÏСµÄÄÚ´æ¿Õ¼ä¡£µ±ÈÎÎñµ½À´ºó£¬»º³å³ØÑ¡ÔñÒ»¸ö¿ÕÏÐỊ̈߳¬°ÑÈÎÎñ´«Èë´ËÏß³ÌÖÐÔËÐС£µ±N1¸öÏ̶߳¼ÔÚ´¦ÀíÈÎÎñºó£¬»º³å³Ø×Ô¶¯´´½¨Ò»¶¨ÊýÁ¿µÄÐÂỊ̈߳¬ÓÃÓÚ´¦Àí¸ü¶àµÄÈÎÎñ¡£ÔÚÈÎÎñÖ´ÐÐÍê±ÏºóÏß³ÌÒ²²»Í˳ö£¬¶øÊǼÌÐø±£³ÖÔÚ³ØÖеȴýÏÂÒ»´ÎµÄÈÎÎñ¡£µ±ÏµÍ³±È½Ï¿ÕÏÐʱ£¬´ó²¿·ÖÏ̶߳¼Ò»Ö±´¦ÓÚÔ


Ïà¹ØÎĵµ£º

C\C++ Notes

CµÄstaticµÄÓ÷¨:
1.¶ÔÓÚº¯ÊýÀïµÄ¾Ö²¿±äÁ¿,¸Ä±äµÄÊÇËüµÄÉú´æÖÜÆÚ,Õâ¸ö±äÁ¿»áÒ»Ö±´æÔÚ,µ½³ÌÐò½áÊø. º¯ÊýÍⲿ·ÃÎʲ»µ½Õâ¸ö±äÁ¿.
2.¶ÔÓÚÈ«¾ÖµÄ±äÁ¿,¸Ä±äµÄÊÇËüµÄ×÷Ó÷¶Î§,Õâ¸ö±äÁ¿Ö»ÔÚ±¾ÎļþÄÚÓÐЧ.ÆäËüµÄ.cÎļþ¿´²»µ½.
   µ±È»ËüµÄÉúÃüÖÜÆÚÊǺͳÌÐòÒ»ÑùµÄ ......

linux×Ô¶¯Æô¶¯ oracle½Å±¾

×î½ü£¬ORACLEϵͳ»ù±¾µ÷ÊÔͨ¹ý£¬ÊÇʱºòÉèÖÃORACLEËæRHEL×Ô¶¯Æô¶¯Óë¹Ø±Õ·þÎñµÄʱºòÁË£¬Ö®ËùÒÔ°ÑÕâ¸öÈÎÎñ·ÅÔÚ×îºóÀ´×ö£¬ÊÇÒòΪÎÒ¾õµÃÕâ¸öÓ¦¸Ã²»»áºÜÄÑ£¬µ«ÕæÕýʵʩÆðÀ´£¬»¹ÊÇÓöµ½Á˸ö²»Ð¡µÄÕÏ°­
дºÃ½Å±¾£¬×¢²áºÃ·þÎñÖ®ºó£¬¾­²âÊÔ£¬ORACLE¿ÉÒÔËæRHELÆô¶¯¶øÆô¶¯£¬µ«²»ÄÜËæϵͳ¹Ø±Õ¶ø¹Ø±Õ¡£ÔÚÍøÉÏÕҴ𰸣¬·¢ÏÖ¼¸ºõËùÓеÄÉèÖùý ......

linux socket Ïê½â

Í·Îļþ£ºsys/socket.h
Ïà¹Ø½á¹¹Ì壺
struct sockaddr
{
    unsigned short sa_family;   //µØÖ·×å
    char sa_data[14];   //14×Ö½ÚЭÒéµØÖ·
};
struct sockaddr_in
{
    short int sin_family;   //µØÖ·×å
    u ......

linuxÏÂ×Ö·ûÇý¶¯Ä£¿éµÄÒ»°ãÐÔ²½Öè

Õâ¶Îʱ¼äѧϰ×Ö·ûÉ豸µÄÇý¶¯Ä£¿é³ÌÐò£¬Ö÷ÒªÊǽè¼øÊé¼®<linuxÇý¶¯¿ª·¢Ïê½â>¼°ÍøÂç×ÊÔ´£¬ÔÚ´Ë£¬ÎÒÒÀ¾Ý¸öÈ˵ÄÀí½â£¬
¶ÔÏÖÔÚ×Ô¼ºËùÀí½âµÄ½øÐÐС½á¡£
ÕûÌå³ö·¢Ò»µã£¬Ó¦ÓóÌÐòºÍvfsÖ®¼äµÄ½Ó¿ÚÊÇϵͳµ÷Ó㬶øVFSÓë´ÅÅÌÎļþϵͳ¼°ÆÕͨÉ豸֮¼äµÄ½Ó¿ÚÊÇfile_operations
½á¹¹Ìå³ÉÔ±º¯Êý£¬Õâ¸ö½Ó¿ÚÌå°üº¬¶ÔÎļþ½øÐдò¿ª¡¢¹Ø±Õ ......

ÔÚlinuxÉÏÅäÖÃunixODBCºÍFreeTDS·ÃÎÊMS SQL Server.

Ò», °²×° unixODBC
ÏÂÔØ°²×°°ü. ÔÚ RedHat °²×°¹âÅÌÉϾÍÓÐ
unixODBC-2.2.11-1.RHEL4.1.i386.rpm
unixODBC-devel-2.2.11-1.RHEL4.1.i386.rpm
unixODBC-kde-2.2.11-1.RHEL4.1.i386.rpm
°²×°
rpm -Uvh unixODBC-2.2.11-1.RHEL4.1.i386.rpm
rpm -Uvh unixODBC-devel-2.2.11-1.RHEL4.1.i386.rpm
Èç¹û°²×°ÖÐÌáʾÓжÔÆäËü° ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ