ÉîÈë̽ÌÖLinux ttyload¹¤¾ßµÄ²Ù×÷Ö¸ÄÏ
Linux ttyload¹¤¾ßµÄʹÓÃÒªÁìÏê½â
LinuxϵͳÖÐÓÐÐí¶àÊÊÓù¤¾ß¿ÉÒÔ×ÊÖúÓû§¼à¿ØϵͳÐÔÄܺÍ×ÊԴʹÓÃÇéÐΡ£ÆäÖÐÒ»¸ö±»ÆÕ±éʹÓõŤ¾ß¾ÍÊÇttyload£¬Ëü¿ÉÒÔʵʱµØÏÔʾϵͳµÄ¸ºÔØÇéÐΣ¬×ÊÖúÓû§ÏàʶĿ½ñϵͳµÄ¸ºÔØÇéÐÎÒÔ¼°ÏµÍ³×ÊÔ´µÄʹÓÃÇéÐΡ£±¾ÎĽ«ÏêϸÏÈÈÝttyload¹¤¾ßµÄʹÓÃÒªÁ죬°üÀ¨×°Öᢻù±¾ÏÂÁîºÍ³£¼ûÓ÷¨£¬²¢ÌṩÏêϸµÄ´úÂëʾÀý¡£
Ò»¡¢×°ÖÃttyload¹¤¾ß
ÔÚ´ó´ó¶¼Linux¿¯ÐаæÖУ¬ttyload¹¤¾ß¶¼¿ÉÒÔͨ¹ý°ü¹ÜÀíÆ÷¾ÙÐÐ×°Öá£ÏÂÃæÒÔUbuntuΪÀý£¬ÏÈÈÝ×°ÖÃttyloadµÄÒªÁ죺
sudo apt-get update sudo apt-get install ttyload
µÇ¼ºó¸´ÖÆ
×°ÖÃÍê³Éºó£¬¼´¿ÉʹÓÃttyload¹¤¾ß¡£
¶þ¡¢»ù±¾ÏÂÁîºÍÓ÷¨
ÔÚÖÕ¶ËÖÐÊäÈëÒÔÏÂÏÂÁîÆô¶¯ttyload£º
ttyload
µÇ¼ºó¸´ÖÆ
ttyloadĬÈÏÇéÐÎÏ»áÒÔͼÐλ¯µÄ·½·¨Õ¹Ê¾ÏµÍ³µÄ¸ºÔØÇéÐΣ¬°üÀ¨1·ÖÖÓ¡¢5·ÖÖÓºÍ15·ÖÖÓµÄƽ¾ù¸ºÔØ¡£Óû§¿ÉÒÔͨ¹ý¼üÅÌÉϵÄÆ«Ïò¼ü¿ØÖÆÏÔʾЧ¹û¡£
ÈôÒªÍ˳öttyload£¬¿ÉÒÔʹÓÿì½Ý¼ü”Ctrl + C”¡£
Èý¡¢³£¼ûÓ÷¨Ê¾Àý
ÏÔʾÏêϸµÄϵͳ¸ºÔØÐÅÏ¢£ºÊ¹Óá°-a¡±²ÎÊý¿ÉÒÔÏÔʾԽ·¢ÏêϸµÄϵͳ¸ºÔØÐÅÏ¢¡£
ttyload -a
µÇ¼ºó¸´ÖÆ
ÏÔʾÌØ׼ʱ¼ä¾àÀëµÄƽ¾ù¸ºÔØ£ºÊ¹Óá°-i¡±²ÎÊý¿ÉÒÔÖ¸¶¨ÏÔʾÌØ׼ʱ¼ä¾àÀëµÄƽ¾ù¸ºÔØÇéÐΣ¬µ¥Î»ÎªÃë¡£
ttyload -i 10
µÇ¼ºó¸´ÖÆ
½«ttyloadÊä³öÉúÑÄÖÁÎļþ£ºÊ¹ÓÃÖض¨Ïò·ûºÅ”>”¿ÉÒÔ½«ttyloadµÄÊä³öÉúÑÄÖÁÎļþÖУ¬Àû±ãºóÐøÆÊÎö¡£
ttyload -a > load_info.txt
µÇ¼ºó¸´ÖÆ
ͨ¹ýÒÔÉÏÏÈÈÝ£¬ÄãÒѾÏàʶÁËttyload¹¤¾ßµÄ×°Öᢻù±¾ÏÂÁîºÍ³£¼ûÓ÷¨¡£Ï£Íû±¾ÎĶÔÄãÔÚLinuxϵͳÖмà¿Øϵͳ¸ºÔØÇéÐÎÓÐËù×ÊÖú¡£ÈôÊÇÏë¸üÉîÈëÏàʶttyload¹¤¾ß£¬¿ÉÒÔ²éÔÄÆä¹Ù·½Îĵµ»òÕßͨ¹ýmanÏÂÁîÉó²éÆäÓ÷¨¡£×£Ê¹ÓÃÓä¿ì£¡
ÒÔÉϾÍÊÇÉîÈë̽ÌÖLinux ttyload¹¤¾ßµÄ²Ù×÷Ö¸ÄϵÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡