Optimization
文章平均质量分 77
千重浪_WaterStone
这个作者很懒,什么都没留下…
展开
-
Kernel monitor and performance tools
To attach strace to an already running process, you need to specify the -p with theprocess ID (PID) of the process that you want to monitor:strace -p `pidof mysqld`To trace only network related转载 2013-10-16 11:41:56 · 758 阅读 · 0 评论 -
Sytem monitor commands and tools
sadc/etc/init.d/boot.sysstat startIf you want to monitor your system about a longer period of time, use sadc to automaticallycollect the data. You can read this data at any time using sar. To st转载 2013-10-16 11:42:58 · 701 阅读 · 0 评论 -
vmstat command
vmstat -a 2vmstat 2The columns show the following:rShows the amount of processes in the run queue. These processes are waiting fora free CPU slot to be executed. If the number of processes i转载 2013-10-16 11:45:19 · 570 阅读 · 0 评论 -
Code optimization summary
1. Arrange the if/switch statements follow the rules of halfman tree. Minimize the unexpected branch call.转载 2013-10-16 11:46:15 · 462 阅读 · 0 评论 -
Ubuntu速度优化相关两篇
引用:http://blog.chinaunix.net/u/30686/showart_2032915.html转载 2013-10-16 11:49:01 · 658 阅读 · 0 评论 -
Linux性能优化
参考日志:http://blog.chinaunix.net/u/30686 几个有用的命令、工具:topoprofile/proc/statmapsstrace转载 2013-10-16 11:49:11 · 531 阅读 · 0 评论