Author Archives: Sean

修改php支持的内存大小

测试xaraya的时候,安装过程中说运行需要的php使用内存至少为8m。只能修改了。。
 
nano /etc/php5/apache2/php.ini
找到
 
;;;;;;;;;;;;;;;;;;;
; Resource Limits ;
;;;;;;;;;;;;;;;;;;;
 
max_execution_time = 30     ; Maximum execution time of each script, in seconds
max_input_time = 60 ; Maximum amount of time each script may spend parsing request data
memory_limit = 8M      ; Maximum amount of memory a script may consume (8MB)

修改成需要的大小就可以了

AMD再度公开叫阵Intel双内核比试

 再一次,自信的AMD向龙头老大Intel发出挑战,并扬言可以进行公开的现场直播,其信心满满的姿态令Intel只能沉默是金:
 
"新加坡消息:AMD 已向英特尔发出挑战书,准备用自己的双核处理器与英特尔的双核处理器进行基准测试,一决性能高下。如果英特尔接受此项挑战提议,那么这次比试活动将于12月6 日在新加坡这个岛国举行。
 
由AMD 提出的这次双内核处理器比试活动将进行现场直播,公众预计,这次比试的平台将是AMD 当前最好的双内核处理器Opteron 800 系列或是200 系列处理器,与英特尔相对应的Intel x86 商用处理器平台之间的对决。
 
有关这次挑战活动的消息,是上周初被作为广告宣传单夹在当地报纸中公之于众,这也是由AMD 发起的,继8 月23日在美国的挑战活动后的又一次挑战。
 
AMD 东南亚地区销售与市场部副总裁,Bryan Low 在应ZDNet 亚洲记者的电子邮件采访时表示,本次挑战活动的目的就是“给消费者所关心的,相关处理器在计算能力及性能方面的信息,以便于他们能作出最佳选择。”
 
到目前为止,不管是在新加坡还是美国,英特尔都没有正式接受AMD 的挑战。截至发稿时为止,芯片市场的老大英特尔业也没有对事接受采访。"

ps命令

man了一下
-A all processes                      -C by command name
-N negate selection                   -G by real group ID (supports names)
-a all w/ tty except session leaders  -U by real user ID (supports names)
-d all except session leaders         -g by session OR by effective group name
-e all processes                      -p by process ID
T  all processes on this terminal     -s processes in the sessions given
a  all w/ tty, including other users  -t by tty
g  OBSOLETE — DO NOT USE             -u by effective user ID (supports names)
r  only running processes             U  processes for specified users
x  processes w/o controlling ttys     t  by tty
*********** output format **********  *********** long options ***********
-o,o user-defined  -f full            –Group –User –pid –cols –ppid
-j,j job control   s  signal          –group –user –sid –rows –info
-O,O preloaded -o  v  virtual memory  –cumulative –format –deselect
-l,l long          u  user-oriented   –sort –tty –forest –version
-F   extra full    X  registers       –heading –no-heading –context
                    ********* misc options *********
-V,V  show version      L  list format codes  f  ASCII art forest
-m,m,-L,-T,H  threads   S  children in sum    -y change -l format
-M,Z  security data     c  true command name  -c scheduling class
-w,w  wide output       n  numeric WCHAN,UID  -H process hierarchy