linux

linux tools part 4– Monitor process IO state

March 5, 2013 linux, system No comments

iotop是一个类似top的检测process IO 的Python 项目。可以在这里下载到源码,可以在这里找到具体的说明。下面做一个演示:

首先下载源码,要求python version>=2.6

wget http://guichaz.free.fr/iotop/files/io[......]

Read more

linux tools part 3– Monitor process status

February 28, 2013 linux, system No comments

pidstat是一款很不错的针对linux pid状态监控的程序

The pidstat command is used for monitoring individual tasks currently being managed by the Linux kernel.
It writ[……]

Read more

linux tools part 2– network Monitoring

February 27, 2013 linux, system No comments

本来想写一篇关于nicstat的文章,霸爷已经写的非常好了参考这里nicstat 网络流量统计利器

这里说明一下使用nicstat 可以完美替代iptraf ,nload 等工具

同样可以替代watch –命令行模式:
eg:

Every 1.0s: /sbin/ifconfi[......]

Read more

linux tools part 1– Linux Kernel Performance

February 27, 2013 linux, system No comments

Perf is a profiler tool for Linux 2.6+ based systems that abstracts away CPU hardware differences in Linux performance measurementsand presents a simp[……]

Read more

闰月的威胁

June 26, 2012 linux No comments

来自公司SA组的一封邮件

HI All

简单来说Linux kernel低于2.6.18-164且开启NTP服务的server有自动重启的风险
目前我们大多数的server kernel如下
$ uname -a
Linux xen21-vm04 2.6.18-128.1[……]

Read more

LVS introduction

March 20, 2012 Architect, linux, software No comments

What is virtual server?
Virtual server is a highly scalable and highly available server built on a cluster of real servers. The architecture of serve[……]

Read more

HugePages on Linux

January 16, 2012 linux, system 5 comments

Regular Pages and HugePages

This section aims to give a general picture about memory access in virtual memory systems and how pages are referenced.[……]

Read more