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

eAccelerator for linux Ïê½â

eaccelerator.shm_size
    The amount of shared memory (in megabytes) that eAccelerator will use.
    "0" means OS default. Default value is "0".
eaccelerator.cache_dir
    The directory that is used for disk cache. eAccelerator stores precompiled code, session data, content and user entries  here. The same data  can  be stored in shared memory also (for more quick access). Default value is "/tmp/eaccelerator".
eaccelerator.enable
    Enables or disables eAccelerator. Should be "1" for enabling  or  "0"  for disabling. Default value is "1".
eaccelerator.optimizer
    Enables or disables internal peephole optimizer which may  speed  up  code execution. Should be "1" for enabling or "0" for disabling. Default  value is "1".
eaccelerator.debug
    Enables or disables debug logging. Should be "1" for enabling or  "0"  for disabling. Default value is "0".
eaccelerator.check_mtime
    Enables or disables PHP file modification checking .  Should  be  "1"  for enabling or "0" for disabling. You should set it to "1"  if  you  want  to recompile PHP files after modification. Default value is "1".
eaccelerator.filter
    Determine which PHP files must be cached. You may specify  the  number  of patterns (for example "*.php *.phtml") which specifies to cache or not  to cache. If pattern starts with the character "!", it means to ignore  files which are matched by the following pattern. Default value is "" that means all PHP scripts will be cached.
eaccelerator.shm_max
    Disables putting large values into shared memory by " eaccelerator_put() " function. It indicates the largest allowed size in bytes (10240, 10K, 1M).
    The "0" disables the limit. Default value is "0".
eaccelerator.shm_t


Ïà¹ØÎĵµ£º

[Linux] ¹ØÓÚ Ext4 HowTo

Ò»Ö±ÔÚ¹Ø×¢´óÐÍÎļþ´æ´¢ÏµÍ³µÄ×îнü¿ö£¬½üÈÕÓÖµÃÖªÒ»¸öÖØ°õÏûÏ¢£ºLinux kernel ×Ô 2.6.28 ¿ªÊ¼Õýʽ֧³ÖеÄÎļþϵͳ Ext4¡£ÕæÊÇÆÚ´ýÒѾÃÁË°¡~Ext4 ÊÇ Ext3 µÄ¸Ä½ø°æ£¬ÐÞ¸ÄÁË Ext3 Öв¿·ÖÖØÒªµÄÊý¾Ý½á¹¹£¬¶ø²»½ö½öÏñ Ext3 ¶Ô Ext2 ÄÇÑù£¬Ö»ÊÇÔö¼ÓÁËÒ»¸öÈÕÖ¾¹¦ÄܶøÒÑ¡£Ext4 ¿ÉÒÔÌṩ¸ü¼ÑµÄÐÔÄܺͿɿ¿ÐÔ£¬»¹ÓиüΪ·á¸»µÄ¹¦ÄÜ£ ......

Linux²Ù×÷ϵͳϹØÓÚTopÃüÁîµÄ²ÎÊýÏê½â

TopÃüÁîÊÇLinuxϳ£ÓõÄÐÔÄÜ·ÖÎö¹¤¾ß£¬Äܹ»ÊµÊ±ÏÔʾϵͳÖи÷¸ö½ø³ÌµÄ×ÊÔ´Õ¼ÓÃ×´¿ö£¬ÀàËÆÓÚWindowsµÄÈÎÎñ¹ÜÀíÆ÷¡£ÏÂÃæÏêϸ½éÉÜËüµÄʹÓ÷½·¨¡£
top - 01:06:48 up  1:22,  1 user,  load average: 0.06, 0.60, 0.48
Tasks:  29 total,   1 running,  28 sleeping,   0 stopp ......

ÓÃÈí¼þlm_sensors¼à²âLinuxϵͳºÍCPUζÈ

ÔÚLinuxÏÂÓиö½Ðlm_sensorsµÄÈí¼þ¿ÉÒÔ°ïÖúÎÒÃÇÀ´¼à¿ØÖ÷°å£¬CPUµÄ¹¤×÷µçѹ£¬·çÉÈתËÙ¡¢Î¶ȵÈÊý¾Ý¡£ÕâЩÊý¾ÝÎÒÃÇͨ³£ÔÚÖ÷°åµÄ
BIOSÒ²¿ÉÒÔ¿´µ½¡£µ±ÎÒÃÇ¿ÉÒÔÔÚ»úÆ÷ÔËÐеÄʱºòͨ¹ýlm_sensorsËæʱÀ´¼à²â×ÅCPUµÄζȱ仯£¬¿ÉÒÔÔ¤·ÀºÇ±£»¤ÒòΪCPU¹ýÈȶø»áÉÕµô¡£

1. °²×°lm_sensors

ÏÖÔÚ»ù±¾ÉÏÿ¸öLinux¶¼ÒѾ­ÓÐlm_senso ......

linuxÏÂÇý¶¯µÄÈë¿Úº¯Êý¼°¼ÓÔØ

      ¼¸ºõÿ¸ölinuxÇý¶¯¶¼Óиömodule_init¡£Ã»´í£¬Çý¶¯µÄ¼ÓÔؾͿ¿Ëü¡£ÏÈÀ´·ÖÎöÒ»ÏÂmodule_init¡£¶¨ÒåÈçÏ£º
#define module_init(x)     __initcall(x);              //include\linux\init.h
#define ......

ÔÚLinux C±à³ÌÖÐʹÓÃUnicodeºÍUTF 8

Ä¿Ç°¸÷ÖÖLinux·¢Ðа涼֧³ÖUTF-8±àÂ룬µ±Ç°ÏµÍ³µÄÓïÑÔºÍ×Ö·û±àÂëÉèÖñ£´æÔÚһЩ»·¾³±äÁ¿ÖУ¬¿ÉÒÔͨ¹ýlocaleÃüÁî²é¿´£º
$ locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPE ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ