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

AIXºÍLinuxÏÂÈçºÎ²é¿´CPUºÍÄÚ´æÐÅÏ¢

AIXºÍLinuxÏÂÈçºÎ²é¿´CPUºÍÄÚ´æÐÅÏ¢
AIX²Ù×÷ϵͳ
AIXµÄÓ²¼þÐÅÏ¢¿ÉÒÔͨ¹ýprtconfÃüÁî¿´µ½¡£
1. ²é¿´Âß¼­CPU¸öÊý
#pmcycles -m
CPU 0 runs at 4204 MHz
CPU 1 runs at 4204 MHz
CPU 2 runs at 4204 MHz
CPU 3 runs at 4204 MHz
CPU 4 runs at 4204 MHz
CPU 5 runs at 4204 MHz
CPU 6 runs at 4204 MHz
CPU 7 runs at 4204 MHz
ÉÏÃæÃèÊöÓÐ8¸öCPU£¬CPUµÄÖ÷ƵΪ4.2GºÕ×È
 
2. ²é¿´ÎïÀíCPU¸öÊý
#prtconf|grep Processors
Number Of Processors: 4
 
3. È·¶¨CPUÊǼ¸ºË
ÓÃÂß¼­CPU³ýÒÔÎïÀíCPU¾ÍÊǺËÊý¡£
 
4. ²é¿´µ¥¸öCPUµÄÏêϸÐÅÏ¢
#lsattr -E -l proc0
frequency   4204000000     Processor Speed       False
smt_enabled true           Processor SMT enabled False
smt_threads 2              Processor SMT threads False
state       enable         Processor state       False
type        PowerPC_POWER6 Processor type        False
 
Linux²Ù×÷ϵͳ
LinuxϵÄCPUÐÅϢȫ²¿¶¼ÔÚ/proc/cpuinfoÕâ¸öÎļþÖУ¬¿ÉÒÔÖ±½Ó´ò¿ª¿´¡£
 
1. ²é¿´ÎïÀíCPUµÄ¸öÊý
#cat /proc/cpuinfo |grep "physical id"|sort |uniq|wc -l
 
2. ²é¿´Âß¼­CPUµÄ¸öÊý
#cat /proc/cpuinfo |grep "processor"|wc -l
 
3. ²é¿´CPUÊǼ¸ºË
#cat /proc/cpuinfo |grep "cores"|uniq
 
4. ²é¿´CPUµÄÖ÷Ƶ
#cat /proc/cpuinfo |grep MHz|uniq


Ïà¹ØÎĵµ£º

ʵսLinux Bluetooth±à³Ì(Áù) L2CAP±à³ÌʵÀý

ÀýÒ»£º·¢ËÍSignaling Packet£º
Signaling CommandÊÇ2¸öBluetoothʵÌåÖ®¼äµÄL2CAP²ãÃüÁî´«Êä¡£ËùÒÔµÃSignaling CommandʹÓÃCID 0x0001.
¶à¸öCommand¿ÉÒÔÔÚÒ»¸öC-frame£¨control frame£©Öз¢ËÍ¡£
 Èç¹ûÒªÖ±½Ó·¢ËÍSignaling Command.ÐèÒª½¨Á¢SOCK_RAWÀàÐ͵ÄL2CAPÁ¬½ÓSocket¡£ÕâÑù²ÅÓлú»á×Ô¼ºÌî³äCommand Code£¬Identi ......

ѧϰlinux vi ʹÓÃ

Ŀ¼
1¡¢¹ØÓÚÎı¾±à¼­Æ÷£»
2¡¢vi ±à¼­Æ÷£»
3¡¢vi ±à¼­Æ÷µÄʹÓ÷½·¨£»
3.1 ÈçºÎµ÷ÓÃvi £»
3.2 vi µÄÈýÖÖÃüÁîģʽ£»
3.3 ÎļþµÄ±£´æºÍÍ˳ö£»
3.4 ¹â±êÒƶ¯£»
3.5
²åÈëģʽ£¨Îı¾µÄ²åÈ룩£»
3.6 Îı¾ÄÚÈݵÄɾ³ý²Ù×÷£»
3.7 »Ö¸´Ð޸ļ°»Ö¸´É¾³ý²Ù×÷£»
3.8 ¿ÉÊÓģʽ£»
3.9
¸´ÖƺÍÕ³ÌûµÄ²Ù×÷£»
3.10 ¹ØÓÚÐкţ»
......

LinuxÄÚºËÖжÁдÎļþ


×î½üÔÚkernel ÀïÃæ coding,  ÕÒÀ´Ò»Ð©×ÊÁÏ Ë³ÊÖÌùÀ´£¬·½±ã²éÕÒ¡££¨¸Ðлԭ×÷ÕßµÄŬÁ¦£¬ÈôÓаæȨÎÊÌ⣬ÇëÁªÏµ£©
 
 
 
ÓÐʱºòÐèÒªÔÚLinux kernel£­£­´ó¶àÊÇÔÚÐèÒªµ÷ÊÔµÄÇý¶¯³ÌÐò£­£­ÖжÁдÎļþÊý¾Ý¡£ÔÚkernelÖвÙ×÷ÎļþûÓбê×¼¿â¿ÉÓã¬ÐèÒªÀûÓÃkernelµÄһЩº¯Êý£¬ÕâЩº¯ÊýÖ÷ÒªÓУº filp_open() fi ......

Linuxת°üÃüÁî

Linuxת°üÃüÁî
LinuxµÄ×¥°üÃüÁîtcpdump -i eth0 -Xs 10000 -vv port 22808 -I ±íʾ¼à²âµÄÉ豸ºÅ£¬-vv±íʾÏÔʾÏêϸÐÅÏ¢£¬ -s ±íʾÉèÖöÏÐУ¬ -c ±íʾ×î¶à½ØÈ¡°üÊý¡£-w±íʾ´æµ½ÎļþÖС£Èç×¥°ütcpdump tcp port 22808 –X –vv –c 100 –s 1500 –w tcp.log   ......

LinuxÆô¶¯¹ý³Ì£¨±Ê¼Ç£©

Ê×ÏÈ£º´ò¿ªPCµçԴʱ£¬CPU×Ô¶¯½øÈëʵģʽ£¬²¢´ÓµØÖ·0xFFFF0¿ªÊ¼Ö´ÐдúÂ룬Õâ¸öµØַͨ³£ÊÇROM-BIOSÖеĵØÖ·¡£ÕâʱBIOS½øÐпª»ú×Լ죬²¢°´BIOSÖÐÉèÖúõIJÎÊý½øÐÐÆô¶¯É豸£¬½Ó×ÅÆô¶¯É豸ÉÏ°²×°µÄÒýµ¼³ÌÐòlilo»ògrub¿ªÊ¼Òýµ¼LINUX£¨Ò²¾ÍÊÇÆô¶¯É豸µÄµÚÒ»¸öÉÈÇø£©£¬Õâʱ£¬Linux²Å»ñµÃÆô¶¯È¨¡£
      µ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ