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

LinuxÏÂͨÓÃÏ̳߳صĴ´½¨ÓëʹÓÃ

Linux
ÏÂͨÓÃÏ̳߳صĴ´½¨ÓëʹÓÃ
±¾
Îĸø³öÁËÒ»¸öͨÓõÄÏ̳߳ؿò¼Ü£¬¸Ã¿ò¼Ü½«ÓëÏß³ÌÖ´ÐÐÏà¹ØµÄÈÎÎñ½øÐÐÁ˸߲ã´ÎµÄ³éÏó£¬Ê¹Ö®Óë¾ßÌåµÄÖ´ÐÐÈÎÎñÎ޹ء£ÁíÍâ¸ÃÏ̳߳ؾßÓж¯Ì¬ÉìËõÐÔ£¬ËüÄܸù¾ÝÖ´ÐÐ
ÈÎÎñµÄÇáÖØ×Ô¶¯µ÷ÕûÏ̳߳ØÖÐÏ̵߳ÄÊýÁ¿¡£ÎÄÕµÄ×îºó£¬ÎÒÃǸø³öÒ»¸ö¼òµ¥Ê¾Àý³ÌÐò£¬Í¨¹ý¸ÃʾÀý³ÌÐò£¬ÎÒÃǻᷢÏÖ£¬Í¨¹ý¸ÃÏ̳߳ؿò¼ÜÖ´ÐжàÏß³ÌÈÎÎñÊǶàôµÄ¼ò
µ¥¡£
 
ΪʲôÐèÒªÏ̳߳Ø
ĿǰµÄ´ó¶àÊýÍøÂç·þÎñÆ÷£¬°üÀ¨
Web
·þÎñÆ÷¡¢
Email
·þÎñÆ÷ÒÔ¼°Êý¾Ý¿â·þÎñÆ÷µÈ¶¼¾ßÓÐÒ»¸ö¹²Í¬µã£¬¾ÍÊǵ¥Î»Ê±¼äÄÚ±ØÐë´¦ÀíÊýÄ¿¾Þ´óµÄÁ¬½ÓÇëÇ󣬵«´¦Àíʱ¼äÈ´Ïà¶Ô½Ï¶Ì¡£
´«Í³¶àÏ̷߳½°¸ÖÐÎÒÃDzÉÓõķþÎñÆ÷Ä£ÐÍÔòÊÇÒ»µ©½ÓÊܵ½ÇëÇóÖ®ºó£¬¼´´´½¨Ò»¸öеÄỊ̈߳¬ÓɸÃÏß³ÌÖ´ÐÐÈÎÎñ¡£ÈÎÎñÖ´ÐÐÍê±Ïºó£¬Ïß³ÌÍ˳ö£¬Õâ¾ÍÊÇÊÇ

¼´Ê±´´½¨£¬¼´Ê±Ïú»Ù

µÄ²ßÂÔ¡£¾¡¹ÜÓë´´½¨½ø³ÌÏà±È£¬´´½¨Ï̵߳Äʱ¼äÒѾ­´ó´óµÄËõ¶Ì£¬µ«ÊÇÈç¹ûÌá½»¸øÏ̵߳ÄÈÎÎñÊÇÖ´ÐÐʱ¼ä½Ï¶Ì£¬¶øÇÒÖ´ÐдÎÊý¼«ÆäƵ·±£¬ÄÇô·þÎñÆ÷½«´¦ÓÚ²»Í£µÄ´´½¨Ị̈߳¬Ïú»ÙÏ̵߳Ä״̬¡£
ÎÒÃǽ«´«Í³·½°¸ÖеÄÏß³ÌÖ´Ðйý³Ì·ÖΪÈý¸ö¹ý³Ì£º
T1
¡¢
T2
¡¢
T3
¡£
T1
£ºÏ̴߳´½¨Ê±¼ä
T2
£ºÏß³ÌÖ´ÐÐʱ¼ä£¬°üÀ¨Ï̵߳Äͬ²½µÈʱ¼ä
T3
£ºÏß³ÌÏú»Ùʱ¼ä
ÄÇôÎÒÃÇ¿ÉÒÔ¿´³ö£¬Ï̱߳¾ÉíµÄ¿ªÏúËùÕ¼µÄ±ÈÀýΪ
(T1+T3) / (T1+T2+T3)
¡£Èç¹ûÏß³ÌÖ´ÐеÄʱ¼äºÜ¶ÌµÄ»°£¬Õâ±È¿ªÏú¿ÉÄÜÕ¼µ½
20%-50%
×óÓÒ¡£Èç¹ûÈÎÎñÖ´ÐÐʱ¼äºÜƵ·±µÄ»°£¬Õâ±Ê¿ªÏú½«ÊDz»¿ÉºöÂԵġ£
³ý´ËÖ®Í⣬Ï̳߳ØÄܹ»¼õÉÙ´´½¨µÄÏ̸߳öÊý¡£Í¨³£Ï̳߳ØËùÔÊÐíµÄ²¢·¢Ïß³ÌÊÇÓÐÉϽçµÄ£¬Èç¹ûͬʱÐèÒª²¢·¢µÄÏß³ÌÊý³¬¹ýÉϽ磬ÄÇôһ²¿·ÖÏ߳̽«»áµÈ´ý¡£¶ø´«Í³·½°¸ÖУ¬Èç¹ûͬʱÇëÇóÊýĿΪ
2000
£¬ÄÇô×Çé¿öÏ£¬ÏµÍ³¿ÉÄÜÐèÒª²úÉú
2000
¸öÏ̡߳£¾¡¹ÜÕâ²»ÊÇÒ»¸öºÜ´óµÄÊýÄ¿£¬µ«ÊÇÒ²Óв¿·Ö»úÆ÷¿ÉÄÜ´ï²»µ½ÕâÖÖÒªÇó¡£
Òò´ËÏ̳߳صijöÏÖÕýÊÇ×ÅÑÛÓÚ¼õÉÙÏ̳߳ر¾Éí´øÀ´µÄ¿ªÏú¡£Ï̳߳زÉÓÃÔ¤´´½¨µÄ¼¼Êõ£¬ÔÚÓ¦ÓóÌÐòÆô¶¯Ö®ºó£¬½«Á¢¼´
´´½¨Ò»¶¨ÊýÁ¿µÄÏß³Ì
(N1)
£¬
·ÅÈë¿ÕÏжÓÁÐÖС£ÕâЩÏ̶߳¼ÊÇ´¦ÓÚ×èÈû£¨
Suspended
£©×´Ì¬£¬²»ÏûºÄ
CPU
£¬µ«Õ¼ÓýÏСµÄÄÚ´æ¿Õ¼ä¡£µ±ÈÎÎñµ½À´ºó£¬»º³å³ØÑ¡ÔñÒ»¸ö¿ÕÏÐỊ̈߳¬°ÑÈÎÎñ´«Èë´ËÏß³ÌÖÐÔËÐС£µ±
N1
¸öÏ̶߳¼ÔÚ´¦ÀíÈÎÎñºó£¬»º³å³Ø×Ô¶¯´´½¨Ò»¶¨ÊýÁ¿µÄÐÂỊ̈߳¬ÓÃÓÚ´¦Àí¸ü¶àµÄÈÎÎñ¡£
ÔÚÈÎÎñÖ´ÐÐÍê±ÏºóÏß³ÌÒ²²»Í˳ö£¬¶øÊǼÌÐø±£³ÖÔÚ³ØÖеȴýÏÂÒ»´ÎµÄÈÎÎñ¡£
µ±ÏµÍ³±È½Ï¿ÕÏÐʱ£¬´ó²¿·ÖÏ̶߳¼Ò»Ö±´¦ÓÚÔÝͣ״̬£¬Ï̳߳Ø×Ô¶¯Ïú»ÙÒ»²¿


Ïà¹ØÎĵµ£º

Linux ÏÂ×Ô¶¯±¸·ÝMYSQLÊý¾Ý¿âµÄshell ½Å±¾

MySQL :: Linux ÏÂ×Ô¶¯±¸·ÝÊý¾Ý¿âµÄ shell ½Å±¾
Linux ·þÎñÆ÷ÉϵijÌÐòÿÌì¶¼ÔÚ¸üРMySQL Êý¾Ý¿â£¬ÓÚÊǾÍÏëÆðдһ¸ö shell ½Å±¾£¬½áºÏ crontab£¬¶¨Ê±±¸·ÝÊý¾Ý¿â¡£Æäʵ·Ç³£¼òµ¥£¬Ö÷Òª¾ÍÊÇʹÓà MySQL ×Ô´øµÄ mysqldump ÃüÁî¡£
½Å±¾ÄÚÈÝÈçÏ£º
#!/bin/sh
# File: /home/mysql/backup.sh
# Database info
DB_NAME=" ......

linux mysql ¿ª·¢»·¾³

°²×°mysql
sudo apt-get install mysql-servel-5.0 mysql-client-5.0
ÏÂÔØ°²×°¹ý³ÌÖУ¬»áÌáʾÊäÈërootÃÜÂë
°²×°CÓïÑÔ±à³Ì½Ó¿Ú£º
 sudo apt-get install libmysqlclient15-dev
¸ü¶àapi ²é¿´£ºhttp://dev.mysql.com/doc/refman/5.0/en/c.html
Ïà¹ØmysqlÍ·ÎļþºÍ¿âÎļþ°²×°ÔÚ/usr/include/mysql/ºÍ/usr/lib/mysqlÄ¿ ......

linuxÏÂmysqlµÄʹÓÃ


Æô¶¯mysql:  /etc/rc.d/init.d/mysql start
ÐÞ¸ÄÃÜÂë: ¸ñʽ£ºmysqladmin -uÓû§Ãû -p¾ÉÃÜÂë password ÐÂÃÜÂë
ʹÓÃÃÜÂëµÇ¼:  mysql -u root -p
ÏÔʾÊý¾Ý¿â:  show databases;
Ñ¡ÔñÊý¾Ý¿â:  use Êý¾Ý¿âÃû;
ÏÔʾ±í:  show tables;
ÏÔʾ±í½á¹¹:  descibe ±íÃû;
Ô¶³ÌµÇ¼mysqlÐèÒª¿ªÆôÈ ......

Linuxϵͳ¿ÉÐ¶ÔØÄÚºËÄ£¿éÍêȫָÄÏ_ÏÂ

µÚËIJ¿·Ö һЩ¸üºÃµÄÏë·¨
4.1 »÷°Üϵͳ¹ÜÀíÔ±µÄLKMµÄ·½·¨
ÕâÒ»²¿·Ö»á¸øÎÒÃǶԸ¶Ò»Ð©Ê¹ÓÃLKM±£»¤Äں˵ĶàÒÉ£¨ºÃµÄ£©µÄ¹ÜÀíÔ±µÄ·½·¨¡£ÔÚ½âÊÍÁËËùÓÐϵͳ¹ÜÀíÔ±Äܹ»Ê¹Óõķ½·¨Ö®ºó£¬ºÜÄÑΪÎÒÃÇ£¨hackers£©ÕÒµ½Ò»¸ö¸üºÃµÄ°ì·¨¡£ÎÒÃÇÐèÒªÀ뿪LKMÒ»»á¶ù£¬À´Ñ°ÕÒ»÷°ÜÕâЩÀ§Äѵı£»¤µÄ·½·¨¡£
¼Ù¶¨Ò»¸öϵͳ¿ÉÒÔ±»¹ÜÀíÔ±°²×°ÉÏÒ»¸öÊ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ