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

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


Ïà¹ØÎĵµ£º

ʵսLinux Bluetooth±à³Ì£¨ËÄ£© L2CAP²ã±à³Ì

£¨L2CAPЭÒé¼ò½é£¬L2CAPÔÚBlueZÖеÄʵÏÖÒÔ¼°L2CAP±à³Ì½Ó¿Ú£©
Ò»£ºL2CAPЭÒé¼ò½é£º
Logical Link Control and Adaptation Protocol(L2CAP)
Âß¼­Á¬½Ó¿ØÖƺÍÊÊÅäЭÒé (L2CAP) ΪÉϲãЭÒéÌṩÃæÏòÁ¬½ÓºÍÎÞÁ¬½ÓµÄÊý¾Ý·þÎñ£¬²¢Ìṩ¶àЭÒ鹦ÄܺͷָîÖØ×é²Ù×÷¡£L2CAP ³äÐíÉϲãЭÒéºÍÓ¦ÓÃÈí¼þ´«ÊäºÍ½ÓÊÕ×î´ó³¤¶ÈΪ 64K µÄ L2CAP Ê ......

Linux ϵͳÏÂÈçºÎ·ÖÇø²Å×îºÏÀí

Linux ϵͳÏÂÈçºÎ·ÖÇø²Å×îºÏÀí
ÒÔÏÂÕª×Ô¡¶Gentoo Linux x86Êֲᡷ
http://www.gentoo.org/doc/zh_cn/handbook/handbook-x86.xml
·ÖÇøµÄÊýÄ¿Ö÷Òª¸ù¾ÝÄãµÄϵͳ»·¾³À´¾ö¶¨¡£
ÀýÈ磬Èç¹ûÄãÓкܶàÓû§£¬Äã¿ÉÄܸüÏ£Íû°ÑÄãµÄ/homeĿ¼¶ÀÁ¢³öÀ´£¬ÒòΪÕâÑù×ö¿ÉÒÔÔö¼Ó°²È«ÐÔ£¬±¸·ÝÆðÀ´Ò²¸üÈÝÒס£Èç¹ûÄã°²×°GentooÓÃÀ´×öÓʼþ·þÎñÆ÷ ......

Linux ½Å±¾±àд»ù´¡(Èý)

3) Á÷³Ì¿ØÖÆ
1.if
"if" ±í´ïʽ Èç¹ûÌõ¼þΪÕæÔòÖ´ÐÐthenºóÃæµÄ²¿·Ö£º
if ....; then
....
elif ....; then
....
else
....
fi
´ó¶àÊýÇé¿öÏ£¬¿ÉÒÔʹÓòâÊÔÃüÁîÀ´¶ÔÌõ¼þ½øÐвâÊÔ¡£±ÈÈç¿ÉÒԱȽÏ×Ö·û´®¡¢ÅжÏÎļþÊÇ·ñ´æÔÚ¼°ÊÇ·ñ¿É¶ÁµÈµÈ…
ͨ³£ÓÃ" [ ] "À´±íʾÌõ¼þ²âÊÔ¡£×¢ÒâÕâÀïµÄ¿Õ¸ñºÜÖØÒª¡£ÒªÈ·±£· ......

linuxÐźŻúÖÆsignal


ÐźÅÊÇLinux±à³ÌÖзdz£ÖØÒªµÄ²¿·Ö£¬±¾ÎĽ«Ïêϸ½éÉÜÐźŻúÖƵĻù±¾¸ÅÄî¡¢Linux¶ÔÐźŻúÖƵĴóÖÂʵÏÖ·½·¨¡¢ÈçºÎʹÓÃÐźţ¬ÒÔ¼°ÓйØÐźŵļ¸¸öϵͳµ÷Óá£
ÐźŻúÖÆÊǽø³ÌÖ®¼äÏ໥´«µÝÏûÏ¢µÄÒ»ÖÖ·½·¨£¬ÐźÅÈ«³ÆΪÈíÖжÏÐźţ¬Ò²ÓÐÈ˳Æ×÷ÈíÖжϡ£´ÓËüµÄÃüÃû¿ÉÒÔ¿´³ö£¬ËüµÄʵÖʺÍʹÓúÜÏóÖжϡ£ËùÒÔ£¬ÐźſÉÒÔ˵Êǽø³Ì¿ØÖƵÄÒ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ