LinuxÖ÷ÒªÐÔÄÜÖ¸±ê¼à¿Ø
1.CPU&½ø³Ì
1.1 topÃüÁî
top - 20:07:00 up 186 days, 3:47, 3 users, load average: 0.01, 0.02, 0.00
Tasks: 82 total, 1 running, 80 sleeping, 1 stopped, 0 zombie
Cpu(s): 3.7% us, 0.0% sy, 0.0% ni, 96.3% id, 0.0% wa, 0.0% hi, 0.0% si
µÚ1ÐÐ load average
ϵͳ¸ºÔØ£¬¼´ÈÎÎñ¶ÓÁеÄƽ¾ù³¤¶È¡£Èý¸öÊýÖµ·Ö±ðΪ 1·ÖÖÓ¡¢5·ÖÖÓ¡¢15·ÖÖÓÇ°µ½ÏÖÔÚµÄƽ¾ùÖµ¡£
µÚ2ÐÐ ½ø³ÌÇé¿ö
Tasks: 29 total ½ø³Ì×ÜÊý
1 running ÕýÔÚÔËÐеĽø³ÌÊý
28 sleeping ˯ÃߵĽø³ÌÊý
0 stopped Í£Ö¹µÄ½ø³ÌÊý
0 zombie ½©Ê¬½ø³ÌÊý
µÚ3ÐÐ cpuÀûÓÃÇé¿ö
¶à¿ÅcpuµÄϵͳ°´"1"²é¿´Ã¿¿ÅcpuÀûÓÃÂÊ
Cpu(s):
us Óû§¿Õ¼äÕ¼ÓÃCPU°Ù·Ö±È
sy Äں˿ռäÕ¼ÓÃCPU°Ù·Ö±È
ni Óû§½ø³Ì¿Õ¼äÄڸıä¹ýÓÅÏȼ¶µÄ½ø³ÌÕ¼ÓÃCPU°Ù·Ö±È
id ¿ÕÏÐCPU°Ù·Ö±È
wa µÈ´ýÊäÈëÊä³öµÄCPUʱ¼ä°Ù·Ö±È
hi Ó²¼þÖжÏ
si Èí¼þÖжÏ
ºóÃæÁ½¸ö²ÎÊýÎÒûÓÐÉîÈëÁ˽â¹ý£¬Ò²²»ÊǺÜÃ÷°×.
¹ØÓÚtopÃüÁîµÄÏêϸÇé¿ö£¬Çë²éÔÄtopÃüÁîÏê½âÎÄÕÂ
2.Memory
2.1 top ÃüÁî
Mem: 4149144k total, 3832668k used, 316476k free, 277592k buffers
Swap: 2096440k total, 144k used, 2096296k free, 2397028k cached
Mem:ÄÚ´æÀûÓÃÂÊ
total ÎïÀíÄÚ´æ×ÜÁ¿
used ʹÓõÄÎïÀíÄÚ´æ×ÜÁ¿
free ¿ÕÏÐÄÚ´æ×ÜÁ¿
buffers ÓÃ×÷Äں˻º´æµÄÄÚ´æÁ¿
Swap:ÄÚ´æ½»»»ÇøÀûÓÃÂÊSwap
total ½»»»Çø×ÜÁ¿
used ʹÓõĽ»»»Çø×ÜÁ¿
free ¿ÕÏн»»»Çø×ÜÁ¿
cached »º³åµÄ½»»»Çø×ÜÁ¿¡£ÄÚ´æÖеÄÄÚÈݱ»»»³öµ½½»»»Çø£¬¶øºóÓÖ±»»»Èëµ½Äڴ棬µ«Ê¹ÓùýµÄ½»»»ÇøÉÐδ±»¸²¸Ç£¬
¸ÃÊýÖµ¼´ÎªÕâЩÄÚÈÝÒÑ´æÔÚÓÚÄÚ´æÖеĽ»»»ÇøµÄ´óС¡£ÏàÓ¦µÄÄÚ´æÔٴα»»»³öʱ¿É²»±ØÔÙ¶Ô½»»»ÇøдÈë¡£
2.2 free
free -m ÄÚ´æÐÅÏ¢°´ÕÕMµ¥Î»ÏÔʾ
total used free shared buffers cached
Mem: &nb
Ïà¹ØÎĵµ£º
1. HCI²ãÐÒé¸ÅÊö£º
HCIÌṩһÌ×ͳһµÄ·½·¨À´·ÃÎÊBluetoothµ×²ã¡£ÈçͼËùʾ£º
´ÓͼÉÏ¿ÉÒÔ¿´³ö£¬Host Controller Interface(HCI) ¾ÍÊÇÓÃÀ´¹µÍ¨HostºÍModule¡£Hostͨ³£¾ÍÊÇPC£¬ ModuleÔòÊÇÒÔ¸÷ÖÖÎïÀíÁ¬½ÓÐÎʽ£¨USB,serial,pc-cardµÈ£©Á¬½Óµ½PCÉϵÄbluetooth Dongle¡£
ÔÚHostÕâÒ»¶Ë£ºapplication,SDP,L2capµÈÐÒé ......
Ò»£ºÇ°ÑÔ
×î½üÔÚÑо¿androidµÄsensor driver£¬Ö÷ÒªÊÇE-compass£¬ÆäÖÐÓõ½ÁËLinux input×Óϵͳ.ÔÚÍøÉÏÒ²¿´Á˺ܶàÕâ·½ÃæµÄ×ÊÁÏ£¬¸Ð¾õ»¹ÊÇÕâƪ·ÖÎöµÄ±È½ÏϸÖÂ͸³¹£¬Òò´ËתÔØÒ»ÏÂÒÔ±ã×Ô¼ºÑ§Ï°£¬Í¬Ê±ºÍ´ó¼Ò·ÖÏí£¡
£¨Õâƪ²©¿ÍÖ÷ÒªÊÇÒÔ¼üÅÌÇý¶¯ÎªÀýµÄ£¬²»¹ý½²½âµÄÊÇLinux Input Subsystem£¬¿ÉÒÔ×ÐϸµÄÑо¿Ò»Ï£¡£©
¼üÅÌÇý¶¯½«¼ì ......
×î½üÔÚÓÃC++±àдһ¸öRTSPµÄ¿Í»§¶Ë£¬ÓÉÓÚÒªÓõ½Ị̈߳¬¸ù¾ÝC±à³ÌµÄ¾Ñ飬дÁËÈçÏ´úÂ룺
class LiRtspSession
{
public:
void* MainThreadFunc(void* pvData);
void* AudioProcThreadFunc(void* pvData);
& ......
LinuxÏÂCVS·þÎñÆ÷µÄ°²×°ÓëÅäÖÃ
1¡¢CVS·þÎñÆ÷µÄ°²×°
¡¡¡¡CVS·þÎñÆ÷°æ¿ÉÒÔ´ÓÍøÉϵĺܶàµØ·½ÏÂÔص½£¬Ò²¿ÉÒÔµ½CVSµÄ¹Ù·½ÍøÕ¾½øÐÐÏÂÔØ¡£¸ù¾ÝÄãËùʹÓõÄϵͳ£¬ÏÂÔØÏàÓ¦µÄ°æ±¾£¬È»ºó½øÐа²×°¡£ÒòΪµ±Ç°´ó²¿·ÖÈËÊÇÔÚLinuxÏÂʹÓÃCVS·þÎñÆ÷½øÐа汾¹ÜÀí£¬²¢ÇÒRedhat LinuxÊÇÄ¿Ç°×îÁ÷ÐеÄÒ»¸öLinux·¢ÐаæÖ®Ò»£¬ËùÒÔ±¾ÎĽ«Ö÷Òª»ùÓÚRe ......
ÐźÅÊÇLinux±à³ÌÖзdz£ÖØÒªµÄ²¿·Ö£¬±¾ÎĽ«Ïêϸ½éÉÜÐźŻúÖƵĻù±¾¸ÅÄî¡¢Linux¶ÔÐźŻúÖƵĴóÖÂʵÏÖ·½·¨¡¢ÈçºÎʹÓÃÐźţ¬ÒÔ¼°ÓйØÐźŵļ¸¸öϵͳµ÷Óá£
ÐźŻúÖÆÊǽø³ÌÖ®¼äÏ໥´«µÝÏûÏ¢µÄÒ»ÖÖ·½·¨£¬ÐźÅÈ«³ÆΪÈíÖжÏÐźţ¬Ò²ÓÐÈ˳Æ×÷ÈíÖжϡ£´ÓËüµÄÃüÃû¿ÉÒÔ¿´³ö£¬ËüµÄʵÖʺÍʹÓúÜÏóÖжϡ£ËùÒÔ£¬ÐźſÉÒÔ˵Êǽø³Ì¿ØÖƵÄÒ ......