¿ìËÙʹÓÃlocateÃüÁî²éÕÒLinuxÖеÄÎļþ
ÔÚºÆ嫵ÄLinuxÖУ¬²éÕÒij¸öÎļþÊǼþ·Ç³£ÒªÃüµÄʶù¡£ÎÒÊÔ¹ýºÜ¶à·½·¨£¬×î¼òµ¥¡¢×î·½±ãµÄÒ»ÖÖÊÇÀûÓÃlocateÃüÁîºÍupdatedbÃüÁîÅäºÏµÄ·½·¨£º
±ÈÈ磬ÎÒÃÇÒª²éÕÒÒ»¸öÎļþÃûÖдø“chen”×Ö·û´®µÄÎļþ£¬ÕâÑù×ö£º
[root@locahost /]# locate chen
ÕâÑù¾ÍÄܳöÏÖÒ»´ó´®Ô̺¬chen×Ö·û´®ÎļþÃûµÄÎļþ¡£
×¢Ò⣬locateÖ´ÐкóµÄ½á¹û²»Ò»¶¨×¼È·£¬ÓпÉÄÜ×î½üµÄÒ»¶Îʱ¼äÄÚÆäËûÓû§Ìí¼ÓÁË»òɾ³ýÁËij¸öº°“chen”µÄÎļþ£¬Ã»¹Øϵ£¬Ö´ÐУº
[root@locahost /]# updatedb
ÕâÑù£¬ÔÙÖ´ÐÐlocate chen¾ÍÄܵõ½×îС¢×î׼ȷµÄ½á¹ûÁË¡£
Ïà¹ØÎĵµ£º
ת×Ô£ºhttp://blog.csdn.net/rstevens/archive/2007/04/10/1559289.aspx
1.
ÍøÂç×Óϵͳ
1.1.
ÍøÂç×Óϵͳ¸ÅÊö
Linux
ÄÚºËÖУ¬ÓëÍøÂçÏà¹ØµÄ´úÂëÊÇÒ»¸öÏà¶Ô¶ÀÁ¢µÄ×Óϵͳ£ ......
ÏȽéÉÜÒ»ÏÂÇé¿ö£¬·þÎñÆ÷AºÍ·þÎñÆ÷B¶¼ÊÇCentOS 4.6µÄϵͳ£¬ÏÖÔÚÒª×öHA
Cluster£¬ÎªÁ˱ÜÃâÁÑÄԵķ¢Éú£¬ÒªÌá¸ßÐÄÌøÁ´Â·µÄ¿É¿¿ÐÔ£¬ÏÂͼÊÇÏÖʱµÄÁ¬½ÓÇé¿ö£¬·þÎñÆ÷AµÄeth2¡¢eth3·Ö±ðºÍ·þÎñÆ÷BµÄeth2¡¢eth3
ÏàÁ¬£¨Ã»ÓÐ˳Ðò¹Øϵ£©£¬ËùÓÐÍø¿¨¶¼ÊÇǧÕ×Íø¿¨£¬ÍØÆËͼÈçÏÂËùʾ£º
ÔÚ½éÉÜÒ»ÆðÓ²¼þÇé¿ö£¬·þÎñÆ÷AÊÇһ̨HP DL380
G5£¬ ......
linux socket ÓÅ»¯
2008-06-12 16:40
ʹÓà Sockets API£¬ÎÒÃÇ¿ÉÒÔ¿ª·¢¿Í»§»úºÍ·þÎñÆ÷Ó¦ÓóÌÐò£¬ËüÃÇ¿ÉÒÔÔÚ±¾µØÍøÂçÉϽøÐÐͨÐÅ£¬Ò²¿ÉÒÔͨ¹ý Internet ÔÚÈ«Çò·¶Î§ÄÚ½øÐÐͨÐÅ¡£ÓëÆäËû API Ò»Ñù£¬Äú¿ÉÒÔͨ¹ýһЩ·½·¨Ê¹Óà Sockets API£¬´Ó¶øÌá¸ß Socket µÄÐÔÄÜ£¬»òÕßÏÞÖÆ Socket µÄÐÔÄÜ¡£±¾ÎÄ̽Ë÷ÁË 4 ÖÖʹÓà Sockets API À´ ......
1£¬-c ±àÒëÄ¿±ê´úÂë
gcc -o hello.o -c hello.c //-o Ö»ÊÇÖ¸¶¨Éú³ÉÄ¿±êÎļþÃû
»ò
gcc -c hello.c
¶¼Éú³Éhello.oÎļþ£¬²»¿ÉÒÔÖ´ÐС£
gcc -o hello hello.o
ÓÃÄ¿±êÎļþÉú³Éhell ......
²Î¼û£ºhttp://www.ibm.com/developerworks/cn/linux/l-proc.html
ʹÓà /proc ÎļþϵͳÀ´·ÃÎÊ Linux Äں˵ÄÄÚÈÝ
Õâ¸öÐéÄâÎļþϵͳÔÚÄں˿ռäºÍÓû§¿Õ¼äÖ®¼ä´ò¿ªÁËÒ»¸öͨÐÅ´°¿Ú
ÎĵµÑ¡Ïî
<tr
valign="top"><td width="8"><img alt="" height="1" width="8& ......