<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[tkfly0324的专栏]]></title><description><![CDATA[]]></description><link>https://blog.csdn.net/tkfly0324</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; tkfly0324]]></copyright><item><title><![CDATA[Linux运维常用性能监控和调试工具]]></title><link>https://blog.csdn.net/tkfly0324/article/details/53940108</link><guid>https://blog.csdn.net/tkfly0324/article/details/53940108</guid><author>tkfly0324</author><pubDate>Fri, 30 Dec 2016 10:29:40 +0800</pubDate><description><![CDATA[1 nagios

Nagios是一个开源监控解决方案，我觉得他可以监控一切 ，可以看一下我以前的文章：NAGIOS

2 ps#用来查看程序的运行情况

ps -ef |grep svr.py|grep -v grep |awk '{print $2}'#查看svr.py的进程pid号
14554

dongwm@linux-b8lh:~> ps -e -o pid,args ]]></description><category></category></item><item><title><![CDATA[运维不得不知的 Linux 性能监控、测试、优化工具（总）]]></title><link>https://blog.csdn.net/tkfly0324/article/details/53940054</link><guid>https://blog.csdn.net/tkfly0324/article/details/53940054</guid><author>tkfly0324</author><pubDate>Fri, 30 Dec 2016 10:28:16 +0800</pubDate><description><![CDATA[Linux 平台上的性能工具有很多，眼花缭乱，长期的摸索和经验发现最好用的还是那些久经考验的、简单的小工具。系统性能专家 Brendan D. Gregg 在 LinuxCon NA 2014 大会上更新了他那个有名的关于 Linux 性能方面的 talk (Linux Performance Tools) 和幻灯片。
下面的三张图片分别总结了 Linux 各个子系统以及监控、测试、优化这些子系]]></description><category></category></item><item><title><![CDATA[Linux 二进制文件调试命令]]></title><link>https://blog.csdn.net/tkfly0324/article/details/53939947</link><guid>https://blog.csdn.net/tkfly0324/article/details/53939947</guid><author>tkfly0324</author><pubDate>Fri, 30 Dec 2016 10:20:43 +0800</pubDate><description><![CDATA[一、
     READELF
readelf可用来显示ELF格式可执行文件的信息。比如用readelf查看hello.o中的各个Section的结果如下：




$ readelf -S hello.o
There are 15 section headers, starting at offset 0x228:
 
Section Headers:
  [Nr] Nam]]></description><category></category></item><item><title><![CDATA[linux下调试工具]]></title><link>https://blog.csdn.net/tkfly0324/article/details/53939866</link><guid>https://blog.csdn.net/tkfly0324/article/details/53939866</guid><author>tkfly0324</author><pubDate>Fri, 30 Dec 2016 10:20:00 +0800</pubDate><description><![CDATA[工作中常用的linux调试工具，与大家分享
一、lsof 查找系统打开的文件
经典用法。查看进程打开的文件句柄。
案例：我的一个服务进程，运行一段时间后，在64位机器上运行正常，在32位机器上运行不正常。用lsof一看。有打开的文件未关闭，因64位机器默认进程打开文件数是100万，因而没有出现问题。
其他用法。
1、查看某个文件被哪个进程打开。
2、查看某个文件系统被哪个进程使用。
]]></description><category></category></item><item><title><![CDATA[Android 杂项记录]]></title><link>https://blog.csdn.net/tkfly0324/article/details/53908110</link><guid>https://blog.csdn.net/tkfly0324/article/details/53908110</guid><author>tkfly0324</author><pubDate>Wed, 28 Dec 2016 14:24:11 +0800</pubDate><description><![CDATA[1、矢量图 逆时针路径与顺时针路径可以写在一起取异或
2、带有图片的button，图片与文字的间距的设置。textAlignment设置文字的摆放位置，默认取值为gravity。因此设置Buttong的gravity为left则文字就据左。当然也可以修改textAlignment为viewEnd、viewStart等值直接改变文字的位置。]]></description><category></category></item><item><title><![CDATA[Android repo git 分支切换管理]]></title><link>https://blog.csdn.net/tkfly0324/article/details/51924846</link><guid>https://blog.csdn.net/tkfly0324/article/details/51924846</guid><author>tkfly0324</author><pubDate>Sat, 16 Jul 2016 16:02:00 +0800</pubDate><description><![CDATA[方式一：
repo init -b branch-name
repo sync
repo start branch-name --all


方式二：
repo forall -c git checkout -b branch-name


区别及原理后面补充。]]></description><category></category></item><item><title><![CDATA[Refecing Improving the Design of Existing Code reading comments（三）]]></title><link>https://blog.csdn.net/tkfly0324/article/details/9056633</link><guid>https://blog.csdn.net/tkfly0324/article/details/9056633</guid><author>tkfly0324</author><pubDate>Sat, 08 Jun 2013 16:06:41 +0800</pubDate><description><![CDATA[在这本书中作者给出了若干的重构方法，本篇进行进行简单的列举，有时间进行丰富。
   1、Extact Method（提炼函数）
   2、Inline Method（内联函数）
   3、Inline Temp（内联临时变量）
   4、Replace Temp with Query（以查询取代临时变量）
   5、Introduce Explaining Variable（引入解释性变]]></description><category></category></item><item><title><![CDATA[Refecing Improving the Design of Existing Code reading comments（二）]]></title><link>https://blog.csdn.net/tkfly0324/article/details/9056169</link><guid>https://blog.csdn.net/tkfly0324/article/details/9056169</guid><author>tkfly0324</author><pubDate>Sat, 08 Jun 2013 15:06:27 +0800</pubDate><description><![CDATA[Martin Fowler 用坏味道来形容不要的代码，而重构正是针对这些味道不好的代码。这个形容很赞，谁也不想咽下不要味道的东西，那就让我们用重构改变这些坏味道的代码吧。
    坏的味道我们能够用鼻子嗅到，而坏味道的代码我们如何找到呢?Martin Fowler给我们列举了若干坏味道代码的特征。
    1、Duplicated Code (重复代码）
    2、Long Method]]></description><category></category></item><item><title><![CDATA[Refecing Improving the Design of Existing Code reading comments（一）]]></title><link>https://blog.csdn.net/tkfly0324/article/details/9053205</link><guid>https://blog.csdn.net/tkfly0324/article/details/9053205</guid><author>tkfly0324</author><pubDate>Sat, 08 Jun 2013 09:39:32 +0800</pubDate><description><![CDATA[最近读了Margin Fowler 的Refecing Improving the Design of Existing Code，受益颇深，但是碍于自己的急于求成的功利心里，读的不够认真、仔细、踏实。因此今天借这个读书笔记的机会好好温习整理一下。在攻读本书的同时还在看《代码大全二》，从这两本大师级任务著作的书中学不仅学习到了如何对程序进行设计、构建、测试及重构，更多的收获是读书不要功利，要有一种]]></description><category></category></item></channel></rss>