LINUXÖжϻúÖÆÓëÐźÅ
ÔÚѧϰAPUEʱѧϰÐźűà³Ì£¬ºÜ¶àµØ·½²»ÊÇÀí½â£¬±ã²éÔÄÁËÍøÂçÉϵÄÏà¹Ø×ÊÁÏ£¬×î³£¼ûµÄÒ»¾ä»°¾ÍÊÇ“ÐźÅÊÇÖжϻúÖƵÄÒ»ÖÖÄ£Ä┣¬¼ÈÈ»Ìáµ½ÁËÖжϣ¬ÄǾÍÊ×ÏÈÁ˽âÁËÒ»ÏÂÖжϵľßÌå·ÖÀàÒÔ¼°ÊµÏÖ£¬×îºóÔÙÕÒ³öÖжϺÍÐźŵÄÇø±ð¡£
LINUXÖжϻúÖÆÓëÐźÅ
ÖжϺÍÒì³£
l
ÖÐ ¶Ï£¨Ò²³ÆÓ²¼þÖжϣ©
¶¨Òå
£ºÖжÏÊÇÓÉÆäËûÓ²¼þÉ豸ÒÀÕÕCPU
ʱÖÓÖÜÆÚÐźÅËæ»ú²úÉúµÄ¡£
·ÖÀà
£º ¿ÉÆÁ±ÎÖжÏ
·Ç¿ÉÆÁ±ÎÖжÏ
À´Ô´£º
¼ä¸ô¶¨Ê±Æ÷ºÍI/O
l
Òì ³££¨Ò²³ÆÈí¼þÖжϣ©
¶¨Òå
£ºµ±Ö¸ÁîÖ´ÐÐʱÓÉ
CPU¿ØÖƵ¥Ôª
²úÉúµÄ£¬Òì³£Ò²³ÆΪ“Òì²½ÖжϔÊÇÒòΪֻÓÐÔÚ Ò»ÌõÖ¸ÁîÖÕÖ¹Ö´ÐкóCPU
²Å»á·¢³öÖжϡ£
·ÖÀà
£º ´¦ÀíÆ÷̽²âµ½µÄÒì³£
²
¹ÊÕÏ
²
ÏÝÚå
²
Òì³£ÖÕÖ¹
±à³ÌÒì³£(
Ò²³ÆÈíÖжÏ
)
²
intÖ¸Áî
À´Ô´£º
³ÌÐòµÄ´íÎó²úÉúµÄ
Äں˱ØÐë´¦ÀíµÄÒì³£(
ÀýÈ磺ȱҳºÍÄں˷þÎñµÄÇëÇó
-int)
Òì³£´¦Àí
l
µ±·¢ÉúÒ쳣ʱ£¬CPU
¿ØÖƵ¥Ôª²úÉúÒ»¸öÓ²¼þ³ö´íÂë¡£
l
CPU¸ù¾Ý¸ÃÖжÏÂðÕÒµ½ÖжÏÏòÁ¿±íÄڵĶÔÓ¦ÏòÁ¿£¬¸ù¾Ý¸ÃÏòÁ¿×ªµ½Öжϴ¦Àí³ÌÐò¡£
l
Öжϴ¦Àí³ÌÐò´¦ÀíÍêÖ®ºóÏòµ±Ç°½ø³Ì·¢ËÍÒ»¸öSIG***
Ðźš£
l
Èô½ø³Ì¶¨ÒåÁËÏàÓ¦µÄÐźŴ¦Àí³ÌÐòÔòתÒƵ½ÏàÓ¦µÄ³ÌÐòÖ´ÐУ¬ÈôûÓУ¬ÔòÖ´ÐÐÄں˶¨ÒåµÄ²Ù×÷¡£
Öжϴ¦Àí
l
É豸²úÉúÖжÏ
l
PIC£¨¿É±à³ÌÖжϿØÖÆÆ÷£©»á²úÉúÒ»¸ö¶ÔÓ¦µÄÖжÏÏòÁ¿
l
ºÍÖжÏÏòÁ¿±íÖеÄÿһ¸öÖжÏÏòÁ¿½øÐбȽϣ¬×ªµ½¶ÔÓ¦µÄÖжϴ¦Àí³ÌÐò
l
Öжϴ¦Àí³ÌÐò½øÐб£´æÏÖ³¡£¬×öÏà¹Ø´¦Àí£¬»Ö¸´ÏÖ³¡
l
Äں˵÷¶È£¬·µ»ØÓû§½ø³Ì
Ó²¼þÖжϵÄÉϰ벿ºÍÏ°벿¼°ÊµÏÖ·½Ê½
l
Ó²¼þÖжϵķÖÀà
²
½ô¼±µÄ —— ÕâÀàÖжϱØÐëÁ¢¼´Ö´ÐÐ
²
·Ç½ô¼±µÄ —— Ò²±ØÐëÁ¢¼´Ö´ÐÐ
²
·Ç½ô¼±¿ÉÑÓ³ÙµÄ —— Éϰ벿Á¢¼´Ö´ÐУ¬Ï°벿ÑÓ³ÙÖ´ÐÐ
Ó²¼þÖжÏÈÎÎñ£¨´¦Àí³ÌÐò£©ÊÇÒ»¸ö¿ìËÙ¡¢Òì²½¡¢¼òµ¥µØ¶ÔÓ²¼þ×ö³öѸËÙÏìÓ¦²¢ÔÚ×î¶Ìʱ¼äÄÚÍê³É±ØÒª²Ù×÷µÄÖжϴ¦Àí³ÌÐò¡£Ó²Öжϴ¦Àí³ÌÐò¿ÉÒÔÇÀÕ¼ÄÚºËÈÎÎñ²¢ÇÒÖ´ ÐÐʱ»¹»áÆÁ±Îͬ¼¶ÖжϻòÆäËüÖжϣ¬Òò´ËÖжϴ¦Àí±ØÐëÒª¿ì¡¢²»ÄÜ×èÈû¡£ÕâÑùÒ»À´¶ÔÓÚһЩҪÇó´¦Àí¹ý³Ì±È½Ï¸´ÔÓµÄÈÎÎñ¾Í²»ºÏÊÊÔÚÖжÏÈÎÎñÖÐÒ»´Î´¦Àí¡£±ÈÈ磬Íø¿¨½ÓÊÕÊý¾ÝµÄ¹ý³ÌÖÐ,
Ê×ÏÈÍø¿¨·¢ËÍÖжÏÐźŸæË
Ïà¹ØÎĵµ£º
ÓÖÅöµ½ÓʼþÎÊÌ⣬ÔÚmagentoǰ̨ע²áÐÂÓû§£¬Ï¶©µ¥¶¼Ã»ÓÐÊÕµ½Óʼþ¡£µ«ÊÇÌáʾ¶¼ÊÇ˵Õý³£¡£
Ö±½ÓÔÚsshÖÐʹÓÃÏÂÁÐÃüÁî²âÊÔ£¬Á¬½Ó³¬Ê±£º
echo "Subject: test" | /usr/lib/sendmail -v xinhaozheng@gmail.com
Ìáʾ£º
WARNING: local host name (server) is not qualified; see cf/README: WHO AM I?
xinhaozheng ......
×÷ÕߣºÀîÇ¿,»ªÇåÔ¶¼ûǶÈëʽѧԺ½²Ê¦¡£
ÔÚLinuxÉ豸Çý¶¯ÖУ¬É豸ºÅÉèÒ»¸öºÜÖØÒªµÄ¸ÅÄîºÍ±äÁ¿¡£²»ÂÛÊÇÖ÷É豸ºÅ£¬»¹ÊÇ´ÎÉ豸ºÅ£¬ÔÚÉ豸Çý¶¯Öж¼Õ¼¾ÝÁ˺ÜÖØÒªµÄµØλ¡£ÄÇôËûÔÚKernelÖÐÊÇÈçºÎ²Ù×÷µÄ£¿Õâ¸öÊý¾Ý½á¹¹¶¼ÊÇͨ¹ýÄÇЩº¯Êý¿ÉÒÔºÜÈÝÒ×µÄÔÚÎÒÃÇдLinuxÉ豸Çý¶¯Ä£¿éʱ±»ÎÒÃÇËùʹÓÃÄØ£¿
ÔÚinclude/linux/type.hÎļþÖÐÎÒÃÇÄ ......
ÔÎÄ£ºhttp://www.webjx.com/htmldata/2007-10-05/1191585088.html
°´³£Àí²»¿ÉÒÔÍü¼ÇrootÓû§ÃÜÂëµÄ£¬µ«ÊÇÈç¹ûÕæµÄÍü¼ÇÁË£¬Ò²²»ÓóÕâ¸öÊÇÓа취½â¾öµÄ¡£
15Ãë»Ö¸´rootÃÜÂ룬µ±È»ÊÇûËãÉÏϵͳµÄÆô¶¯Ê±¼äÁË¡£ºÇºÇ¡£
ÏÂÃæÊÇÎÒ¸øroot»Ö¸´ÃÜÂëµÄʵÑé¹ý³Ì.£¨ÓõÄÊÇRHEL4£©¡£
ͼ1
¿ª»úµÄʱºò°´e £¬£¨Èçͼ£¬¾ÍÔÚÕâ¸öʱºò° ......
ssh connect to Linux
1,¼ì²éÍøÂçÁ¬½ÓÊÇ·ñÕý³£,¿´¿´ÄãµÄ»úÆ÷ÊÇ·ñ¿ªÁË22ºÅ¶Ë¿Ú,½ø³ÌÊÇ·ñÔËÐÐÕý³£..
2,¿ÉÒÔÔÚ±¾»úÉÏÓÃSSHÃüÁîµÇ½±¾»ú.
#ssh -l yourloginname xxx.xxx.xxx.xxx
ÆäÖÐyourloginnameΪÄã±¾»ú¿ÉÔ¶³ÌµÇ¼Óû§Ãû,xxx.xxx.xxx.xxxΪÄãµÄ»úÆ÷IP,
Èç¹ûµÇ¼Ìáʾ:
Are you sure you want to continue connecting ( ......