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

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]


Ïà¹ØÎĵµ£º

Linux iptableÎĵµ

×ÜÀÀ
ÓÃ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 ......

LINUX²Ù×÷ϵͳÔõôѧ£¿

Õâ¾Í¿ìÒ»ÄêÁË£¬Àϰå˵ÎÒ»¹Ã»ÈëÃÅ¡£ÓÐÕâ·½ÃæµÄ´óÏÀÃǸøÎÒ˵˵£¬ÎÒ¾¹¸ÃÔõôÌáÉý×Ô¼º£¿£¡
ÏÖÔÚÎÒµÄÄÔ´üÀïһƬ½¬ºý£¬Ò²²»ÖªµÀ×Ô¼ºÑ§ÁËʲô¡£¡£¡£
´Ó2009µÄʮһÔ·ݿªÊ¼Ñ§Ï°LINUX²Ù×÷ϵͳ£¬ÏÈÊÇ¿´Á˼¸±¾Ê飺ÕÅÁáµÄ<<Linux²Ù×÷ϵͳԭÀíÓëÓ¦ÓÃ>>¡¢ÁõíµµÄ<<ǶÈëʽϵͳ½Ó¿ÚÉè¼ÆÓëLinuxÇý¶¯³ÌÐò¿ª·¢>>£¬»¹Â ......

linux ÈçºÎ½øÈëͼÐνçÃæ

1.×ÔÆô¶¯£º
ÔÚ/etc/inittabÎļþÖÐÉèÖãº
#   Default   runlevel.   (Do   not   set   to   0   or   6)
id:5:initdefault:
2.×Ö·ûÖÕ¶ËģʽÏÂÆô¶¯x-windows:
startx ......

linux Æô¶¯¼¶±ð

ÒÔÏÂÊÇÅäÖÃÒýµ¼½øÈëͼÐÎģʽµÄ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 ......

Linux Ïß³Ìͬ²½ Ìõ¼þ±äÁ¿

1. Ïà¹Øº¯Êý                                                & ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØÍ¼ | ¸ÓICP±¸09004571ºÅ