LinuxÐÔÄÜ¼à¿Ø¹¤¾ßµÄ½éÉÜÎÄÕÂ
»ùÓÚ½ø³ÌµÄÃüÁʽ²é¿´:
`ps -o pcpu,pmem,nlwp -p $PID`
#(pmem = % mem usage and nlwp is number of threads)
ÆäÖÐpcpu¶¨ÒåÊÇ:cpu utilization of the process in “##.#” format. It is the CPU time used divided by the time the process has been running (cputime/realtime ratio), expressed as a percentage. pcpu gives me the % CPU utilization for the process for the lifetime of the process.
Çø±ðÓÚʵʱ¼ì²âµÄtopÃüÁî(CPU utilization of the process since the last update)
ÏÂÃæÊÇÕÒµ½µÄһЩ²Î¿¼ÎÄÕÂ:
Performance Monitoring Tools for Linux£Û½âÊͺÜÇåÎúµÄһƪÎÄÕ£Ý
/proc/stat explained
vmstatÃüÁî
Performance Management Guide [AIX,½²½â¸÷ÖÖ¹¤¾ß]
ÏÂÃæÊÇһЩºÜºÃÓõŤ¾ß:
dstat £ÛÇ¿´óÒ×ÓÚÀ©Õ¹£¬»ùÓÚPython£Ý
Collectl [HP³öÆ·£¬»ùÓÚPerl]
Ïà¹ØÎĵµ£º
×ÜÀÀ
ÓÃiptables -ADC À´Ö¸¶¨Á´µÄ¹æ
Ôò
£¬-AÌí¼Ó -Dɾ³ý -C ÐÞ¸Ä
iptables - [RI] chain rule num rule-specification[option]
ÓÃiptables - RI ͨ¹ý¹æÔòµÄ˳ÐòÖ¸¶¨
iptables -D chain rule num[option]
ɾ³ýÖ¸¶¨¹æÔò
iptables -[LFZ] [chain][option]
ÓÃiptables -LFZ Á´Ãû [Ñ¡Ïî]
iptables -[NX] chain
ÓÃ -NX ......
3.2.1 Linux ÄÚ´æ°ó¶¨ÔÚ¾Ö²¿´æ´¢Æ÷µÄʵÏÖ×ÜÌå²½Öè
×ÜÌå²½Ö裺
l ²ÉÓ÷½°¸Èý£¬ÔÚÔÚÔÀ´·ÖÎöµÄ»ù´¡ÉÏ£¬ÒÔ¼°ÒÑÖªLinuxϵͳÄÚ´æµÄ³õʼ»¯µÄÇé¿ö£¬¶ÔÄں˴úÂë½øÐÐÐ޸ģ¬Ö÷Òª°üÀ¨È·¶¨ÐÂÇøµÄ·¶Î§£¬½¨Á¢ÐÂÇø£¬ÖØÐ¶ԷÖÅäÄÚ´æµÄ·ÖÅä»úÖÆ½øÐÐÉèÖá£
l &n ......
vmware tool°²×°²½Öè
1¡¢±£Ö¤Òª°²×°VMWare ToolsµÄÐéÄâ²Ù×÷ϵͳ¿ªÆô¡£
2¡¢°´Ï CTRL+ALT×éºÏ¼ü£¬½øÈëÖ÷²Ù×÷ϵͳ£¬µã»÷VMWARE״̬À¸[b][font=ËÎÌå]°²×°[/font][/b]Ìáʾ£¬»òÕßµã»÷ VMÑ¡ÔñInstall vmware tools….
3¡¢È·Èϰ²×°VMWARE TOOLS¡£ £¨VMWareToolsÊÇÔÚÐéÄâµÄ²Ù×÷ϵͳÖа²×°£¬²»ÊÇÔÚÎïÀí»úÉϰ ......
ÒÔÏÂÊÇÅäÖÃÒýµ¼½øÈëͼÐÎģʽµÄetc/inittabÎļþµÄ²¿·ÖÄÚÈÝ£º
#Default runlevel.The runlevels used by RHS are:
# 0-halt(Do NOT set initdefault to this)
# 1 -Single user mode
# 2-Multiuser,without NFS(The same as 3,if you do not have networking)
# 3-Full multiuser mode
# 4-unu ......
1. Ïà¹Øº¯Êý & ......