Linux ÊÍ·ÅÄÚ´æ·½·¨
Linux ÊÍ·ÅÄÚ´æ·½·¨
ÏÈ¿´¿´ÄÚ´æʹÓÃ×´¿ö
[root@node1 ~]# free -m
total used free shared buffers cached
Mem: 8004 6557 1446 0 163 5630
-/+ buffers/cache: 763 7240
Swap: 1983 0 1983
°ÑÄÚ´æÀïµÄÊý¾ÝÔÝʱдµ½Ó²ÅÌÀï
[root@node1 ~]# sync
ÐÞ¸Ä /proc/sys/vm/drop_cachesÎļþ
[root@node1 ~]# echo 3 > /proc/sys/vm/drop_caches
[root@node1 ~]# cat /proc/sys/vm/drop_caches
ÔÙ¿´ÄÚ´æ
[root@node1 ~]# free -m
total used free shared buffers cached
Mem: 8004 631 7372 0 0 60
-/+ buffers/cache: 570 7433
Swap: 1983 0 1983
Ïà¹ØÎĵµ£º
1. HCI²ãÐÒé¸ÅÊö£º
HCIÌṩһÌ×ͳһµÄ·½·¨À´·ÃÎÊBluetoothµ×²ã¡£ÈçͼËùʾ£º
´ÓͼÉÏ¿ÉÒÔ¿´³ö£¬Host Controller Interface(HCI) ¾ÍÊÇÓÃÀ´¹µÍ¨HostºÍModule¡£Hostͨ³£¾ÍÊÇPC£¬ ModuleÔòÊÇÒÔ¸÷ÖÖÎïÀíÁ¬½ÓÐÎʽ£¨USB,serial,pc-cardµÈ£©Á¬½Óµ½PCÉϵÄbluetooth Dongle¡£
ÔÚHostÕâÒ»¶Ë£ºapplication,SDP,L2capµÈÐÒé ......
À´Ô´linux-2.6.20.21/Documentation/kbuild/makefiles.txt
* obj-y
+= foo.o ±íʾ±àbuild-in£¬obj-m += foo.o±íʾ±à³Émodule.
* kbuild
»á±àÒëËùÓеÄ$(obj-y)Îļþ£¬È»ºóµ÷ÓÃ$(LD) -r°ÑÕâЩÎļþºÏ²¢µ½Ò»¸öbuilt-in.oÎļþÖС£Õâ¸öbuilt-in.oÉÔºó»á±»¸¸¼¶Makefile linkµ½vmlinux
* ÓÃlib-y
:= checksum.o ......
linuxµÄÎļþ°²×°Â·¾¶
2006Äê07ÔÂ15ÈÕ ÐÇÆÚÁù ÉÏÎç 11:09
Èç¹ûÊDZðÈË·¢²¼µÄ¶þ½øÖÆ°ü£¬¿ÉÖ´ÐÐÎļþͨ³£¶¼°²×°µ½ /usr/bin ÏÂÃ棻Èç¹ûÊÇ×Ô¼º´ÓÔ´´úÂë°²×°µÄ£¬¿ÉÖ´ÐÐÎļþͨ³£¶¼ÔÚ /usr/local/bin ÏÂÃ棬³ý·ÇÅäÖÃʱָ¶¨ÁË°²×°Î»Öá£
ÀýÈ磺
rpm -ivh xxx1.rpm
¿ÉÖ´ÐÐÎļþͨ³£¶¼°²×°µ½ /usr/bin ÏÂÃæ
./configure (»òÕß ......
»Æ Ïþ³¿
(huangxc@cn.ibm.com
), Èí¼þ¹¤³Ìʦ, IBM
·ë Èñ
(fengrui@cn.ibm.com
), Èí¼þ¹¤³Ìʦ, IBM
2008 Äê 7 ÔÂ 03 ÈÕ
±¾ÎĵÄÄ¿µÄÊÇÏë°ïÖú¶ÁÕßÀíÇå Linux 2.6ÖÐÎļþËøµÄ¸ÅÄîÒÔ¼°
Linux 2.6
¶¼ÌṩÁ˺ÎÖÖÊý¾Ý½á¹¹ÒÔ¼°¹Ø¼üµÄϵͳµ÷ÓÃÀ´ÊµÏÖÎļþËø£¬´Ó¶ø¿ÉÒÔ°ïÖú¶ÁÕ߸üºÃµØʹÓÃÎļþËøÀ´½â¾ö¶à¸ö½ø³Ì¶ÁÈ¡Í ......
Linux Æô¶¯Ë³Ðò£º
1¡¢ BIOS×Ô¼ì
2¡¢ ÔËÐÐϵͳÄں˲¢¼ì²âÓ²¼þ
3¡¢ ÔËÐÐϵͳµÄµÚÒ»¸ö½ø³Ìinit
4¡¢ init¶ÁȡϵͳÒýµ¼ÅäÖÃÎļþ/etc/inittabÖеÄÐÅÏ¢½øÐгõʼ»¯
/etc/rc.d/rc.sysinit------ϵͳ³õʼ»¯½Å±¾
  ......