基于上次的nicstat linux还提供了nethogs,可以监控指定pid的具体流量,在这里可以下到源码.
获取过程:
open("/proc/$pid/fd")
open("/proc/net/tcp")
open("/proc[......]
Nmap (“Network Mapper”) is an open source tool for network exploration and security auditing. It was designed to rapidly scan large networks, although[……]
pidstat是一款很不错的针对linux pid状态监控的程序
The pidstat command is used for monitoring individual tasks currently being managed by the Linux kernel.
It writ[……]
本来想写一篇关于nicstat的文章,霸爷已经写的非常好了参考这里nicstat 网络流量统计利器
这里说明一下使用nicstat 可以完美替代iptraf ,nload 等工具
同样可以替代watch –命令行模式:
eg:
Every 1.0s: /sbin/ifconfi[......]
Perf is a profiler tool for Linux 2.6+ based systems that abstracts away CPU hardware differences in Linux performance measurementsand presents a simp[……]
Blog 有段时间没更新了,最近发生了很多事搞得自己身心疲惫。首先公司为这次1221大促准备了很久,后台系统,前端应用都有比较大的变动,最终也是以破亿的销售额皆大欢喜。今年的工作也算告一段落,运维得到了不少的肯定,系统由纯RAC架构变为多维化的架构,包括10月份Exadata的上线,年底MongoD[……]
来自公司SA组的一封邮件
HI All
简单来说Linux kernel低于2.6.18-164且开启NTP服务的server有自动重启的风险
目前我们大多数的server kernel如下
$ uname -a
Linux xen21-vm04 2.6.18-128.1[……]