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

LinuxϵͳÏÂOracle¼à¿Ø¹¤¾ß

1£®top
topÃüÁî¿ÉʵʱµØÏÔʾLinuxϵͳµÄ½ø³Ì¡¢CPU¡¢ÄÚ´æ¡¢¸ºÔصȵÄÐÅÏ¢¡£ËüÊÇÎÒÃÇÁ˽âϵͳÕûÌå״̬×îºÃµÄ¹¤¾ß¡£
topÃüÁîµÄÔËÐÐ״̬ÊÇÒ»¸öʵʱµÄÏÔʾ¹ý³Ì£¬ÎÒÃÇ¿ÉÔÚÕâ¸ö½çÃæ¼à¿ØϵͳÔËÐÐÇé¿ö¡£ÎÒÃÇ¿Éͨ¹ý¼¸¸ö°´¼üÀ´¿ØÖÆtopÃüÁÈç°´q¿ÉÍ˳ötopÃüÁî״̬£¬°´s¿ÉÊäÈëÐÅÏ¢µÄ¸üÐÂƵÂʵȡ£ÕâЩÃüÁî¿É°´h°ïÖú¼ü²éѯ¡£
2£®Ps
psÃüÁî¿É²éѯϵͳµÄ½ø³Ì״̬£¬³£ÓõÄÃüÁî²ÎÊýÊÇps -aux£¬¸ÃÃüÁî¿ÉÏÔʾËùÓÐÓû§µÄ½ø³Ì£¬Èç¹û½ø³ÌµÄÃüÁîÌ«³¤£¬ÔòÏÔʾµÄ½ø³ÌÐÅÏ¢»á²»È«¡£ÎÒÃÇ¿ÉÓÃps -auxwÃüÁîÀ´¼Ó³¤ÏÔʾ£¬w²ÎÊý¿É¶à¼Ó¼¸¸ö£¬×î¶à¿É¼ÓÈý¸ö£¬ÒÔÏÔʾ¸ü³¤µÄ½ø³ÌÐÅÏ¢¡£
3£®Kill
killÃüÁî¿ÉÖÕÖ¹½ø³Ì£¬ºó½Ó½ø³ÌºÅ¼´¿É¡£
4£®Free
free¿ÉÏÔʾϵͳµÄÄÚ´æʹÓÃÇé¿ö¡£-b¡¢-k¡¢-mÈý¸ö²ÎÊý±íʾÒÔbytes£¬kilobytesºÍmegabytesΪµ¥Î»ÏÔʾÄÚ´æµÄʹÓÃÇé¿ö¡£
5£®Vmstat
ʹÓÃvmstat 2 ÃüÁî¿Éÿ¸ô2ÃëÏÔʾһÐÐϵͳÐÅÏ¢£¬ÕâЩÐÅÏ¢°üÀ¨CPUÕ¼ÓÃЧ¡¢ÄÚ´æʹÓÃÇé¿öºÍ´ÅÅÌIOµÈ¡£Í¨¹ýËüÎÒÃÇ¿Éʵʱ¼à¿ØϵͳµÄ×ÊԴʹÓÃÇé¿ö£¬½øÐÐϵͳÓÅ»¯¡£
6£®sar
sar¹¤¾ß¿É°ïÎÒÃÇÊÕ¼¯¶¯Ì¬µÄϵͳÐÅÏ¢£¬ËüµÄ²ÎÊýºÜ·á¸»£¬¹¦ÄÜÇ¿´ó¡£sar¹¤¾ßµÄÌصãÊÇ¿Éͨ¹ý¼ÆÊýÆ÷ºÍ¼ÆÊý¼ä¸ôÀ´¶¨ÆÚ¡¢¶¨Á¿µØÊä³öϵͳ״̬ÐÅÏ¢¡£
7£®watch
watchÃüÁî¿ÉÖظ´Ö´ÐÐij¸öÃüÁ¼à¿ØÃüÁîµÄÖ´ÐÐ״̬¡£ÏÂÃæÕâ¸öÃüÁî¿ÉÈÃÎÒÃǼà¿ØZ2.logÎļþµÄ´óС±ä»¯¡£
debian:~# watch -n 3 du /home/Jims/zope/log/Z2.log
-n 3±íʾÿ¸ô3ÃëÖ´ÐÐÒ»´Îdu /home/Jims/zope/log/Z2.log¡£
8£®Sysctl
ʹÓÃsysctl -a¿ÉÏÔʾËùÓÐÔËÐÐÖеÄÄں˲ÎÊý£¬ÓÃsysctl -w fs.file-max=10240 ÃüÁî¿ÉÐÞ¸Äfs.file-maxÄں˲ÎÊýµÄÖµ£¬²¢Ê¹²ÎÊýÂíÉÏÉúЧ¡£µ«ÖØÆôϵͳºó£¬²ÎÊýÉèÖûáʧЧ£¬ÒòΪÃüÁîÐÐÖ»ÄÜÐÞ¸ÄÔËÐÐÖеÄÄں˲ÎÊý¡£Èç¹ûÎÒÃÇÒª°Ñ²ÎÊýÉèÖù̶¨ÏÂÀ´£¬¿É°ÑÄں˲ÎÊýдÈë/etc/sysctl.confÎļþ¡£¸ÃÎļþµÄ¸ñʽÈçÏ£º
# /etc/sysctl.conf - Configuration file for setting system variables
# See sysctl.conf (5) for information.
# Controls IP packet forwarding
net.ipv4.ip_forward = 0
# Controls source route verification
net.ipv4.conf.default.rp_filter = 1
# Controls the System Request debugging functionality of the kernel
kernel.sysrq = 0
# Controls whether core dumps will append the PID to the core filename.
# Useful for debugging multi-threaded applications.
kernel.core_uses_pid = 1
9£®Ulimit
ʹÓÃulimit


Ïà¹ØÎĵµ£º

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 ......

Oracle ½Å±¾£¨ÊÊÓ¦¸÷ÖÖÒµÎñÐèÒª£©


1. È¡A±íµÄÊý¾Ý£¬¸üÐÂB±í×Ö¶Î
update  m_build b
set b.district_id=(
  select d.district_id
  from 
    bjhouse.d_district d
  where
    b.build_name_jq=d.district_name)
where exists
  (select 1
  from ......

OracleÊý¾ÝÎļþµÄÌØÐÔ

ÎÒÃÇ´ó¼Ò¶¼ÖªµÀÿ¸öOracleÊý¾Ý¿â¶¼»áÓÐÒ»¸ö»òÊǶà¸öÎïÀíµÄOracleÊý¾ÝÎļþ,Êý¾Ý¿âÐÅÏ¢(½á¹¹,Êý¾Ý)µÄÖ÷Òª×÷ÓÃÊÇÀ´±£´æÔÚÕâЩÏà¹ØµÄÊý¾ÝÎļþ,¶øÇÒÖ»ÓÐÕâЩÏà¹ØµÄÎļþOracle²ÅÄܹ»½âÊÍÓë¹ÜÀíÕâЩ´æ´¢.OracleÊý¾ÝÎļþ¾ßÓÐÒÔÏÂһЩÌØÐÔ:
1.Ò»¸öÊý¾ÝÎļþ½ö½ö¹ØÁªÒ»¸öÊý¾Ý¿â,OracleÊý¾ÝÎļþÓëÊý¾Ý¿âÖ®¼ä¶ÔÓ¦¹ØϵÊÇÒ»¶ÔÒ»¹Øϵ,µ±È»· ......

linux emacs c (Ò»£©

²»À뿪EmacsÍê³É¼òµ¥C³ÌÐòµÄ±à¼­±àÒëÔËÐУ¨×ª£©
£¨1£©´ò¿ªEmacs£¬Ö´ÐÐ
$ emacs
£¨2£©½¨Á¢Ò»¸öеijÌÐòÎļþ. Ö´ÐÐ C-x C-f£¬
È»ºóÔÚÆÁÄ»µÄµ×²¿³öÏÖminibuffer£¬¹â±êÌáʾÄãÊäÈëÎļþÃû³Æ£¬
ÎļþÃû³ÆÒª´øÉϺó׺Ãû£¬Èçhello.cpp¡£»Ø³µ£¬È»ºó¿ªÊ¼±à¼­Ô´´úÂë¡£
£¨3£©±àÒë´úÂë¡£Ö´ÐÐEsc-x compile£¬³öÏÖminibuffer£¬ÌáʾÄãÊäÈ ......

Òƶ¯Linux×ÀÃæMeeGo 1.0·¢²¼






<!--
@page { margin: 2cm }
P { margin-bottom: 0.21cm }
A:link { so-language: zxx }
-->
    ´ó¼ÒÖªµÀ£¬
MeeGo
×ÀÃæµÄ×î´óÌصãÊÇʹÓÃ×ÔÓÉ£¨
free
use
£©£¬²»ÂÛÄãÔÚʲôµØ·½£¨Ê²Ã´¹ú¼Ò£©£¬Ò²²»ÂÛÄãÏëÓÃËü¸ÉʲôÊÂÇé¡£ÄÇô£¬
MeeGo
ÊDz»ÊÇÀ¬»ø´úÂëÄØ£¿µ±È»²»ÊÇ¡£ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ